HTML, Markdown or BBCode?


Or something different? Or just plain text maybe? "User input is hard" There are pretty prejudiced blog posts in favor or against the usage of BBCode for blog posts, comments etc. Here for instance – continuing on this second post….

CakePHP flash messages 2.0


This is a topic often discussed. What is the best approach? While I might not have the best, I sure have a fully working one since 2008 and CakePHP1.3. I still use it in all 2.x apps. It is easy…


Update your Server to PHP5.4+


With many new features and more speed it makes sense to upgrade to PHP5.4. It is also a requirement when you start using CakePHP3.0 (the dev releases) or code that contains short array syntax. So the sooner you upgrade the…

Generating PDFs with CakePHP


The recommended approach is to use the CakePHP plugin CakePdf for this. With that plugin it is "a piece of cake" to output HTML views as PDF or render them to files for download/emailing etc. You can obviously just use…

Using Composer


There are quite a few good articles on this topic, already. Especially on how to leverage it for CakePHP projects. See using-composer-with-cakephp-2-dot-x or maybe installing-cakephp-with-composer So I won’t go into detail too much. It is worth noting that composer really…

Continuous Integration with Jenkins


CI with Jenkins and GitHub is especially interesting for private repositories, as CI with Travis is mainly for free GitHub repos (unless you have Travis Pro, of course). But since Jenkins is OpenSource and free, it might make sense to…

AJAX and CakePHP


I don’t know why I didn’t post about AJAX earlier. It is probably one of the topics that most don’t really know how to approach. The docs don’t say much about it, and so many try to rely on (outdated)…