2 otherwise independent Cakephp applications are to share some mostly presentation related resources, e.g.
- CSS files
- Javascript files
- Custom Helpers
- Elements
- Layouts
For the helpers, it would be sufficient to create a plugin that can be used in both applications. But I could not figure out if there is a way to share application-wide layout and css files for example?
Theme:
Plugin:
If you are already using a theme, you can make a plugin with the assets and use it like
You can bundle it as a standalone plugin and use git submodules to include in various projects.