How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money



Similar documents
Building a Multimedia Web Database Using Director and ColdFusion

Application Servers G Session 2 - Main Theme Page-Based Application Servers. Dr. Jean-Claude Franchitti

CREATING WEB FORMS WEB and FORMS FRAMES AND

Your First Web Database Program

HTML Fails: What No One Tells You About HTML

DbSchema Tutorial with Introduction in SQL Databases

Dreamweaver CS3 THE MISSING MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Supported ColdFusion MX Tags

NURSING 3225 NURSING INQUIRY WEB SITE DEVELOPMENT GUIDE BOOK

Creating web pages Chapter 3. HTML Basic Concepts

API. Application Programmers Interface document. For more information, please contact: Version 2.01 Aug 2015

HTML Lesson 7. Your assignment:

INTRODUCTION TO DEVELOPMENT OF DYNAMIC WEB APPLICATIONS. Svein Nordbotten. Svein Nordbotten & Associates

Toad for Data Analysts, Tips n Tricks

E-Commerce: Designing And Creating An Online Store

Migrating helpdesk to a new server

Secure Testing Service

DEPARTMENT OF INFORMATION TECHNOLOGY

Sample Code with Output

Bitrix Site Manager 4.1. User Guide

Clarion/ASP: Code Generating ASP Business Applications

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Research Electronic Data Capture Prepared by Angela Juan

Introduction to ASP. Are you sick of static HTML pages? Do you want to create dynamic web pages? Do you

Online shopping store

INFORMATION BROCHURE Certificate Course in Web Design Using PHP/MySQL

Teaching Tip. Form Responders: Enhancing Student Learning in Beginning and Advanced Web Development Classes

HTML Forms and CONTROLS

Proposed Course title: - Basic Computer Course

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

DIPLOMA IN WEBDEVELOPMENT

AD Phonebook 2.2. Installation and configuration. Dovestones Software

International Journal of Engineering Technology, Management and Applied Sciences. November 2014, Volume 2 Issue 6, ISSN

Using Adobe Dreamweaver CS4 (10.0)

SPHOL207: Database Snapshots with SharePoint 2013

USING THE INTRO (SPLASH) PAGE

Xtreeme Search Engine Studio Help Xtreeme

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.

Internet Ohjelmointi 1 Examples 4

IE Class Web Design Curriculum

Web Development using PHP (WD_PHP) Duration 1.5 months

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

Learnem.com. Web Development Course Series. Learn em. HTML Web Design in 7 days! By: Siamak Sarmady

Web Development Guide. Information Systems

GEMFIND. We Handle The Journey. So You Can Focus On The Destination. WEB TECHNOLOGIES FOR THE JEWELRY INDUSTRY - Est. 1999

SmartPad4i Solution Guide

Using IIS and UltraDev Locally page 1

Web Application Security Part 1

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

Internet Technologies

Combe Abbey School Online Fixtures Diary

San Joaquin County Office of Education Career & Technical Education Web Design ~ Course Outline CBEDS#: 4601

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE CISY 233 INTRODUCTION TO PHP

Oracle Database 10g: Introduction to SQL

IT2304: Database Systems 1 (DBS 1)

CSCI110 Exercise 4: Database - MySQL

Documentum Web Development Kit Tutorial

Towards the end of the project: integrating our output design with php LIS458

Table of contents. HTML5 Data Bindings SEO DMXzone

Certified PHP/MySQL Web Developer Course

COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql

Requirements for Developing WebWorks Help

Using SQL Server Management Studio

Caldes CM12: Content Management Software Introduction v1.9

Oracle SQL. Course Summary. Duration. Objectives

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

Web Authoring. Module Descriptor

FileMaker Robust Platform Technology

BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc.

IAS Web Development using Dreamweaver CS4

Business Intelligence Tutorial

Create a Web Page with Dreamweaver

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 02 Minor Subject

Joomla! 2.5.x Training Manual

Product: DQ Order Manager Release Notes

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

