jmeco Reply #1, 3 months, 2 weeks ago
Hello,
We use modx for a web application with a lot of custom code in snippets, plugins, external files containing models classes. The site is currently in Evolution 1.0.5. At the beginning we put lots of code in Snippets, but know we put more code in external file to reuse more efficiently the code.
We are in the process to migrate to 2.2.0
Evolution was a pain in the ass to work with a proper workflow. We could never do
dev env -> test env -> prod using git and Continuous Integration tools.
We code with phpStorm by creating files with the same name as the elements and copy/paste in the manager the content. So we can version control thoses files but they are not the real code which reside in the DB.
When we want to move code from a test env to prod, we dump tables in the database that contains the code (mainly site_ tables + few others) and rsync the content under /assets
It is far from perfect. We want to move to an automated provisioning of test env (using Puppet) and an automated deployment in production.
From my understanding of Revolution, those features are part of the solution to enhance dev worflow:
How can we use those features/tools to improve our workflow (ideally removing any db dump) ?
We use modx for a web application with a lot of custom code in snippets, plugins, external files containing models classes. The site is currently in Evolution 1.0.5. At the beginning we put lots of code in Snippets, but know we put more code in external file to reuse more efficiently the code.
We are in the process to migrate to 2.2.0
Evolution was a pain in the ass to work with a proper workflow. We could never do
dev env -> test env -> prod using git and Continuous Integration tools.
We code with phpStorm by creating files with the same name as the elements and copy/paste in the manager the content. So we can version control thoses files but they are not the real code which reside in the DB.
When we want to move code from a test env to prod, we dump tables in the database that contains the code (mainly site_ tables + few others) and rsync the content under /assets
It is far from perfect. We want to move to an automated provisioning of test env (using Puppet) and an automated deployment in production.
From my understanding of Revolution, those features are part of the solution to enhance dev worflow:
- Transport Package
- Static Elements (revolution 2.2.0)
- New CLI installation/upgrade (revolution 2.2.0) http://rtfm.modx.com/display/revolution20/Command+Line+Installation
- VersionX 2
How can we use those features/tools to improve our workflow (ideally removing any db dump) ?
