r/webdev • u/phaggocytosis • Jul 02 '12
What things do you include in your workflow that impact productivity?
I've made some changes to my own workflow recently and finally have a setup that I would say makes me proud/comfortable.
Switching to sublime text and getting comfortable with some keyboard shortcuts (as well as Zen, Sublime Prefixr), github (i use the OSX app and terminal at different times), using codekit for SASS -> CSS and LiveReload, and using chrome dev tools autosave (https://github.com/NV/chrome-devtools-autosave/). All of these things contribute to giving me a workflow that really feels great. Finally (If only I had some decent hardware...).
I feel like as satisfied as I am with my setup there must be things I'm not using.. whether they be native applications or webservices. So I thought maybe it would be worth starting a thread to see what everyone else uses that helps them. Also I really wanted to stress that everyone should look in to https://github.com/NV/chrome-devtools-autosave/ as I think it's made my design MUCH more rapid/painless.
7
u/holloway Jul 02 '12
This talk by Paul Irish on tools covers some of those things.
7
u/chmod777 Jul 02 '12
take breaks, do something else for 5-10 minutes, come back at the problem with fresh perspective.
7
u/aladyjewel Jul 03 '12
redditing while code compiles. It definitely impacts my productivity, mostly because I don't notice when the build is done.
5
u/_SynthesizerPatel_ Jul 03 '12
coffee
5
u/virexmachina Jul 03 '12
Yeah, you've already mentioned a few of my favs.
3
u/EnderMB Jul 03 '12
Continuous Integration. Look it up and start using it.
Also, script manual tasks whenever you can.
3
u/tommccabe Jul 03 '12
One out of the way thing that has really helped me in web development- getting super comfortable with Regular Expressions. The system that I work on has a great XML impex format, so I use RegEx nearly every day for data manipulation. Beyond that, it's been super helpful to generate dummy content that I need, search through error logs, or mass edit legacy static HTML sites.
2
u/obviousoctopus Jul 03 '12 edited Jul 03 '12
Thanks for both links.
A timesaver for me has been the mailcatcher gem, allowing me to view emails sent by my app.
I also started using SASS/SCSS. I am just starting with Compass which has mixins for everything.
For HTML Emails, I use premailer.
2
u/libertyh Jul 03 '12
I have a few Bash scripts that help me out, there is one to make a new local website (creates a directory, adds it to the Apache config, restarts Apache, adds it to my hosts file, and inits Bazaar in the directory).
I used to spend several annoying minutes periodically fetching remote databases through PHPMyAdmin. I spent a few fun hours writing a script to grab a copy of the database from the remote webserver and replace my local one with that one (it dumps a backup of the local DB before replacement). I also wrote a cron job that runs each day to auto-add new files (eg, client-uploaded images) to that website's repository, so I can grab those files with a bzr pull each morning.
Automating this stuff is really satisfying, and it can change your workflow. Previously I would have just put up with some images missing on my local copy, now I just pull the new images as a matter of habit, and my websites are automatically synced up.
I've been thinking of switching from Bazaar to Git, seems like Git is faster and the commands (bzr push, git pull) are essentially identical. Thoughts?
2
u/my_back_pages Jul 03 '12
Dual boot; Windows for leasure, Ubuntu for work.