Web page design in 7 days!

Vendor: Crystal Decisions Product: Crystal Reports and Crystal Enterprise

ISI ACADEMY Web applications Programming Diploma using PHP& MySQL

Talking to Databases: SQL for Designers

Differences between HTML and HTML 5

Cut-to-the-Chase Series Web Foundations. HTML Assignment. By Eric Matthews Visit us at:

Multimedia im Netz Online Multimedia Winter semester 2015/16

Creating Personal Web Sites Using SharePoint Designer 2007

Creating Web Pages with HTML Simplified. 3rd Edition

STATGRAPHICS Online. Statistical Analysis and Data Visualization System. Revised 6/21/2012. Copyright 2012 by StatPoint Technologies, Inc.

Business Intelligence Tutorial: Introduction to the Data Warehouse Center

Web Page Redirect. Application Note

Knowledge Base Configuration

Course MIS. Foundations of Business Intelligence

CREATING AND EDITING CONTENT AND BLOG POSTS WITH THE DRUPAL CKEDITOR

Oracle Database 11g SQL

FOUNDATION OF INFORMATION TECHNOLOGY Class-X (TERM II)

DYNAMIC TECHNOLOGIES ON THE WEB: EDUCATION ADMINISTRATION APPLICATIONS. Doug Martin, Ph.D. University of Cincinnati

How To Read Data Files With Spss For Free On Windows (Spss)

Getting Started with Dynamic Web Sites

<?xml version= 1.0?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Tutorial 3 Maintaining and Querying a Database

Getting Started with KompoZer

Transcription:

How to Build a Web Database: A Case Study Introduction This paper shows you how to build a simple Web application using ColdFusion. If you follow the sample case study of the multimedia resources database in this paper, you can create a small Web database application you want. Significance of the topic Most of commercial Web applications are developed using a server technology. The server technology is a technology such as ASP, ColdFusion that gives the Web server the ability to modify a Web page at run time. A Web application is a collection of static and dynamic pages that interact with each other and with various resources on a Web server, including databases. A dynamic page means a Web page modified at run time by the Web server before being sent to a browser. About databases A database is some sort of collection of organized facts and we can use it for any Web applications. The building block of a database is the record. A record is a collection of related data treated as a single entity. A collection of records that share the same fields is called a table because this kind of information can easily be presented in table format: each column represents a field and each row represents a record. In fact, the word column is synonymous with the word field, and the word row is synonymous with the word record. (Fig. 1) Figure 1: A schematic overview of a database A database can contain more than one table, each with a unique name. These tables can be related or independent from one another. A subset of data extracted from one or more tables is called a recordset. A recordset is also a table because it s a collection of records that share the same fields. Before you started

To establish a Web database system, you need a server (Windows NT) including ColdFusion Server software, and you may use any editors, either ColdFusion Studio or Dreamweaver UltraDev, on your desktop. This is the following case study of the paper, Building a Multimedia Web Database Using Director and ColdFusion, written by Jungwha Hong last summer semester, and you may refer to the system setup from it. Building a Web database: A case study To build a Web database, first of all, you need to define the problem or objective: how the database will be used and what information needs to be stored in it. In this case, we want to build a Web database for manipulating Internet multimedia resources. Second, it is necessary to research the current databases, which are similar, good, or bad. It will be helpful for you to be able to imagine a good design for your database. Third, design the data structures. You have to define each entity for making each table. In this case, we need only one table. In this case, I named by tblmmdb2 Ias a multimedia database resource table. Fourth, we have to construct relationships between tables (entities). We called data modeling. For the data modeling, we usually use E-R Diagram (ERD) for conceptual schema, which describes the relationships between each two entities such as one to one, or one to many. In this case, we do not have to worry about the data modeling because there is only one entity in our database. And then, for each entity, we need to define the logical schema. For example, in this case, we can define the logical schema like this. mmdbtbl{mmid, mmurl, mmtitle, mmdescription, mmkeyword, mmmedia, mmpostname, mmpostdate} Each table should have a primary key. In this case, mmid is a primary key. Sixth, now we can define the implementing rules and constraints for each table, we called data dictionary, using Microsoft Access tool, like below. tblmmdb2: Field Name Data Type Field Size Caption mmid Autonumber Long Integer mm ID mmurl Text 200 mm URL mmtitle Text 200 mm Title mmdescription Text 200 mm Description mmkeyword Text 200 mm Keyword MmMedia Text 50 mm Media mmpostname Text 50 mm Post Name mmdate Date/Tiem mm/dd/yy mm Date And then, save the file, named by mmdb.mdb under the directory, like../mmdbproject/database/mmdb.mdb Seventh, create views and reports for each search forms, output result forms, and add/delete/modify forms to display on the screen like below.

