Hu Gb

Webfejlesztés

Akciós Moodle könyvek

2011.12.10
A Packt kiadónál akciósan beszerezhetóek a Moodle könyvek. A Moodle egy PHP alapú open source e-leaning alkalmazás. Bővebben informació az akcióról itt található: http://www.packtpub.com/news/moodle-festive-month.
Továbbolvas

Yii 1.1 Application Development Cookbook

2011.10.10
Packt published the Yii 1.1 Application Development Cookbook from Alexander Makarow, a Yii core developer. It contains 80 recipe about the usage of the framework.
I think the book is for developers whose already know the framework a bit and they want to learn more about it. In the first chapter you can read about the not too familiar but useful features of Yii, like the usage of the "getters" and "setters" in the framework. The following chapters covers pretty much everything you need to know:
  • Router, controller and view
  • AJAX and jQuery
  • Forms
  • Testing
  • Database, and the model layer
  • Components, Zii
  • Extending Yii
  • Error handling
  • Security
  • Performance
  • 3rd party librarys with the framework
  • Deployment

I really liked the book and I recommend to read it to everyone who wants to use Yii for web development.
Továbbolvas

HTML5 egyedi attribútumok

2011.08.29
Az HTML5 specifikáció egyik újítása az úgynevezett custom data attributes, mely lehetőséget nyújt a fejlesztőknek, hogy barmilyen data- kezdetű attribútumot adjanak a HTML elemeknek. 
Például:
<a href="test" data-tooltip="Ez a tooltip tartalma" id="tooltip-test">Tovabb</a>
Ha egy tooltiphez szeretnénk a szöveget a html elem valameyik attributumán tárolni a fenti minta alapján megtehetjük. Ezután javascriptüel így férhetünk hozzá az adathoz:
document.getElementById('#tooltip-test').getAttribute('data-tooltip');

Továbbolvas

TextMate save remotely bundle

2011.08.13
Since I have a Mac I am using TextMate for development. My only problem with it was the lack of the remote save feature. But luckily TextMate supports bundles so I thought I will scratch my itch and made a bundle. 
If requires a config file called .remote_config, in the folder of the project which should be something like this:
user: 'username'
password: 'password'
host: 'host'
path: 'path/to/remote/folder'
If this file exists when a file being saved it will upload to the server as well. 
You can download it from here: TextMate save remotely
Továbbolvas

IE6 - 8 Css3

2011.04.27
Egy nagyon hasznos project-el találkoztam nemrég. A CSS3PIE segítségével a régebbi Explorer böngészőkben is használhatunk CSS3 tulajdonságokat. Igaz hogy limitált, de már így is több mint a semmi. A poszt írásakor a támogatott tulajdonságok a box-shadow,border-radius,border-image,multiple-background images,linear-gradient as background image. A használata egyszerű. A CSS-ben megadjuk a használni kivánt tulajdonságokat, majd behaviour-nak megadjuk a pie által használt HTC fájl elérését:
#myElement {
    ...
    behavior: url(PIE.htc);
}
Továbbolvas