3. What is a Dev/Stage/
Production Workflow?
• One site or project
4. What is a Dev/Stage/
Production Workflow?
• One site or project
• Replicated across separated environments, each
potentially in a completely different state
5. What is a Dev/Stage/
Production Workflow?
• One site or project
• Replicated across separated environments, each
potentially in a completely different state
• Tailored to the team, environment or business processes
9. Requirements for a workflow
that actually works
• Automation
• Automation
10. Requirements for a workflow
that actually works
• Automation
• Automation
• str_repeat(‘Automation’, PHP_INT_MAX);
11. Requirements for a workflow
that actually works
• Automation
• Automation
• str_repeat(‘Automation’, PHP_INT_MAX);
• Accessible to the different stakeholders
12. Requirements for a workflow
that actually works
• Automation
• Automation
• str_repeat(‘Automation’, PHP_INT_MAX);
• Accessible to the different stakeholders
• Easy to rollback
13. Requirements for a workflow
that actually works
• Automation
• Automation
• str_repeat(‘Automation’, PHP_INT_MAX);
• Accessible to the different stakeholders
• Easy to rollback
• Able of dealing with conflicting changes
14. To be able of replicating
environments and automating a
workflow, you need a single
source of truth.
17. How to deal with all of this?
Git!
• Manages state of files
18. How to deal with all of this?
Git!
• Manages state of files
• Can handle conflicts automatically + manually
19. How to deal with all of this?
Git!
• Manages state of files
• Can handle conflicts automatically + manually
• Easy to automate through simple CLI api
20. How to deal with all of this?
Git!
• Manages state of files
• Can handle conflicts automatically + manually
• Easy to automate through simple CLI api
• Can be made more accessible through GUI clients
and services (like GitHub)
21. To be able of replicating
environments and automating a
workflow, the git repository needs
to be the single source of truth.
22. How to deal with all of
this…on a MODX project?
23. How to deal with all of
this…on a MODX project?
• Store assets, custom components and relevant files in git
24. How to deal with all of
this…on a MODX project?
• Store assets, custom components and relevant files in git
• … missing the important bits!
• Content
• Elements (templates,TVs, chunks, snippets, plugins)
• Other information stored in the database
25. How do we get information
in our database into a
format that unlocks the
potential of git?
30. What can Gitify do?
• Write information from the database to files
Gitify extract
31. What can Gitify do?
• Write information from the database to files
Gitify extract
• Write information from those files into the database
Gitify build