Title Menu Main/Search Finally, implement and integrate your design using an editor, and then, save all scripts under the directory:../mmdbproject/scripts/ Front page: index.cfm Title: mmtitle.cfm Menu: mmmenu.cfm Search: mmsearch.cfm Browse by Keyword: mmbrowse.cfm Add Data: mmadd.cfm Search Result: mf_result3.cfm fulldisplay.cfm fulldisplay2.cfm Result Display: subjbrousing.cfm subjdisplay.cfm Appending Data: add_execute1.cfm Update: update.cfm Update_execute.cfm Delete: delete.cfm FULL CODE:

index.cfm ----------------------------------------------------------------------------------------------- <html> <head> <title>index.cfm</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <frameset rows="80,*" frameborder="no" border="0" framespacing="0"> <frame name="topframe" scrolling="no" noresize src="mmtitle.cfm" > <frameset cols="190,632*" frameborder="no" border="0" framespacing="0" rows="*"> <frame name="leftframe" scrolling="no" noresize src="mmmenu.cfm"> <frame name="mainframe" src="mmsearch.cfm"> </frameset> </frameset> <noframes><body bgcolor="#ffffff"> </body></noframes> </html> mmmenu.cfm ------------------------------------------------------------------------------------------- <html> <head> <title>mmmenu.cfm</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#ccff33"> <FORM ACTION="mf_results3.cfm" METHOD="post"> <table border="5" cellspacing="5" cellpadding="5" align ="center" bgcolor="white" bordercolor="olive"> <tr> <td><font face="times New Roman" size=+1> <p></p> <a href="mmsearch.cfm" target="mainframe">search</a>

<p></p> </font> <p><font face="times New Roman" size=+1><a href="mmbrowse.cfm" target="mainframe">broswing<br>by Keyword</a></font></p> <p><font face="times New Roman" size=+1><a href="mmadd.cfm" target="mainframe">add Data</a></font></p> <font face="times New Roman" size=+1> <p></p> </font></td> </tr> </table> </form> </body> </html> mmsearch.cfm -------------------------------------------------------------------------------------- <html> <head> <title>mmsearch.cfm</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <BODY> <font face="times New Roman" color="maroon"><h1>search...</h1></font> <FORM ACTION="mf_results3.cfm" METHOD="post"> <table border align ="center"> <tr><th align=right>title:</th><td><input NAME="mmtitle" SIZE ="50"></td></tr> <tr><th align=right>url:</th><td><input NAME="mmurl" SIZE ="50"></td></tr> <tr><th align=right>keyword:</th><td><input NAME="mmkeyword" SIZE ="50"></td></tr> <tr><th align=right>desciption:</th><td><input NAME="mmDescription" SIZE ="50"></td></tr> <tr><th align=right>media:</th><td><input NAME="mmMedia" SIZE ="50"></td></tr> <tr><th align=right>post name:</th><td><input NAME="mmPostName" SIZE ="50"></td></tr> <tr><th align=right>post date:</th><td><input NAME="mmPostDate" SIZE ="50"></td></tr> </table> <P align="center"> <INPUT TYPE="submit" VALUE="Search"> <INPUT TYPE="reset" VALUE="Clear"> </FORM> </BODY></HTML> mmtitle.cfm -------------------------------------------------------------------------------------------- <html> <head> <title>mmtitle.cfm</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#ffcc66"> <div align="center"> <p><font face="times New Roman" size=6><strong>multimedia Resource Database Search</strong></font> </p> </div> </body></html> mf_results3.cfm ------------------------------------------------------------------------------------

