Skip to content
onoya.dev
  • PHP
    • CakePHP
  • Docker
    • Docker Swarm
    • Docker Cloud
  • JavaScript
    • ReactJS
    • TypeScript
  • Ruby
  • Editors
    • VSCode
    • Sublime Text
Search
onoya.dev
Menu
  • CakePHP, VSCode

Setup CodeSniffer for CakePHP 2.x in VSCode (Per-Project Installation)

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…
  • onoya
  • March 21, 2018
  • CakePHP, Docker, Docker Cloud

Deploy a Dockerized CakePHP 2.x App with Docker Cloud

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…
  • onoya
  • January 7, 2018
  • CakePHP, ReactJS

Integrate ReactJS to a CakePHP 2.x Application from Scratch

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…
  • onoya
  • January 4, 2018
  • 2 Comments
  • CakePHP, Docker, PHP

Setup CakePHP 2.x Application with Docker from Scratch

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…
  • onoya
  • January 4, 2018
  • CakePHP

Installing CakePHP 2 Using Composer

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…
  • onoya
  • January 3, 2018
  • 1 Comment
  • CakePHP

CakePHP 2 Unit Test Mocking — Prevent assigning different Alias

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…
  • onoya
  • August 27, 2017
Facebook Twitter Instagram
  • Contact
  • Privacy Policy
Copyright © 2023 onoya.dev - Powered by CreativeThemes
  • Contact
  • Privacy Policy
Download