CakePHP and Tree structures

38

Some of you might alread have worked with the TreeBehavior to generate nested categories or something like that. In most cases we just want to have two or three levels and some hierarchic structure using parent_id. But trees can do…

IRC CakePHP Channel

1

Introduction IRC (internet relay chat) is a text based chat system that is fast and yet powerful. Many online groups (as CakePHP) use it for semi-synchronous communication (unlike google groups, SO or asynchronous communication channels). I must admit that I…

CakePHP Tips

4

All new CakePHP tips collected over the last few weeks. Dispatcher execution order Tested on Cake2.3RC: APP/webroot/index.php CORE/bootstrap.php APP/Config/core.php APP/Config/bootstrap.php dispatchers defined in CORE bootstrap APP/Config/routes.php APP/Config/database.php controller and all the rest It is important to know that the dispatchers…

CakePHP and SEO

8

I do have to admit that in the past I never really paid too much attention on SEO (Search Engine Optimization) or how search engines treat my sites in general. This can be quite a pitfall and cost you quite…

CakePHP and HTTP/1.1

2

Most probably didn’t even know that Cake internally switched from HTTP/1.0 (cake1.x) to HTTP/1.1 (cake2.x). While most changes regarding the new specification are great, they can also break existing functionality, of course. New features With the new protocol there are…

Localized number formats for forms

2

Often your language is not english and therefore the locale settings for decimals are not . for decimals and , for thousands, but the opposite, for example. If you do not allow localized input/output in your CakePHP apps it often…