<!--- Query ---> <CFQUERY DATASOURCE="mmdb" NAME="resource"> SELECT * FROM tblmmdb2 WHERE mmid=mmid <!--- Is there any search text? ---> <CFIF mmurl IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmURL#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmurl LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmtitle IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmtitle#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmtitle LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmkeyword IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmkeyword#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmkeyword LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmdescription IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmPostName#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmdescription LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmpostname IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmPostName#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmpostname LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmpostdate IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmPostDate#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmpostdate LIKE '%#word#%' </CFLOOP> </CFIF> <CFIF mmmedia IS NOT ""> <!--- Loop through the words ---> <CFLOOP INDEX="word" LIST="#mmPostName#" DELIMITERS=" "> <!--- Add the AND clause ---> AND mmmedia LIKE '%#word#%' </CFLOOP> </CFIF> ORDER BY mmpostdate </CFQUERY>

<HTML><HEAD><TITLE>mf_results3.cfm</TITLE></HEAD> <BODY> <font face="times New Roman" color="maroon"><h2>search Result</H2></font> <HR> <cfoutput query="resource"> <table> <tr><th align =right>title:</th><td> <a href="fulldisplay.cfm?mmid=#mmid#">#trim(mmtitle)#</a></td></tr> <tr><th align =right>url:</th><td>#trim(mmurl)#</td></tr> <tr><th align =right valign=top>description:</th><td>#trim(mmdescription)#</td></tr> <tr><th align =right valign=top>post date:</th><td>#trim(mmpostdate)#</td></tr> </table> <P> </cfoutput> </BODY></HTML> fulldisplay.cfm ----------------------------------------------------------------------------------------- <cfquery datasource="mmdb" name="res"> SELECT * FROM tblmmdb2 WHERE mmid = #mmid# <HTML><HEAD><TITLE>FullDisplay.cfm</TITLE></HEAD> <BODY> <font face="times New Roman" color="maroon"><h2>full Display</H2></font> <HR> <cfoutput query="res"> <font face="times New Roman"> <table> <tr><th align=right>title:</th><td>#trim(mmtitle)#</td></tr>

<tr><th align=right>site URL:</th><td><a href="#mmurl#">#trim(mmurl)#</a></td></tr> <tr><th align=right>keyword:</th><td>#trim(mmkeyword)#</td></tr> <tr><th align=right>description:</th><td>#trim(mmdescription)#</td></tr> <tr><th align=right>media:</th><td>#trim(mmmedia)#</tr> <tr><th align=right>post Name:</th><td>#TRIM(mmPostName)#</tr> <tr><th align=right>post Date:</th><td>#TRIM(mmPostDate)#</tr> </table> <HR> <a href="update.cfm?mmid=#mmid#"><b>update</b></a> <a href="delete.cfm?mmid=#mmid#"><b>delete</b></a> </cfoutput> </font> </BODY></HTML> fulldisplay2.cfm --------------------------------------------------------------------------------------- <cfquery datasource="dc" name="res"> SELECT R.*, Publisher FROM tblresource R, tblpublisher P WHERE ResourceID = #ResourceID# AND R.PublisherID = P.PublisherID <cfquery datasource="dc" name="sub"> SELECT RS.*, S.* FROM tblressubject RS, tblsubject S WHERE RS.SubjectID = S.SubjectID AND RS.ResourceID = #ResourceID# <HTML><HEAD><TITLE>fullDisplay2.cfm</TITLE></HEAD> <BODY> <H1>Full Display</H1> <HR> <table> <cfoutput query="res"> <tr><th align=right>resource ID:</th><td>#TRIM(ResourceID)#</td></tr>

