Hi
As a web design student I have been trying and failing to get to grips with Wordpress, but found MODX a few days ago and think it looks brilliant. I have been going through the equally brilliant video tutorials by Jesse Showalter, but am confusions over just one thing - the MODX workflow. I am used to the idea of local development and migration to a live server, but looking over the web, this appears to be a complex process in MODX. Is this just how MODX is or is there some other workflow?
I came across a comment from one developer who said it was easier to work on the live site and hide everything save a holding page.
Look forward to hearing the community's views. Many thanks.
Su
-
☆ A M B ☆
- 24,524 Posts
Since most of MODX's dynamic content and functionality is stored in the database, it can be complex. There are a few solutions out there. Most of these resources and elements that are stored in the database can also be configured to use static files instead, so something like git can be used to provide the continuity.
The greatest advantage of MODX is its flexibility, the "createive freedom" if you will. At the same time, that is one of its greatest complexities - there is very rarely only one true way to do anything. It's a case of asking three different people and getting a dozen different opinions.
-
☆ A M B ☆
- 24,524 Posts
I have been using Vapor to take a snapshot of my dev site, then install it on my live site. That's a bit drastic, though, as it replaces the entire site with the Vapor installation. I haven't had the chance to look into it, although I've certainly nagged enough about it, but I believe the MODX Cloud snapshots can now be downloaded.
The officially approved way to make snapshots of any site is Teleport, a command-line utility that does much the same thing as Vapor, only a lot more robust and flexible.
-
☆ A M B ☆
- 24,524 Posts
I usually use PhpStorm to test snippets and plugins locally, to write blog posts and new pages, and to test CSS. Then, I cut and paste to the live site. Generally, I don't have a local version of a whole site, just bits and pieces.
Someday, I'll write an extra that lets you upload updates with FTP from your Editor and automatically puts them in place (unless someone else does it first).