# |
private |
http://www.dereuromark.de/2011/02/03/useful-php-coding-tips/ - dont use private, use protected instead |
7/3/13, 12:37 AM |
# |
habtm-alternative |
a tactic where you make a model out of the join, for more info check the "What to do when HABTM becomes complicated?" section here : http://book.cakephp.org/2.0/en/models/saving-your-data.html#what-to-do-when-habtm-becomes-complicated |
7/2/13, 10:49 AM |
# |
deepfinding |
Learn more about deep relations using a) Linkable behavior - https://github.com/lorenzo/linkable , or b) bindModel - http://mark-story.com/posts/view/using-bindmodel-to-get-to-deep-relations , or c) adhoc-joins http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find |
7/1/13, 7:45 PM |
# |
acl-alt |
acl-alt is Alternatives to DB based ACL are using a) ini or php acl files (check app/Config/acl.php and acl.ini.php), b) Controller based authorization through AppController::isAuthorized() (http://goo.gl/JFFid), c) custom Authorize adapter |
6/30/13, 5:15 PM |
# |
metric |
http://i.imgur.com/oPYMcoL.jpg |
6/29/13, 4:21 PM |
# |
sequence |
https://gist.github.com/ADmad/5879830 |
6/27/13, 8:00 PM |
# |
neon1024 |
https://github.com/davidyell |
6/26/13, 11:43 AM |
# |
unittests |
http://media.tumblr.com/83ff10216be11cb3c8fcd2fd3d230d45/tumblr_inline_mnzt2ckrie1qz4rgp.gif |
6/26/13, 11:13 AM |
# |
passwordable |
tips and solutions on how to handle passwords in cake: http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/ |
6/25/13, 11:41 AM |
# |
jose-advice |
Don't use ACL |
6/24/13, 12:50 PM |
# |
badint |
using ints to store information that does not have an integer type. Status fields, roles, and enumerable options should all be strings in your database. Yes, this means you should probably be using UUIDs, too. |
6/21/13, 4:12 PM |
# |
urgent |
http://www.catb.org/esr/faqs/smart-questions.html#urgent |
6/20/13, 2:03 PM |
# |
benchmarks |
http://www.techempower.com/benchmarks/ |
6/13/13, 5:13 PM |
# |
benchmark |
try !benchmarks |
6/13/13, 5:13 PM |
# |
stress |
http://www.youtube.com/watch?v=0FomxQcAbeA |
6/13/13, 11:00 AM |
# |
cookie |
http://www.youtube.com/watch?v=nvaE_HCMimQ#t=30s |
6/13/13, 10:59 AM |
# |
advanced |
http://book.cakephp.org/2.0/en/installation/advanced-installation.html |
6/10/13, 12:34 PM |
# |
password |
a good solution to handle the hashed password by auth in 1.3, check the bin for a nice example: http://bin.cakephp.org/saved/57809 |
6/7/13, 6:50 PM |
# |
so |
http://i.imgur.com/dOLkgVR.png |
6/6/13, 2:44 PM |
# |
jshelper |
Forget JsHelper and write jquery (or js lib of your choice) code yourself. |
6/4/13, 12:02 PM |