So this is more a call for help than my usual blog post. In the past I have been confined to simple (well I say simple) projects that generally run on WordPress and can be easily deployed using Git and DB management, config management etc is fairly easy. Recently I’ve been working on something MUCH bigger. Although everything is stored in Git SCM I find myself struggling a little bit on how to manage caching setup, database setup and other little bits and pieces.

Now some have suggested build scripts or environment variable based stuff similar to a rails app. I still don’t know what the best thing to do is. I need to get a grip on the following:

  1. Database config: Obviously Dev/Staging/Live all have different databases; what’s the best way to manage the config of these so each app points the correct database? Currently my database.php is outside of SCM which seems a little stupid (In my case no authentication information is stored in here as it’s all Windows Authentication).
  2. Database migrations: Another tricky one, not only do I have a schema to manage which is fairly easy to do using the Cake schema tools or the CakeDC Migrations Plugin but I also have my base data that needs to be managed/synced. Just what is the best way to do this??
  3. Application config: This boils down to 2 things really for me. Cache settings and debug settings. Again I have this outside SCM but there must be a better way of doing it?

So my question is simple, what would you do? How exactly are we supposed to handle deployment of these more complicated applications in a multi-server environment?

3 thoughts on “Proper big boy applications and deployment

  • Will – maybe something I can help with. Can set you up with a nice system that does all this for you. My rates are reasonable 🙂 Check out the website or send an email.


    • Hello mate it’s actually your articles around Chef etc that I was reading when I was thinking of this article! It’s a day-job project and there isn’t really a budget but would be happy to buy you a beer or several at the next CakeFest if you can spare some time for a IRC chat or Google Hangout?


  • Maybe this will help? I realize it is aimed at WordPress, but perhaps it will offer some insight. Jason leads the PHP group that I attend. I’ll see him tonight if you have questions and want me to ask.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Mojowill Avatar

Who the Hell am I?

I'm Will, a full time web developer, geek and musician. I develop using PHP and MySQL and spend most of my time working with WordPress or CakePHP. When I'm not buried in code I'm gaming, cooking or writing and recording music in my studio. I like sci-fi, pancakes and coffee and am totally prepared for the zombie apocalypse...

Stalk me on these other sites...

Why not be super creepy and check me out on all these other sites, I think they call it social media?

%d bloggers like this: