Getting from point A to B (the right way)
October 11, 2007 12:59 PM Subscribe
I've got the skills and knowledge, mostly, but I'd like to get a better workflow with PHP/MySQL development.
Right now, this is my process:
- Design DB schemas in phpMyAdmin
- Code PHP using jEdit, using the FTP plugin to directly open and save files to a Dreamhost server.
- Use CodeIgniter as a general framework.
- Occasionally do manual backups of all my sites.
This is the workflow I use for moderate web app development as well as client sites. Now, this works, actually quite well right now. But I'm thinking that directly editing files using a FTP client, on live sites, isn't as robust as I'd like. I get server timeouts every once in a while, and there's no versioning set up for my development projects.
I'm interested in how a one-man-shop like myself would use SVN, or perhaps another web host (I'm on the queue for SliceHost, and Pair Light sort of caught my eye... if anyone has suggestions in that area, they are certainly welcome) to improve his/her workflow. I especially don't understand svn at this scale. The SVN copy is inactive on the web... I checkout and checkin files? Also, would most people like me have a development atmosphere on their main desktop (LAMP, etc), or a separate development server, or a shared development server?
Essentially, I'd like to put in a little time and effort to optimize the work that I'm doing right now. Thanks for any help on any of these points.
posted by tmcw to computers & internet (15 answers total) 18 users marked this as a favorite
Basically, subversion makes it easy to have your development work done in another location, and it keeps a log of all of your changes so that you never lose a bit of source code or a binary file because they're all logged on your subversion server and you can just step back. Also, if you're working on your desktop, you can make seriously large changes like removing whole subdirectories without fear that you're going to mess up a live site user's experience.
Using something like Trac will allow your customers to submit bug reports, and then you can fix the bug and denote when it was fixed and what revision so that if a revision breaks a site, you can just roll it back.
posted by SpecialK at 1:11 PM on October 11, 2007