Easy HTTP Authentication using CakePHP 1.2
CakePHP 1.2 has HTTP basic authentication added to Security component which can be added to the controller using the following line in code in the following line of code var $components =...
View ArticleCakePHP support in NetBeans
NetBeans is a very powerful development environment for many languages including PHP. With the release of its latest version, NetBeans announced full support for symfony PHP framework. NetBeans can...
View ArticleCakePHP debug in NetBeans
Debugging code can be the most vital task a developer required to do. Debugging makes it easy to find logical errors in code. NetBeans supports PHP debug using xdebug, but in CakePHP it is hard to...
View ArticleQuick tip: Get element content within the controller in CakePHP
This is an easy quick tip to able able to get an element’s content from within a controller in CakePHP 1.2 or 1.3. The trick is simple you just need an instance from View class to be able to use its...
View ArticleCakePHP 1.3 helper auto-complete in netbeans
CakePHP 1.3 introduced a new way to use helpers. This was added to prevent confusion between helper variables and local variables added to the view file. You can access helper methods in a view by...
View Article