<tr><th align=right>title:</th><td>#trim(title)#</td></tr> <tr><th align=right>creator:</th> <td><cfloop query="au"> <a href="file:///c%7c/windows/desktop/dr.liu/dcdb/scripts/audisplay.cfm?creatorid=#creatorid#" >#Creator#</a> </cfloop> </td></tr> <tr><th align=right>site URL:</th><td><a href="#identifier#">#trim(identifier)#</a></td></tr> <tr><th align=right>copyright:</th><td><a href="#rightsurl#">#trim(rightsurl)#</a></td></tr> <tr><th align=right>subject:</th> <td><cfloop query="sub"> <a href="file:///c%7c/windows/desktop/dr.liu/dcdb/scripts/subjdisplay.cfm?subjectid=#subjecti D#">#Subject#</a> </cfloop> </td></tr> <tr><th align=right>keyword:</th><td>#trim(keyword)#</td></tr> <tr><th align=right>resource Type:</th><td>#TRIM(Type)#</td></tr> <tr><th align=right>publisher:</th><td>#trim(publisher)#</tr> <tr><th align=right>description:</th><td>#trim(description)#</td></tr> </cfoutput> </table> <HR> </BODY></HTML> delete.cfm ----------------------------------------------------------------------------------------------- <cfquery datasource="mmdb"> DELETE FROM tblmmdb2 WHERE mmid = #mmid# <html><head><title>delete.cfm</title></head> <body> <cfoutput> <h3> Resource Deleted! </h3> </cfoutput> </body></html>

update.cfm ---------------------------------------------------------------------------------------------- <cfquery datasource="mmdb" name="res"> SELECT * FROM tblmmdb2 WHERE mmid=#mmid# <HTML><HEAD><TITLE>Update.cfm</TITLE></HEAD> <BODY> <H2 align=left>update Form...</H1> <center> <FORM ACTION="update_execute.cfm" METHOD="post"> <cfoutput query="res"> <table border align ="center"> <tr><th align=right>id:</th><td><input NAME="mmID" VALUE="#TRIM(mmID)#" SIZE ="50"></td></tr> <tr><th align=right>title:</th><td><input NAME="mmtitle" VALUE="#TRIM(mmtitle)#" SIZE ="50"></td></tr> <tr><th align=right>url:</th><td><input NAME="mmurl" VALUE="#TRIM(mmurl)#" SIZE ="50"></td></tr> <tr><th align=right>keyword:</th><td><input NAME="mmkeyword" VALUE="#TRIM(mmkeyword)#" SIZE ="50"></td></tr> <tr><th align=right>desciption:</th><td><input NAME="mmDescription" VALUE="#TRIM(mmdescription)#" SIZE ="50"></td></tr> <tr><th align=right>media:</th><td><input NAME="mmMedia" VALUE="#TRIM(mmMedia)#" SIZE ="50"></td></tr> <tr><th align=right>post name:</th><td><input NAME="mmPostName" VALUE="#TRIM(mmPostName)#" SIZE ="50"></td></tr> <tr><th align=right>post date:</th><td><input NAME="mmPostDate" VALUE="#TRIM(mmPostDate)#" SIZE ="50"></td></tr> </table> </cfoutput> <P> <INPUT TYPE="submit" VALUE="Update Data"> <INPUT TYPE="reset" value="clear">

