With a focus on CakePHP application development. Authentication vs Authorization Those two are often confused. So here a little preface: Authentication always comes first. It is about whether you are logged in or not. At this point it is not…
Tag: CakePHP
Why CakePHP?
A Xmas post from Germany. My last 6 years with CakePHP I am now with CakePHP for over 6 years (wow.. time goes by!), the second half of it as core member. I started with it back in the days…
UTF8 can be tricky – especially with PHP
Everybody uses (or should!) UTF8 these days. An easy and fully supporting PHP version I did not come across yet, though. It seems there is sometimes more to it. This article is supposed to guideline the basic setup of a…
All new CakePHP Tips Summer 2014
For CakePHP2.x Awesome CakePHP Check out this all new awesome CakePHP list: awesome-cakephp Star it, fork it, enhance it 🙂 Note the cake3 branch that will proabably soon be filled rapidly with all new shiny CakePHP3 resources and plugins. There…
CakePHP 2.5 arrived + CakePHP Tips 2014
You probably read my last tip sections. And I started to move some of them to my sandbox app. But once in a while it might also be nice to publish a few selected tips, here as well. Oh, and…
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)…