[Wiki] Secure password hash storage and a Yii helper extension
There are many tutorials and examples that show storage of passwords in a table. Often the methods used are substandard and very easy to crack. For example, the "Agile Yii" book's example stores...
View Article[Extension] nested-interval
Hierarchical Data Management in Relational Databases using Nested Interval Node Key Encoding
View Article[Wiki] Rendering a view file in a console application
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files. The simlpest solution i could find was to use a behavior...
View Article[Wiki] Accessing data in a join table with the related models
Sometimes the right place to store application data is in a join table. For example, movie viewers either like or don’t like the movies they watched. Movie viewers CREATE TABLE viewer ( id INT NOT NULL...
View Article[Extension] yii-state-machine
A state machine for Yii, helps keep track of object states
View Article[Wiki] The Comedy of Errors
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction. The missing echo In the view put: <h1>Edit item: <?php...
View Article[Extension] escriptboost
Minify the javascript/css code of your application's assets and pages
View Article[Wiki] Front-end developer's guide
This wiki is a work in progress. This wiki is targeted at developers that are new to Yii and are focusing on developing the front-end of a Yii application using languages such as HTML, CSS and...
View Article[Wiki] Managing constants easily
Problem For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere....
View Article[Extension] manymanyajaxcrudadmin
Giix templates for ajax CRUD code generation of a MANY_MANY Model relationship.
View Article