I'm wondering what the best way to work with PHP web pages in Eclipse.
For instance, what I normally do is create a project with remote links to the files on the server. This way I can make changes->save them->and instantly see the effects in a browser.
However, this method does not allow me to commit the remote files to SVN. I could have a local working copy checked-out from SVN; then copy/export the files to the server every time I made a change, but that gets annoying fast.
My question is what is you workflow or method for working/debugging/testing/committing PHP projects in Eclipse?
Be sure you create your project local first. Commit it to a local server with SVN. The way you are uploading your files directly to the remote server is very dangerous. Every time you do a save of your file, it becomes possible to upload bugs. Be sure to follow this or a similar way:
now you are sure to upload a correct version of your file.
in the first few weeks you will create a lot of versions but after a while you will start to bundle your bugs into 1 update every week (or something like that)
for automation on deployement, take a look at rsync, ant... . There are some hosting companies like Servergrove that support you very nicely in the deployement process...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With