ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Subversion & PHP IDE's

August 30, 2007 8:52pm

Subscribe [5]
  • #1 / Aug 30, 2007 8:52pm

    Phil Sturgeon

    2889 posts

    While I know there a few posts on here about what IDE to use I am having a real sod of a time getting my enviroment set up and its got to the point where im considering purchasing a pea-shooter and venting my stress and anger on any IDE developer I can track down.

    It has taken me almost a week now to get SVN set up on a subdomain of my sexy new VPS, and now I have had a wonderful revelation, I dont actually know how to use it… >.<

    That point aside, im having real trouble getting a proper solution set up. I tried PHPEclipse following the instructions here and cannot complete section 2.1 (page 2) as I get this error. I was on IRC with one of the Dev’s for a while who seemed to think I was using the wrong version number of something but to be honest I dont have the foggiest…

    Im also trying to get on with Zend Studios, but I dont much like the way it all works. Is there no way to set up FTP details per project, and not just general FTP servers?

    Ideally I would love to skip all this malarky and just carry on coding in Dreamweaver. I love my print_r() debugging and my Ctrl + U uploads, its what i live for! However I gotta get this SVN working and cannot work out how.


    I have a remote SVN repo, no server/php software on my local machine and I have no brain left to spend on this… if someone can hold my hand and drag me through this problem I will forever be grateful. I just need links to really useful “SVN for noobs” and “how to seamlessly integrate SVN with DW”. OR a pre-made folder of eclipse with PHP, FTP & SVN support. PLEASE!! :(


    EDIT: Cleaned the post up.

  • #2 / Aug 30, 2007 9:07pm

    coolfactor

    354 posts

    This is a good example that sometimes an IDE (integrated development environment) is not always the best solution. I don’t use one. I use a separate text editor, a separate FTP client, a separate browser, a separate file system manager. However, it all works flawlessly for me. This flexibility allows me to swap out one tool for another should something come along that is better, but an IDE quite often requires you to adapt to it.

    This also illustrates how important the underlying operating system is to applications. I spent a year solely developing with PHP using a Windows computer. Editing, FTP, SVN, you name it. I spent more time trying to get things to play nicely together than actually getting work done. One program would take ownership of a file and others couldn’t work with it. Very frustrating. When I finally got a Mac again, I entered computing bliss. The software works so well together. Spend very little time solving problems.

    For SVN, you need
    1) a repository server - do you have that set up?
    2) an svn client on your development machine - do you have that?

    The web server can be the same as the repo or can be separate.

    BTW, I don’t think the references to “bust a nut” and using firearms to vent your frustration are appropriate here. But that’s me.

  • #3 / Aug 30, 2007 9:13pm

    Phil Sturgeon

    2889 posts

    “Bust a nut” means so stressed a think a testicle will pop, no violence intended in that part. Will clean up my post tomorrow when I am less angry.

    I have a repositry server and looked at a SVN client called tortoise I think. Not sure what to do with it, and tutorials confuse me.

    Im barely able to do anything complex these last few days, working all day every day for the last 6 months setting up my company has destroyed me, I cannot function but I have no choice about setting this up. Have 3 more months of solid coding to do with no way to back out of it, and as theres about 5 of us working on it we need SVN.

    I could really do with someone explaining the basic logic/processes of SVN to know how it does what it does. Where do I put files, how do they get there, what goes on, etc. Thats one thing I cant seem to find online. Sites are happy to give me docs on the commands but none help me understand how it works.

  • #4 / Aug 30, 2007 9:24pm

    coolfactor

    354 posts

    Hang in there. It takes a while to learn how version-tracking systems work, but once you do, your efficiency and peace-of-mind increases 10-fold.

    1. you establish a repository to store files in the same structure as your website
    2. you use your client to “check out” a project
    3. all files in the project are downloaded to a designated folder on your computer
    4. as you modify files, SVN tracks those changes for you (on your computer)
    5. you commit the changed files back to the repository
    6. when you are happy with the stability of a particular version in the repo, you can synchronize it with the web server

    In simpler terms…
    Once you are set up, you simple “check out” (download) and “commit” (upload) files. That’s it, really. There’s a lot more you can do with SVN, such as compare two versions of a file, but that’s more advanced stuff you don’t need right away.

  • #5 / Aug 30, 2007 9:37pm

    Phil Sturgeon

    2889 posts

    *hugs*

    Ok this is exactly what I have been trying to figure out. Thats kinda what I had assumed but its nice to have things confirmed.

    So really I can easily just carry on using Dreamweaver and use Tortoise to check in/out files and I suppose that the client would be what controlls the syncing with the repo and web server too right?

    Also, how would I go about setting up passwords on a SVN repo? The support team running my VPS ended up setting it up for me and it has no password.

  • #6 / Aug 30, 2007 9:47pm

    coolfactor

    354 posts

    Yes, you can continue to use Dreamweaver. Someone more experienced with SVN will have to answer the password question.

    Mirage, are you out there?

  • #7 / Aug 30, 2007 10:24pm

    Phil Sturgeon

    2889 posts

    Anybody else gets in a stress over this, this manual is damn handy:

    http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-basics-versioning.html

    RTFM I guess :$

  • #8 / Aug 31, 2007 1:03am

    sikkle

    325 posts

    I use wamp as my developpement environnement on windows, and i think it doesnt exist any subversion and SVN client at this point ? or if exist, someone can make a little tutorial ?

  • #9 / Aug 31, 2007 3:52am

    xwero

    4145 posts

    @sikkle

    A subversion server is set up separate from your development servers. You can run it local if you don’t need it to be accessed from somewhere else.

    As said in the thread here tortoise is a nice svn client that integrates in the explorer shell.

    a good starter can be found at lifehacker.com part 1 part 2

  • #10 / Aug 31, 2007 4:10am

    xwero

    4145 posts

    @thepyromaniac

    I know sometimes eclipse can be troublesome but i would suggest you use easyeclipse. It has prepackaged versions so all you have to do is install and use.
    I agree with Coolfactor and IDE takes some adjustments in work flow but once you get the hang of it one application for all your needs is a breeze. (I try to learn to use vim because not using the mouse is faster but it’s been an month and i only know the basic commands)
    The only thing that still bothers me using eclipse is the lack of a proper ftp client. You can’t set the file attributes on the server and i experienced also troubles uploading conflicting files. There seems no way to work around this.

    The build in svn client is a blessing. I’m too lazy to switch to the explorer window and commit changes. I never had a problem connecting to a remote svn repository.

  • #11 / Aug 31, 2007 4:12am

    chobo

    74 posts

    I setup subversion, but I haven’t really used it much… I use Dreamweaver for my development and it doesn’t work well with subversion, or at least I don’t know how to make it work well since I ended up having to drag the stuff in the repository which is too much work for me. If anyone has experience using it with Dreamweaver please share that knowledge 😊

  • #12 / Aug 31, 2007 5:50am

    Phil Sturgeon

    2889 posts

    I setup subversion, but I haven’t really used it much… I use Dreamweaver for my development and it doesn’t work well with subversion, or at least I don’t know how to make it work well since I ended up having to drag the stuff in the repository which is too much work for me. If anyone has experience using it with Dreamweaver please share that knowledge 😊


    This is what im hoping for too. I know about EasyEclipse and tried that some time ago, that program gives me different errors. If I wanted an IDE with no built in FTP sync then I could be using Eclipse right now, but as i said thats one of the things I love about DW!

    I guess if SVN handles the movement of files with a server, I could use Eclipse without any FTP plugin and use DW for projects that dont require SVN… right…?

  • #13 / Aug 31, 2007 12:30pm

    sikkle

    325 posts

    @ xwero :

    this is just because of my little stupid wamp5 setting, i use apache 2.2 so this seem to be a nightmare for SVN.


    thanks

  • #14 / Aug 31, 2007 2:48pm

    Neovive

    57 posts

    This page contains a link to a good free Subversion book written in less technical language.  It was published as part of the Bruce Perens Open Source Series.

    http://phptr.com/perens

  • #15 / Aug 31, 2007 4:33pm

    chobo

    74 posts

    If your desperate to get it to work you can try this.

    http://www.grafxsoftware.com/product.php/SVN_for_Dreamweaver_10/135/

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases