Introduction and background Let’s start with some background story on this topic. One of the parts of the CakePHP framework I like the less is the authentication and authorization. There are a few reasons why. For example the authentication and authorization. Firstly both authentication and authorization have been married through the AuthComponent, secondly the component […]
Tag: php
Using Robo to automatically trigger unit tests while developing
Robo is an excellent php task runner, similar to NodeJS Gulp. I was looking for a pure php alternative to Gulp for my php projects and I simply prefer to have a tool chain written in the same language if possible. Also I found the code to be a lot better manageable than using Gulp. So here […]
Working with CakePHP 3.0 Entity objects vs CakePHP 2.0 arrays
CakePHP3 finds will now return a ResultSet object that contains entity objects, one per records. You’ll have to work with these objects now instead of arrays. This is the official description of them: Cake\ORM\ResultSet – A collection of results that gives powerful tools for manipulating data in aggregate. Cake\ORM\Entity – Represents a single row result. […]