</FORM> </BODY></HTML> update_execute.cfm -------------------------------------------------------------------------------- <cfupdate datasource="mmdb" tablename="tblmmdb2"> <html><head><title>updating_execute.cfm</title></head> <body> <cfoutput> <h3> Resource: (#mmtitle#) Updated! </h3> </cfoutput> </body></html> mmbrowse.cfm ---------------------------------------------------------------------------------------- <cfquery datasource="mmdb" name="qrysubject"> select distinct mmkeyword from tblmmdb2 <html><head><title>mmbrowse.cfm</title> </head> <body><a name="top"></a> <font face="times New Roman" color="maroon"><h2>browsing by Keyword...</H2></font> <cfloop index="loopcount" from="0" to="25"> <cfoutput> <a href="#chr(35)##chr(65+loopcount)#"><b>#chr(65+loopcount)#</b></a></cfoutput> </cfloop> <BR> <cfloop index="loopcount" from="0" to="25"> <cfoutput>

<h1><a name="#chr(65+loopcount)#">#chr(65+loopcount)#</a><a href"#chr(35)#top"></h1></a> </cfoutput> <cfloop query="qrysubject"> <cfif #left(mmkeyword,1)# IS #chr(65+loopcount)#> <cfoutput><a href="subjdisplay.cfm?mmkeyword=#mmkeyword#"><b>#mmkeyword#</b></a></cfoutput><br > </cfif> </cfloop> </cfloop> </body></html> subjbrowsing.cfm ------------------------------------------------------------------------------------- <cfquery datasource="dc" name="qrysubject"> select * from tblsubject order by subject <html><head><title>subjbrowsing.cfm</title></head> <body> <a name="top"></a> <h1><font face="times New Roman" color="maroon">subject Browsing</font></h1> <a href="browse.htm"><font face="times New Roman" color="teal">browsing Menu</font></a> <a href="search.htm"><font face="times New Roman" color="teal">searching Menu</font></a> <a href="default.htm"><font face="times New Roman" color="teal">main Menu</font></a> <HR> <cfloop index="loopcount" from="0" to="12"> <cfoutput> <a href="chr(35)#chr(65+loopcount)#"><b>#chr(65+loopcount)#</b></a></cfoutput> </cfloop> <BR> <cfloop index="loopcount" from="13" to="25"> <cfoutput> <a href="chr(35)#chr(65+loopcount)#"><b>#chr(65+loopcount)#</b></a></cfoutput> </cfloop> <HR> <cfloop index="loopcount" from="0" to="25"> <cfoutput><h1><a name="#chr(65+loopcount)#">#chr(65+loopcount)#</a> <a href="#chr(35)#top"><img src="up30.gif" border=0></h1></a></cfoutput> <cfloop query="qrysubject"> <cfif #left(subject,1)# IS #chr(65+loopcount)#> <cfoutput><a href="subjdisplay.cfm?subjectid=#subjectid#"> <b>#subject#</b></a></cfoutput><br> </cfif> </cfloop> </cfloop> </body></html> subjdisplay.cfm ----------------------------------------------------------------------------------------- <!--- Query ---> <CFQUERY DATASOURCE="mmdb" NAME="resource"> SELECT * FROM tblmmdb2 WHERE mmkeyword='#mmkeyword#' and mmid=mmid </CFQUERY>

<HTML><HEAD><TITLE>subjDisplay.cfm</TITLE></HEAD> <BODY> <font face="times New Roman" color="maroon"><h2>search Result</H2></font> <HR> <cfoutput query="resource"> <cfquery datasource="mmdb" name="sub"> SELECT * FROM tblmmdb2 WHERE mmkeyword = mmkeyword and mmid='#mmid#' <table> <tr><th align=right>title:</th><td> <a href="fulldisplay2.cfm?mmid=#mmid#">#trim(mmtitle)#</a></td></tr> <tr><th align=right>url:</th><td>#trim(mmurl)#</td></tr> <tr><th align=right>keyword:</th> <td><cfloop query="sub"> <a href="subjdisplay.cfm?mmkeyword=#mmkeyword#">#mmkeyword#</a> </cfloop> </td></tr> <tr><th align=right>media:</th><td>#trim(mmmedia)#</td></tr> <tr><th align=right>description:</th><td>#trim(mmdescription)#</td></tr> <tr><th align=right>post name:</th><td>#trim(mmpostname)#</td></tr> <tr><th align=right>post date:</th><td>#trim(mmpostdate)#</td></tr> </table> <P> </cfoutput> </BODY></HTML> mmadd.cfm --------------------------------------------------------------------------------------------- <cfquery datasource="mmdb" name="publisher">

select * from tblmmdb2 <HTML><HEAD><TITLE>mmadd.cfm</TITLE></HEAD> <BODY> <div align="left"> <H2><font face="times New Roman" color="maroon">data Entry...</H2></font> </div> <FORM ACTION="add_execute1.cfm" METHOD="post"> <table border align="center"> <tr><th align=right>title:</th><td><input NAME="mmtitle" SIZE ="50"></td></tr> <tr><th align=right>url:</th><td><input NAME="mmurl" SIZE ="50"></td></tr> <tr><th align=right>keyword:</th><td><input NAME="mmkeyword" SIZE ="50"></td></tr> <tr><th align=right>desciption:</th><td><input NAME="mmDescription" SIZE ="50"></td></tr> <tr><th align=right>media:</th><td><input NAME="mmMedia" SIZE ="50"></td></tr> <tr><th align=right>post name:</th><td><input NAME="mmPostName" SIZE ="50"></td></tr> <tr><th align=right>post date:</th><td><input NAME="mmPostDate" SIZE ="50"></td></tr> </table> <P><center> <INPUT TYPE="submit" VALUE="Add Data"> <INPUT TYPE="reset" value="clear"> </center> </FORM> </BODY></HTML> add_execute1.cfm ----------------------------------------------------------------------------------- <CFINSERT DATASOURCE="mmdb" TABLENAME="tblmmdb2"> <html><head> <title>add_execute1.cfm</title> </head><body> <H1>Resource Added</h1> <cfoutput> Multimedia Resource: <b>#mmtitle#</b> Added<br> by #mmpostname#.#mmpostdate# </cfoutput></body></html> - End of Code This paper is written by Jungwha Hong for the course EDC 385G, Interactive Multimedia: Design and Production, Fall 2000, at The University of Texas at Austin. Related links on the web for the Web Database 1. Databases and the World Wide Web, Marianne Winslett, University of Illinois

http://cdr.cs.uiuc.edu/pubs/de97tutorial/index.htm 2. Choosing a Database for your Web site http://www.wiley.com/compbooks/ashenfelter/resources.html 3. Web Database ORG http://www.webdatabase.org/ 4. Webreview.com, John PaulAshenfelter http://www.webreview.com/pace/print/au/ashenfelter_john_paul 5. Choosing a Web database http://www.builder.com/programming/choosingwebdb/ 6. Web database solution http://www.canright.com/web_database.htm 7. Web Database Connectivity with Scripting by Z. Peter Lazar. http://www.oreilly.com/catalog/wj6/excerpt/ 8. Web Resources Database http://199.217.32.75/resources/search.html 9. Web Database Tutorial (PHP & MySQL) http://www.blazonry.com/scripting/linksdb/ 10. Management Web Resources Database http://www.keele.ac.uk/depts/mn/teach/mgtlinks.htm 11. Database-Driven Web Sites http://www.smartbooks.com/t-progdatabases.htm 12. Database: Web Database http://www.geocities.com/siliconvalley/bay/5388/webdb.html 13. Developing Web Database Applications Using Active Server Pages (ASP) http://cpcug.org/user/houser/asp/ 14. Web Database Development for Windows Platforms http://www.phptr.com/ptrbooks/ptr_0130139858.html

15. Useful Links For Database-Web Connectivity http://developer.netscape.com/docs/manuals/dbresour.html 16. Tools for Web Database Access http://ashok.pair.com/webdata.htm 17. Web Database Project http://cs1.cs.nyu.edu/ms_students/chia7019/webdb.html 18. Web Database Connectivity with Scripting Languages http://www.w3j.com/6/s3.lazar.html 19. Web Database Tools http://users.erols.com/foxdm/database.htm 20. Web Database Development Step by Step http://www.interlacken.com/webdb/