473,385 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to Build A Web Database (Without Programming)

This is the latest in the "Total Non-Programmer" series. Any feedback on
the usability of this tutorial would be greatly appreciated.

Thanks,
Rob

How to Build A Web Database (Without Programming)

This article will teach you step-by-step how to add interactive
database-driven capabilities to your existing web site. When the steps
below are completed, your web site will be able to search any type of
list (people, products, cars, resumes, articles, pictures etc.) and/or
save the contents of your form into a database for later retrieval.

The following steps will work on both Unix/Linux and Windows based
servers. The only requirement is that you have a hosting account that
includes a /cgi-bin directory. It doesn't matter what kind of computer
you use, so long as it has a web browser. It requires only one
shareware package, which is free for trial purposes.

NOTE TO NON-WINDOWS USERS: To install the program manually, browse to
http://www.abcdatabase.com/webdata/download and follow the instructions
there. Then proceed to Step II.

I. Installation:

1. Download the following zip file:
http://www.webteacher.com/webdata/webdat22.zip
2. Unzip the file. If you don't already have an unzip utility, visit
http://www.pkware.com and get PKZIP.
3. Double-click on "Setup.exe"
4. A window will open with 3 boxes. Enter your server's FTP hostname,
username, and password.
5. Click "Next". Now, double-click on directory names until you are in
the /cgi-bin. DO NOT CLICK "NEXT".
6. Enter the URL to the cgi-bin into the box at the bottom of the
screen. You may need to remove /htdocs or /html or /www from the default
to make it a correct URL. Now you can click "Next".
7. The program will move up one level. Now select a folder where you
want the html pages associated with the database to reside. Again, do
not click "Next" until you are sure the URL in the bottom box is correct.
8. On the last page, just leave /usr/bin/perl in the first box, unless
you know of a different path.
9. The name you choose in the second box will be a part of the file
names, so keep it under 8 characters if possible.
10. Choose any password you like for the third box. Later, when you log
into the database as admin, this will be your password.
11. Click "Finish - this may take a moment". It normally only takes a
minute or two.

II. Logging in

When the installer is finished, it will tell you to browse to the URL
which you selected to hold the program's html pages. Open up a web
browser and go to that page. Click on the link to dbname_admin.html
(where dbname is the database name you chose during installation). Enter
your password in the box and you will be logged in as administrator.
You will see the program's free 30 day trial period at the top of the
page. It is safe to ignore it for now, but if you are still using the
program after 28 days you will want to register it.

III. Setting up your fields

Next you need to decide what pieces of information you want to keep for
each item in your database. If you already have a spreadsheet of data,
the label at the top of each column is a field. Some examples of fields
are: (firstname, lastname, address, city, state, zip, phone) or (VIN,
Make, Model, Year, Color, Description) or (MLS#, Property_type, beds,
baths, sqft, city, schools, picture). You get the idea.

Click the "Modify Fields" button. By default, there are 3 fields
created as place holders named "field1", "field2", and "field3". Select
"field1" and click "Redefine Selected Field" and rename it using the
first field in your list. Follow the prompts to determine whether it
should display as a text box, a checkbox, a pop-up list, a comment box,
or a file box for uploading files. After you redefine "field2" and
"field3" you can click "Insert Field Below Selection" to add more fields
to the list. Click "Return to Administration Screen" when you're done.

IV. If you want visitors to add data into your database

If this database will be for searching only, proceed to step V.

Note: the "user search page" doubles as the "user ADD page".

1. Click "Customize Pages".
2. Check the "Allow Visitors to ADD" checkbox.
3. Under "Which fields should appear on the user search page", click on
each field which you will need the guests to fill in.
4. Scroll to the top and click "Modify Pages."
5. Click "Test your modifications on the User Search Page."
6. Copy the URL in your browser's address bar and use it as a link on
your homepage for guests to add to your database.
7. You can customize the page either by adding HTML to the "Header for
Search Page" box, or by choosing "SAVE-AS" from the FILE menu while
browsed to the page, then use your favorite html editor to edit it. As
long as you don't change the names of any of the form tags, you should
be able to modify the page any way you want.

V. If you want visitors to search your database.

1. First you need to get some data into the database. You can either
type the data into the boxes on the administration screen, or click
"Import data" and upload your spreadsheet through the browser.
2. Click "Customize Pages"
3. Under "Which field should appear on the user search page", choose the
fields that your visitors will want to search.
4. Scroll down to "Sequence of fields" and select 6 or so fields which
will appear on the initial report.
5. Make sure "Include 'view' button" is checked, and type "Details" into
the "Label for view button" box.
6. Scroll to the bottom of the page, click "Modify Pages" and then click
"Test your modifications on the User Search Page."
7. Copy the URL in your browser's address bar and use it as a link on
your homepage for guests to search your database.
8. Feel free to experiment with the options on the "Customize Pages"
screen to help your database match the look and feel of your site.
This is just the tip of the iceberg. There are options for creating
members, restricting access, adding a shopping cart, and more.

The Shareware Company maintains a very helpful support forum at
http://www.webteacher.com/webdata/bbs.

Jul 20 '05 #1
0 5567

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Davis | last post by:
I always heard the term "data/database driven programming" model in ASP database, SQL programming, and web programming circles. But I don't quite sure what does it mean? Does it mean the web...
1
by: Matt | last post by:
how to get the last record from database without looping? Whenever the user need to insert a new record to the database, it just increment the id field by one from the last record. I tried...
3
by: MarkW | last post by:
Hi, I have a Javascript heavy application that I need to record stats from for each click that the user makes. For all intents and purposes this is a shopping cart application that employs a...
7
by: Andy | last post by:
Hi, I have a complicated question that I'm hoping someone can help me out with. I have a webpage that contains a plug-in. This plug-in can communicate/pass data with the webpage that contains it...
1
by: molemoore | last post by:
I am learning how to do database programming in VB.Net. I would like to know how to connect to a database programmicly(not sure if thats a word :) instead of using the connection/data...
3
by: Familjen Karlsson | last post by:
Here is an example from the help on the keword OleDbConnection, in VB.Net, they don't give the path to the database just the word localhost. How can it connect to the database without knowing where...
1
by: sahoong | last post by:
WEB DATABASE DEVELOPMENT I have a basic knowledge of HTML, PHP and MySQL. I needed to build a web page through which visitors to the page can fill form and upload the cv into the database. Also, I...
1
by: elma.arsalan | last post by:
Hello: Does anyone know whether it is possible to roll back MS Access database without loosing any data? Or can a roll back be undone (kinda odd). Any comment would be appreciated.
4
by: jaz215 | last post by:
hi! how do i add a record in a database without using the datacontrol and adodc. i want to rework my code to using purely codes and not being dependent on the design on vb. so far i have. Set rs...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.