ez projects / ymcebootstrap
|UNIX name||Owner||Status||Version||Compatible with|
ymcBootstrap for eZ Publish adds functionality aimed at developers:
How to use:
1. Patch eZ Publish
a) Modify your eZ Publish kernel according to your needs.
b) In the shell, determine the current timestamp:
c) Change the following constants and settings to the current timestamp:
d) Go to eZ Publish's root directory and run
... which will create a list of all modifications as patch files in folder /extension/ymcBase/patches.
e) Distribute the contents of /extension/ymcBase via your version control system to other servers.
2. Database modifications
a) Increment the constant ymcBase::RELEASE by 1
b) Create a new private static method that executes your database changes. Example:
c) Add your functions and the conditions to be matched to
Note: This module is subject to further development.
3. Deploy improved eZ Publish versions
a) Upgrade servers using your version control
b) On each server, go into eZ Publish's root directory and run sh extension/ymcbootstrap/bin/upgrade.sh
Note: Your system will be unaccessible unless you execute upgrade.sh!
Improves the built-in audit log mechanism by diverting audit logs into the database, rather than writing them to the file system. This allows for retrospectively inspecting user behavior and content change in the backend (without shell access).
Note: ymcClusterExtension (not published yet) will add some corresponding views to the admin interface.
Improves the built-in audit log mechanism by diverting audit logs into the database, rather than writing them to the file system. This allows for inspecting the system's actions in the backend without shell access.
Note: ymcClusterExtension (not yet published) will add some corresponding views to the admin interface.
Features some additional logging capabilities:
Supports global availability of often needed PHP functions. To use this, add such functions to /extension/ymcbootstrap/classes/ymcbase_functions.php. Upon distribution of this file to the relevant servers, the needed functions will be globally available, thus rendering includes obsolete.
Example: Try out ymc_pr, a wrapper for print_r, which makes debug outputs more comfortable.