A month or so ago I created my first LAMP stack and implemented a simple web sit
ID: 648795 • Letter: A
Question
A month or so ago I created my first LAMP stack and implemented a simple web site that exercised each letter in that acronym. However my development setup was much less than ideal. I don't really have a local test server, but instead I was writing all of my CGI scripts in vim while ssh'ed into the remote machine as root. Now I intend to start more serious development.
Question: What is a good setup so that development goes as easily as possible?
I would like to understand what is available to me along the lines of an IDE, subversion (or alternatives), uploading and downloading content, and just best practices. I'm pretty new at all of this. Also, feel free to point me at good websites. There's plenty of websites, but only people who are already heavily developing web content are able to quickly determine if they are good websites.
Explanation / Answer
Step 1: do not develop as root! I mean that in all sincerity.
Ideally you will need the following tools:
Also ideally, you will have a separate test environment. The test environment lets you have a machine that is most like what you intend to deploy on as possible. That will help weed out unexpected problems with the environment as early as possible. If that is not possible (i.e. a one man shop), at least have a different instance of the app pointing to a test database.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.