- StyleCi
- TravisCi
There is a server side application that interfaces with a client side application through an API.
There is a common code base on the server side to handle code that is shared between two or more client side applications.
Every customer has its own sub domain and instance of a common code base on the server side.
Any functionality unique to that customer is contained in its own code base.
Schema Example
# Single repo common to all customers
customer1.zero-to-prod.com/api/cms # For common client side CMS
customer1.zero-to-prod.com/api # For client side application
# Single repo unique to a single customer
customer1.custom.zero-to-prod.com/api/cms # For unique customer requirements
customer1.custom.zero-to-prod.com/api # For unique customer requirements
-
The root directory for models is
app/Models
-
All slugs use
_
- All URIs use
-
- All URIs use
-
A helper function is to be in its own file with a matching function name.
Example filename:
helper_function.php
Example function:
<?php if(!function_exists('helper_function')){ function helper_function(){ return true; } }