default userpic

Development/staging setup?

Vote 0 Votes

Hi,

I'm a long time MT user, but I find the site development process to be cumbersome, and I wondered if anyone had a better suggestion.

I have two MT-powered sites, and I'd like a good way to develop changes to my pages and design, debug them on my laptop environment, and push them live. Here's what I do now:

  1. I make the change to the MT template, using TextMate or Dreamweaver.
  2. I reload the template's page in MT to get the change, then I re-publish the site locally.
  3. I check the change to make sure it looks OK.
  4. Repeat 2-3 dozens of times over the course of changing the site.
  5. FTP the templates to my live site.
  6. Republish the live site to apply the changes from the new templates.

Steps 2-3 take a long time. I'd much rather just change the template, refresh the page in the browser, and have MT get the change, without me having to reload the page in the MT browser client.

Then there's the trouble of replicating everything from the local site on the live site--linking the right template in MT to the right file on the filesystem, having the output files match, having the widgets all work right, etc etc.

What do y'all do to streamline your development process?

Many thanks!

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • First, with 4.2, you can use the Template Preview button to get a look.

    However, for design related changes, I often visit the existing published page and save a copy of that locally. I work on that--editing the rendered HTML/CSS/JS/whatever--to get what I want. Then I transplant those changes into the MT template, and republish.

    Of course, that approach depends upon the kind of changes you want to make--however I think it's typically a good approach unless making major changes. Even adding widgets (or whatever) that you need MT to publish something for, knowing that I've got the HTML/CSS how I need it (with dummy text) makes it easier to get working once I fill in the MT template tags.

  • I don't really modify them much, but I do port a lot of styles over from WordPress (http://www.codemonkeyramblings.com/themes/ if you are interested). What I do is I have an export file that contains only about 3-4 entries in it that test various HTML features like blockquotes, so that when I rebuild the site it doesn't take long at all. If you want, I can post the export file that I use for template testing, or you can just import a subset of whatever blog you are working on into a development installation of Movable Type.

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008