SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Wizard mPeror's Avatar
    Join Date
    Mar 2005
    Location
    Saudi Arabia
    Posts
    1,724
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Portable development envrionment?

    Hi,

    I was wondering if it's possible to setup a portable development environment that I could use both on my desktop and laptop (with version control), regardless whether I'm working online or offline.

    I'm working on a pretty big PHP/MySQL project, and I keep switching between my desktop and laptop since I work on it most of my time. And constantly moving files between the two machines would be time consuming.

    Any ideas?

    Appreciate your help

  2. #2
    Coding and Breathing CoderMaya's Avatar
    Join Date
    Feb 2008
    Location
    Atlit, Israel
    Posts
    470
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why not create a small program in (choose desktop language) that would do it for you automatically as you run it?

    Or alternatively, you can set your WWW Root to a USB key drive and work on the files in that USB disk.

  3. #3
    Spirit Coder allspiritseve's Avatar
    Join Date
    Dec 2002
    Location
    Ann Arbor, MI (USA)
    Posts
    648
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could set up subversion on a server (or on your laptop/desktop) and checkout/update changes when you switch. That way, both computers will be kept in sync.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2006
    Location
    England
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I do for college is get my USB drive install XAMMP lite on it and use that

  5. #5
    SitePoint Guru
    Join Date
    Nov 2003
    Location
    Huntsville AL
    Posts
    689
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Consider using vmware to create a virtual machine with your development environment installed. Store the image on an external usb drive and off you go.

  6. #6
    SitePoint Guru whisher's Avatar
    Join Date
    May 2006
    Location
    Kakiland
    Posts
    732
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi.
    You could also take into account
    http://pampa.phpsoft.it/
    You can hold your script just in a usb pen
    Bye.

  7. #7
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by allspiritseve View Post
    You could set up subversion on a server (or on your laptop/desktop) and checkout/update changes when you switch. That way, both computers will be kept in sync.
    I tend to agree with this. Not a problem to have multiple versions of the project in different environments if you stay reasonably close to head on both of them. You actually get the unintended hidden benefit of knowing your project works from those different environments as well.
    Jason Sweat ZCE - jsweat_php@yahoo.com
    Book: PHP Patterns
    Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
    Detestable (adjective): software that isn't testable.

  8. #8
    SitePoint Wizard mPeror's Avatar
    Join Date
    Mar 2005
    Location
    Saudi Arabia
    Posts
    1,724
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by allspiritseve
    You could set up subversion on a server (or on your laptop/desktop) and checkout/update changes when you switch. That way, both computers will be kept in sync.
    Sure, if we were talking about PHP code that would be fine. But what about Database changes for example? can I commit those to SVN as well?

    Quote Originally Posted by 01706
    What I do for college is get my USB drive install XAMMP lite on it and use that
    I'll see how that works for me. Thanks.

  9. #9
    Spirit Coder allspiritseve's Avatar
    Join Date
    Dec 2002
    Location
    Ann Arbor, MI (USA)
    Posts
    648
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mPeror View Post
    Sure, if we were talking about PHP code that would be fine. But what about Database changes for example? can I commit those to SVN as well?
    Maybe .sql output files...

    I would be quite paranoid about having all of my work on a usb drive. What if it gets lost? Stolen? It's also a nice thing to have your code under version control anyways, for the usual benefits.

  10. #10
    SitePoint Member
    Join Date
    Jun 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would be quite paranoid about having all of my work on a usb drive.

  11. #11
    SitePoint Guru
    Join Date
    Jun 2006
    Posts
    638
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do what I do:
    Get a 4gb USB with:
    - XAMP lite (mysql/php/apache)
    - Eclipse
    - whatever other tools you need

    When you need to do some work, plug it in, and as long as it's the same OS, your good to go. (might have to change the site paths in apache)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •