I have recently switched my code editor from Sublime Text 3 to Visual Studio Code (VSCode). Here I’m going to share how I integrated PHP CodeSniffer with CakePHP 2 standards. Before I’m going to proceed, I just want to let…
IMPORTANT!Cluster Management in Docker Cloud has been discontinued on May 25. Therefore, instructions below won’t work anymore. I’ll be creating a new article on how to deploy your app in Digital Ocean using Docker Swarm. So stay tuned! In this blog…
This is a basic integration of ReactJS into a CakePHP 2.x application. Before we start, make sure you already have a running CakePHP 2.x application. If you don’t have a running CakePHP app, you may clone this basic CakePHP 2.x…
This is a basic setup of CakePHP application (specifically for version 2.x) with Docker. There are a lot more things you can do with Docker. This article is to help you get started. You may download the final result of…
So I was trying to update and refactor a legacy code that I was working on which used CakePHP 2. I also have to update the CakePHP version since it was really outdated. The first approach I took was to…
Problem: Mock If you have tried Mocking models, you might have encountered some problems especially for models that have Associations. One of those problem is, when you mock a model, it assigns an alias. For example: model User will become Mock_User_b13d6ac9. That will cause…
How to set a different Syntax for same file type that belongs to different directory using Sublime Text? There are times we would like to set a specific syntax for files inside a specific directory in Sublime Text. For example,…