Let me preface this: I'm a noob.
Now: I've only ever developed by coding in eclipse, then uploading files via FTP to a domain. (Then I see the changes just by visiting the domain.)
I now this is probably a shitty way to do this. How should I be doing this? How can I develop even when I don't have internet? (In other words, how can I run/try website code without FTP/internet?)
Please be as detailed and creative as you'd lke.
Revision control is not technically needed to work, but you'll need it anyway ;) so start using right away
- Set up a local server, possibly a popular one for your technology of choice (keywords: localhost, apache, nginx, etc.) Set up database systems of you choice (mysql, postgresql, sqlite).
- Commit often, push when sure.
- On your remote server, grab code from your repository (clone it) to your working directory. Pull/update changes manually or set a cron job to do it from time to time, so you got your working copy online (better update manually if it's on production).
- Always keep a separate file for your localhost project settings, which you don't commit to the repository (ignore), so everything works fine with your settings locally, but works with another settings on the remote server.
good luck