If you ever want to create a state directory, article directory, dating site or link directory, you need to know about creating database driven web sites. This may seem like a daunting task at first, if you have never done it, however I was in the same boat as you. It is not as difficult as you think.
Benefits of building database driven web sites
-Store vast amounts of information about your products or services.
-Efficient data sorting and retrieval
-Complex queries and statistical analysis performed relatively easily
-Separate site design from site's content
-Create new pages on the fly without manually creating or editing new web pages
-Makes it easy for client to post content, update records without the need to know html or rely on a web developer.
-Advanced search capabilities
-Attract repeat visitors with fresh and constantly updated content.
-Update site information online without the need to upload web pages.
-Site maintenance greatly reduced.
-Enhance web interactivity
Requirements
MySQL - to retrieve information from a database, you first need to have a database. That's where MySQL comes in. MySQL is a relational database management system, or RDBMS. It's a software package that is very good at organizing and managing large amounts of information. MySQL also makes that information readily accessible by using a server-side scripting language like PHP.
PHP - this is a server-side scripting language. With PHP installed, your Web server will be able to read a new file (called a "PHP script") that can retrieve information instantly from a database and insert it into a web page before sending it to the browser that requested it. PHP is completely free to download and use.
Check with your current Web host. Make sure they have already installed MySQL and PHP on your Web server. Most web hosting companies already have it installed. If not find a web host that provides this service.
Steps to building a database driven web site:
You will be building a link directory site using a mySQL database and the WSN Links Script (a PHP script). Here's an example of the "Colorado Business Directory Site" that was built, based on following the 7 steps below:
http://www.hereiscolorado.com
1. Check that your web host has PHP 4.10+ (or PHP 5) and MySQL 3+ installed on the server.
2. To create the mySQL database on the web server:
-login to the cpanel of your server ie domainname/cpanel with your user name and password.
-click on 'MySQL Databases' icon.
-enter database name
-click 'add db'
-click on 'go back'
-under 'Users' enter user name and password for database
-click 'add user'
-click on 'go back'
-click on 'add user to database'
You should now get the reply that your database installation was successful.
3. Download the PHP script files to your desktop at: WSN links - http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks
4. Extract files from the ZIP folder and save them to a folder on your computer.
5. Upload all the extracted files to your hosting space
6. Set the correct permissions for your files.
7. To complete the installation and to customize the script, read the manual at:
http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks
You can continue to customize or edit your site online by accessing the admin panel within your web site.
Adding, sorting, retrieving, searching data, creating new pages, links etc can now easily be accomplished.
Congratulations!... you successfully have built yourself a database driven web site.
Herman Drost is the Certified Internet Webmaster (CIW) owner and author of http://www.iSiteBuild.com Affordable Web Site Design and Web Hosting. Subscribe to his "Marketing Tips" newsletter for more original articles. subscribe@isitebuild.com. You can read more of his in-depth articles at: http://www.isitebuild.com/articles
1. As the first step, "Hire a web designer."First create... Read More
The definition of the phrase "Content Management" depends on what... Read More
1. Splash pagesMost of the time splash pages are uncalled... Read More
It may seem like the publishing industry's equivalent of Beanie... Read More
Right after the thought, "I need a website," people usually... Read More
"Build it and they will come."--Filed of Dreams (1989) If... Read More
A website is lifeline of internet home business. In order... Read More
Web sites are an Ongoing Part of Business.All too many... Read More
Webmaster tools are vital to becoming both efficient and effective... Read More
An automated accessibility tool is a piece of software which... Read More
Every small business owner knows that they need a website,... Read More
If you are developing your website on a host that... Read More
A lot has changed in the way sites are optimized... Read More
We've all seen those messages on some websites warning not... Read More
I am just a learner who likes to delve in... Read More
It is an undeniable fact that not everybody is keen... Read More
Analyzing traffic to a site is a key factor in... Read More
Everyone wants one.Everyone wishes they knew how to make one.SOME... Read More
Web sites are not just places to sell things; they... Read More
What is web accessibility & why is it important?Web accessibility... Read More
While most marketers are beginning to understand the critical importance... Read More
A system development process can follow a number of standard... Read More
Directory Generator, a product from Armand Morin and Marc Quarles,... Read More
Your web site will be your window to the world.... Read More
Even though the Internet has been around for a long... Read More
First, an eye opener. Making your fortune through affiliate programs... Read More
I talk with so many people who have small businesses... Read More
Before you set up any scripts you will need some... Read More
Most interactive websites nowadays would require a user to log... Read More
There are lots of HTML editors on the market, however,... Read More
The Disability Discrimination Act states that service providers must not... Read More
Appealing to others is really important when you have a... Read More
As a business you can't afford to ignore the Internet... Read More
A company must earn and keep trust or sales don't... Read More
From early days of www, the Internet sites that are... Read More
Every small business owner knows that they need a website,... Read More
Like most average persons, I wanted some extra money to... Read More
Although designing a great web site is an important part... Read More
SiteSpinnerSiteSpinner is a user-friendly web site development tool that includes... Read More
If one more business owner tells me their website sucks... Read More
After planning the design and content of your website, it's... Read More
No matter the size of your business, having a web... Read More
Although CSS layouts have been around for years, they haven't... Read More
"'Page Not Found' on this Server. Check the URL and... Read More
Many executives and investors are skeptical that software products can... Read More
If you are developing your website on a host that... Read More
Can you imagine the hypocrisy of spending thousands of dollars,... Read More
1. Many people are not getting good or complete advice.... Read More
Anyone who knows anything about web accessibility knows that images... Read More
Most web sites are more like stage sets than real... Read More
Failure, just like success, is measured differently by each and... Read More
1. Splash pagesMost of the time splash pages are uncalled... Read More
So you want to take a look at a real... Read More
For years now I've been looking to start my own... Read More
A common dilemma most small and medium businesses face when... Read More
What is web accessibility & why is it important?Web accessibility... Read More
You've just finished congratulating your marketing team. After six months... Read More
Often time I've browsed sites and seen the same thing... Read More
A PHP Redirect automatically transfers a web user from one... Read More
Most interactive websites nowadays require data to be presented dynamically... Read More
Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More
If you are like me you have wanted to build... Read More
The evolution of web development parallels the model of technology... Read More
Customer service questionnaires can help your clients better understand their... Read More
Cost Effective Advertising. Online selling. Increased geopgraphic range. Wider... Read More
There's been widespread speculation about the new legislation being introduced... Read More
Web Development |