CakePHP 0
November 09, 2019
This post is a first one to cover CakePHP commands for setting up a project. I am not sure how to document this in the right/best way, so I am `starting` - the first right thing to do - and will see how this takes shape. GitHub repo or gists would be linked wherever applicable. Consider this CakePHPFristPost (frist = first; for those who don't know, you don't know). #CakePHP_0 (the prerequisites) 1. You should have a DB setup (this is not going to be a beginner level series) and hostname, db name and db credentials should be handy. Default values used in examples/samples would be hostname=localhost, db=cakephp, username=jd, password=jd 2. Composer should be installed (globally) : Google for installation instructions 3. Ubuntu : At the time of writing this (Nov, 2019) 19.10 is out, I am using 19.04 and last LTS version available is 18.04 and either of these can be opted for development. Anything older than 18.04 would also work, any dependencies or issues comprising because of compatibility of OS would be your cake to digest. If you do not have Ubuntu setup, then please use a VM to set it up (VMware player, virtualbox, workstation are some popular VM tools), or use Docker (this will feel more advanced if you are already NOT familiar with VM and/or Ubuntu, but this will make things much simpler for ongoing development). 4. CakePHP 4.x is not yet out of development pipeline, hence 3.x latest version would be used (3.8 at the time of writing this). Although 4.x would work as well, I have not explored it yet (on that note, I haven't explored 3.x either - this is a learning moment for me that I am trying to document so any problem that you face might be worthy sharing considering I might also be struggling with the same one). 5. Git : Use any git provider - GitHub, BitBucket, Gitlab, GCP source repo or anything else for that matter - this would be otherwise optional, but I heavily use git (GitHub + Gitlab + GCP source repos) so a lot of my planning/managing code involves switching branches for different reasons (even for testing something small, or even a full fledged project on a branch) so if you are seeing this and would potentially would follow through other posts/series, then be ready to work in a git-enabled setup. If you don't know git or are not comfortable with (g)it then, seriously - are you living under the rock? Stop here, Google/GitHub/Medium/Documentation/Tutorial - whatever floats your boat - and then continue. You will thank yourselves. 6. Apache is the web server that I would be using. There is Nginx and probably other servers that can be used, but I feel more comfortable to use this for local development, and since most of the common hosting solutions have Apache as the default version so less configuration changes to debug. 7. Visual Studio Code, VS Code, is the editor (it gives major IDEs a run for their money) that I would be using for development (setup, screenshots, videos etc). A good editor, configured right, is a tool that is often under valued, and this will be addressed in some posts.  
Before you would have read and setup above, next post would be up to start CakePHP installation (start, not finish). Have a system ready with following and let's roll
  1. Ubuntu - OS
  2. Apache - Web server
  3. MySQL - DB
  4. PHP 7.3 (Duh!!)
  5. Composer - Dependency manager
  6. Git - Version control
CakePHP 0 concludes On a second thought, if you are here reading about CakePHP, you should have almost everything setup already, never mind.  
2026