CMS2 Developer Notes
CMS2 is our web development platform, built on Zend Framework 2 (and in need of updating). ZF2 is used in conjunction with a few other components, such as Symfony.
We use a LAMP stack - the basic hierachy looks like this:
- Debian (Linux)
- We use Vagrant (with Parallels) to create a Debian virtual machine for development. The MyCMS2 Toolchain project helps us set up and manage this VM.
- Apache2 (Web Server)
- Apache2 has a bunch of website configuration to serve the sites. For development, we use some Grunt scripts inside the MyCMS2 Toolchain to make managing and updating these easier during the development process.
- MySQL / MariaDB (Database)
- Database modelling is done via the ZF2 models. We use some scripts to help generate the required SQL changes when the model changes, and manually run those on the database.
- PHP (7.4...)
Vagrant
Notes for using up Vagrant + Parallels Learn more
CMS2 Toolchain
Grunt scripts and tools to help manage CMS2 development Learn more
Cheat Sheet
Quick cheat sheet codes... Learn more
Setup Existing Website for Local Dev
Clone an existing website from our github repo and set it up for local development. Learn more