zen of coding

CakePHP

The State of PHP MVC Frameworks in 2017 (Laravel, Symfony, CodeIgniter, CakePHP, Zend)

A simple question prompted me to sit down and write this follow up to my article from about a year ago. Q: Any thoughts about where things are today? (2/24/2017) A: “I’d say it’s pretty much down to Laravel and Symfony at this point; when it comes to PHP frameworks.[…]

Read More »

CakePHP 3 … the app is mature (step 6 — Controller, JSON testing and a little more…)

(Get the app code on github.) Ah, after a few lengthy days of work, we have arrived at the conclusion of our development efforts. In the last post I have done a little recap of the things accomplished so far. And here, as promised, I am going to piece everything[…]

Read More »

CakePHP 3 … fully grown (step 5 — Model layer and testing)

(Get the app code on github.) Finally we are at the point where some interesting things are about to happen. Let’s recap a little so far: I’ve got CakePHP 3 installed and ready to build our first app. I’ve setup necessary plugins to aid my development and have added some[…]

Read More »

CakePHP 3 … growing up (step 4 — it’s AJAX time)

(Get the app code on github.) Taking a look back at where I have left off, it’s time to start working on the interactive part of our application. It should come as no surprise that most of the actions taken in the app will be AJAX-based. In other words, submitting[…]

Read More »

Cake3 … baby steps (step 3 — let’s get to work, front-end preparation)

(Get the app code on github.) In part 1 and part 2 of these mini-series, I went over the basics of installation of CakePHP 3, as well as setting up the initial database and table for our application. Now that the data modeling part is done :), it’s time consider[…]

Read More »

CakePHP 3 – DebugKit, where are you?

Debug Kit, one of the most awesome plugins for CakePHP, is now installed by default with the cake core. However, I recently setup a brand new Cake 3 app, and DebugKit was nowhere to be seen in my app. What gives? Checking all the usual suspects, like making sure debug[…]

Read More »

Cake3 … baby steps (step 2 — setting up)

(Get the app code on github.) Now that we have cake installed, and our fresh application is up and running, it’s time to setup some things and prepare for development. I am going to use good ol’ MySQL for my DB, so first of all I need to create a[…]

Read More »

Cake3 … baby steps (step 1 — getting started)

(Get the app code on github.) With the recent announcement of CakePHP 3 (beta 2) being released… it is really tempting to see where we are today. And oh boy… how things have changed. First things first, let’s get a hold of our the latest cake core and setup our[…]

Read More »

CakePHP and jQuery auto-complete revisited

CakePHP 2.3 jQuery 1.10.2 jQuery UI 1.10.3 I’ve realized that my old post about jQuery auto-complete and cake is still pretty popular, but hopelessly outdated. Therefore, I figured it would be a good time to revisit that old post and give it an update. We’ve come so far! A lot[…]

Read More »

Easy CakePHP logging to FireBug with DebugKit and FirePHP

CakePHP 2.x This is espeically useful when you are working with ajax or just in general you don’t want to dump the data to the screen, which is often hard to read. Using FireBug and FirePHP and CakePHP is pretty nicely detailed here. Presuming all of that is working well,[…]

Read More »
%d bloggers like this: