Web Development Information

How to Build a Database Driven Web Site


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


MORE RESOURCES:

Web development with Wicket, Part 3: Many ways to persist
Java World - Sep 4, 2008
In this final installment in his series on Web development with Wicket, Nathan Hamblen demonstrates how Wicket's independence from any one persistence tool ...


Local Web Server For Web Development?
Slashdot - Sep 2, 2008
gwilymgj writes "I have been running Apache/MySQL for years using XAMP and WAMP on windows for web development. Recently I switched to using Ubuntu in ...


Panic updates Coda Web development application
Macworld, CA - Aug 26, 2008
by Jim Dalrymple, Macworld.com Mac software developer Panic released an update for its Web development tool, Coda on Tuesday. Coda 1.5 adds a variety of new ...


Karmick Solutions, Kolkata, arranged a successful seminar on The ...
24-7PressRelease.com (press release) - Sep 1, 2008
Karmick Solutions is a leading Web Development Company in India. The services offered by Karmick Solutions, India is not limited to just website development ...


SBD launches business recruitment site
Columbia Daily Tribune, MO - 21 hours ago
By JORDAN RAUBOLT of the Tribune’s staff The Special Business District this week launched a new Web site aimed at helping it play a larger role in downtown ...


Zeta Interactive Appoints Industry Veterans to Lead Creative and ...
MarketWatch - Aug 8, 2008
As Technology and Production Director, Barbella will oversee the Web Development department at Zeta Interactive where he will direct both strategy and ...


Magnetic Recognized as a Google AdWords Qualified Company
Newswire Today (press release), UK - 22 hours ago
Magnetic, a full-service Web development firm, has further demonstrated its search engine marketing expertise by meeting the stringent requirements to earn ...


Remember Figlets? They're Back With Zend
InternetNews.com - Sep 4, 2008
Who knew they would work well to tell humans from bots on Web sites? You can now use them as part of the PHP framework, too. By Sean Michael Kerner: More ...


Battle Creek Unlimited Supports Web Development Group 'corePHP'
PR Web (press release), WA - Aug 27, 2008
"Our goal is to take web development to the next level, and we're excited to be joining the Battle Creek business community." With the help of business ...


Trizeon – Experts in Business Consulting, SEO, Web Development ...
PR.com (press release), NY - Aug 23, 2008
Trizeon, a leading global provider of business consulting, web development, off-shore staff augmentation and search engine optimization services offers ...

Web-Development - Google News

home | site map
© 2006