home *** CD-ROM | disk | FTP | other *** search
- <include layout/heilay.hei>
- <heitmlpage title="Database Applications">
-
- We assume that one of the reasons you are interested in <mheitml> is because of
- the ease with which it allows you to access information stored in an SQL
- Database. For this reason we present here a simple Guestbook
- Application to demonstrate some of the Tags you could use to perform common
- Database operations such as inserting, updating, or deleting records, as well
- as to submit queries that return groups of records from the Database.
- <p>
- We have added a
- <font color="#8b0000">view</font> link to the bottom of each page in this
- section to make it easier for
- you to examine the original Source Code that created them. This link invokes
- the Pretty Printing option of the
- <font color="000064"><b>$debug</b></font> parameter. It shows everything
- <mheitml> processes in <font color="#00008b">blue</font>. HTML Tags and text
- are black, and comments to the Source Code (if any) are
- <font color="640000">red</font>.
- <bp>
-
- The first view of any Source Code file shows the "hei-level" view of the Tags
- used to create the page. If you click on the underlined link in
- the <font color="000064"><include></font> file, or
- the <font color="000064"><heitmlpage></font> Tag, you will be digging
- down into the sub-component level where you'll see all of the petty little
- details you have learned to hate when
- creating HTML-coded pages. Don't be surprised or bewildered if you don't
- understand everything going on in the sub-levels at this point. We just wanted
- to give you a preview of <mheitml> features that will help you to build and
- manage complex projects of your own.
- <p>
- As you work through the pages in this section, you should keep in mind that
- there are alternative ways of creating such applications, which we will touch
- upon in the <sa "tutor2.hei">Advanced</sa> section later on.
-
- <bp>
- The Creating SQL Tables example shows how the guestbook was
- created. You can not execute it because the table was already
- created during installation. The Source Code shows how different create
- statements can be used to take advantage of specific Data Types used by
- various Database Systems.
- <blockquote><table>
- <exx href="initgbk.hei" showexec=false> Creating SQL Tables </exx>
- <exx href="gins.hei"> Guest Insert / Sign Guestbook </exx>
- <exx href="gbook.hei"> Guest Display - Tables </exx>
- <exx href="gbook.hei" showexec=false>
- Guest Display - Lists </exx>
- <exx href="gins1.hei" showexec=false>
- Updating SQL Tables - Insert </exx>
- <exx href="gdel.hei" showexec=false>
- Updating SQL Tables - Delete </exx>
- <exx href="gbdisp.hei" > Guestbook Display by Country </exx>
- <exx href="sqlquery.hei"> Perform SQL-Queries and show Result </exx>
- </table></blockquote>
-
- <p>
- <sa href="index.hei">home</sa>,
- <sa href="tutor1.hei">back</sa>,
- <sa href="tutor2.hei">next</sa>
- <p>
- </heitmlpage>
-