Josh Koenig, Co-Founder & Chief Strategy Officer Reading estimate: 3 minutes
Cowboy Coding Nostalgia
Working on-server is how most website developers start; the classic “cowboy coding” approach of making changes in production on a live running website, where every update is immediately visible, and one syntax error can bring the whole thing down. Everyone agrees that this isn’t the best idea, but let’s not forget that developing on production does have a number of benefits:
Immediately see and share the results of your work online.
No need to hassle with local development stacks, virtualboxes, or the like.
Confidence that your code works in production.
Ability to directly collaborate with other developers.
None of these is worth the stress of crashing the site with a typo, or the confusion of coming back to a project after a few months off with no record of your changes. But… those are still pretty awesome advantages.
What if you could have it all? With Pantheon’s ability to support on-server development, plus the addition of Multidev—a feature-branch workflow for multiple developers to collaborate—you can enjoy all the benefits of cowboy coding while avoiding the hazards.
There’s a reason it’s so popular.
Set up my @phpstorm integration with @getpantheon last night. It's just awesome.
— Daniel Rose (@dani3lr0se) August 13, 2015
@dani3lr0se @getpantheon I love Pantheon for Drupal sites but we have multiple developers working on them. Multidev is my favorite feature.
— Kristen Pol (@kristen_pol) July 25, 2015
I ❤ @getpantheon's multidev enviros :) #wordpress
— Dan Beil (@add_action_dan) May 27, 2015
Need to copy a site for the client to play around on for a training today. Approx. 5 seconds to set up multidev with @getpantheon. #awyiss
— Autumn Welles (@amwelles) April 21, 2015
Another day another example of how @getpantheon's multidev saved my bacon and sanity. Test test test!
— Anthony Della Camera (@anthonydc) March 25, 2015
I might be toooo excited by @getpantheon new developer features. Branching Multidev environments, for free? WHY YOU GOTTA MAKE MY JOB EASY?
— Duran Goodyear (@alphex) February 19, 2015
@mstoli Vs DIY no-brainer, unless you need fine control of the server why bother? Simple git workflow and multidev for teams are amazing
— Chris Teitzel (@technerdteitzel) October 2, 2014
@outlandishjosh @dani3lr0se @phpstorm @getpantheon cowboy coding requires a cowboy hat - I'm ready #yeeehaaaa pic.twitter.com/4CY3xtKQog
— mortendk (@mortendk) August 19, 2015
Since the very beginning, Pantheon has offered a unique feature: the ability to safely use both a “local git push” or the “on-server development” style of workflow via SFTP. You can choose to push code to Pantheon, or work online, turning your changes into Git commits via our dashboard:
Image
This is great because it means:
Developers can use Pantheon to ramp up on version control without having a big learning curve. That makes getting the whole team onto best practices much less of a slog.
You can debug directly against the platform if something isn’t working right. Way better than speculatively committing locally and pushing code up to see if it fixes something.
The team gets the fastest-possible data sync operations to freshen or prepare their development environments. Less time waiting is more time doing.
Every development environment is a fully operational website that can be easily shared with other developers or stakeholders for help, feedback, input or approval. No more black boxes.
It’s nice to be able to noodle quickly on your desktop, or to get work done on an airplane, but it’s even nicer to be able to share your work immediately with colleagues and stakeholders, and know for sure they will be able to integrate and deploy your changes when they’re ready.
I think on-server development is currently under-valued. Nobody wants to go back to the bad old days, but trying to do everything on your local machine is probably an over-reaction. Our experience working on large projects with diverse teams has shown that standardization, speedy workflow operations, and easy collaboration are game-changers, and in some cases can only be delivered with an online solution.