Web Development Information

How to Build a Database Driven Web Site


If you ever want to create a state directory, articledirectory, dating site or link directory, you need to know aboutcreating database driven web sites. This may seem like adaunting task at first, if you have never done it, howeverI was in the same boat as you. It is not as difficult asyou think.

Benefits of building database driven web sites

-Store vast amounts of information about your products orservices.

-Efficient data sorting and retrieval

-Complex queries and statistical analysis performed relativelyeasily

-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 recordswithout 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 webpages.

-Site maintenance greatly reduced.

-Enhance web interactivity

Requirements

MySQL - to retrieve information from a database, you firstneed 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 PHPinstalled, your Web server will be able to read a new file(called a "PHP script") that can retrieve information instantlyfrom a database and insert it into a web page before sendingit to the browser that requested it. PHP is completely free todownload and use.

Check with your current Web host. Make sure they havealready 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 mySQLdatabase and the WSN Links Script (a PHP script). Here's anexample of the "Colorado Business Directory Site" that wasbuilt, based on following the 7 steps below:

http://www.hereiscolorado.com

1. Check that your web host has PHP 4.10+ (or PHP 5) andMySQL 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 databaseinstallation 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 themto 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 newpages, links etc can now easily be accomplished.

Congratulations!... you successfully have built yourself adatabase driven web site.

Herman Drost is the Certified Internet Webmaster (CIW)owner and author of http://www.iSiteBuild.com AffordableWeb Site Design and Web Hosting. Subscribe to his "Marketing Tips" newsletter for more original articles.subscribe@isitebuild.com. You can read more of hisin-depth articles at: http://www.isitebuild.com/articles


MORE RESOURCES:

Frugal Duchess: Goal-setting
Bellingham Herald, WA - 20 hours ago
Goal setting is an annual exercise as we try to whip our home and other fiscal assets into better shape. And so we crunch numbers and try to tone up our ...


Goal-Setting Drills Make for More Active Coworkers
Newswise (press release) - Jan 5, 2009
“They had individual goal setting — a common technique — but they also had group and organizational goal setting, which provided the peer encouragement that ...
Employer-Sponsored Workouts Boost Workers' Health Washington Post
all 17 news articles


Missoula officials offer New Year's goal setting tips
KPAX-TV, MT - Jan 2, 2009
Missoula City-County Health officials say the new year is a great time to re-commit to new health goals. Here are some goals they recommend striving for ...


Woman Who Lost 100 Pounds Opens Goal-Setting Social Network
PR.com (press release), NY - Jan 2, 2009
Woman who lost 100 pounds shares how to set and achieve your goals through a new goal-setting social network site whose launch date coincides to help make ...


HealthNews

Goal-Setting Tips for the Whole Family
HealthNews, CA - Dec 29, 2008
Goal setting is an important method of deciding what’s important in your life. Since accomplishing these goals builds self-confidence, goal setting is a ...


1/6/2009 - CAP Seminars Focus on the Self and Home
Inland Empire, CA - 20 hours ago
Goal Setting from instructor Letty Herndon teaches how to set specific, attainable and measurable goals that are both realistic and time-bound. ...


Setting effective financial goals for 2009
The Punch, Nigeria - Jan 3, 2009
For instance, Dr. Ron Dontroy, a leading human resource expert and author, The Art of Future Management, likens goal setting to a compass that provides the ...


Goal setting Pacers eye Fraser Valley berth
South Delta Leader, Canada - Jan 1, 2009
By Philip Raphael - South Delta Leader Weeks into the senior girls basketball season, Delta Secondary head coach Bill Lambert says his team is still in ...


Examiner.com

Goal setting for 2009: book projects
Examiner.com - Dec 29, 2008
by Wendy Attmore, Atlanta Writing Careers Examiner Now’s the time to start mapping out some self-imposed deadlines for your book projects. ...


Dining Out: Local burger joints excel at comfort food
Salt Lake Tribune, United States - 2 hours ago
... a total disregard of medical advice or personal goals, especially at a time when most people have gone through some introspection and goal-setting. ...

Goal-Setting - Google News

home | site map | ArticleGecko | A ClashX Production 2006
© 2006