LAMP - Linux, Apache, MySQL, and PHP. These are the elements you will need to start a very robust and reliable web server from the ground up. HowToForge has a brilliant tutorial on how to start everything. Now take note, this is a VERY detailed tutorial. You can’t really go wrong with this tutorial. We got step by step instructions, we go screen shots, we got it all.
The Linux platform used is Fedora Core 6. Some may claim that other distributions are better, they are more user friendly, etc. etc. And they would be right, however, In my opinion, as a production environment, you can’t beat Fedora Core 6. It is very stable and reliable and perfect for a stand alone web server. There are even instructions at the end to install a free web hosting control panel if you decide to resell hosting services.
They start out with downloading Fedora:
To install such a system you will need the following:
Share This
Just in case you ever need to do this
Arrays to MySQL dates and back.
Simple conversion functions to change MySQL dates to arrays, arrays to MySQL dates.
Popularity: 3%
Share This
WebTTY is an interesting package. During my internship I actually had to do something like this. My employer didn’t appreciate a pre-packaged solution though, so I had to produce all the code myself.
The WebTTY package allows any Linux terminal processes to be controlled in a text area HTML element on a webpage. The output from the server process is collected on server side, and is send to a text area element. Keypresses in textarea are collected on client side and send to the server process. WebTTY uses AJAX/DHTML patterns to achieve in-page updates without refreshing the entire page.
Popularity: 5%
Share This
When developing production sites for clients with little/no HTML experience this is a must. If your web contract does not include maintenance fees, then this is something that you simply must do in order to have your users freely update their websites. It’s a structure which is simple enough to develop and implement.
Alejandro Gervasio at DevShed writes:
Setting up the Foundation for an Extensible Website Engine with PHP 5
Building a dynamic website with a database backend is something that nearly every PHP programmer will need to do, usually sooner rather than later. If you haven’t done it yet (or even if you have), this two-part article series will show you how to develop a website engine that can generate pages on the fly from a simple database structure.
Since this is a two part series, I’m assuming that the portion on editing the database will some in the second part. But just to precede them for a minute, it can be seen that a simple backend could be designed. I would go one step further and insert HTML text into the database rather than simply text. In the backend it would be quite simple to incorporate a WYSIWYG editor such as FCKEditor of HTMLArea to allow users to edit the website easily.
Share This