home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1999 April / CD_Shareware_Magazine_31.iso / WIN95 / INTERNET / h12395co.exe / data.1 / tutor1a.hei < prev    next >
Encoding:
Text File  |  1997-11-05  |  3.0 KB  |  63 lines

  1. <include layout/heilay.hei>          
  2. <heitmlpage title="Database Applications">
  3.  
  4. We assume that one of the reasons you are interested in <mheitml> is because of
  5. the ease with which it allows you to access information stored in an SQL 
  6. Database. For this reason we present here a simple Guestbook 
  7. Application to demonstrate some of the Tags you could use to perform common
  8. Database operations such as inserting, updating, or deleting records, as well 
  9. as to submit queries that return groups of records from the Database.
  10. <p>
  11. We have added a 
  12. <font color="#8b0000">view</font> link to the bottom of each page in this 
  13. section to make it easier for
  14. you to examine the original Source Code that created them.  This link invokes 
  15. the Pretty Printing option of the 
  16. <font color="000064"><b>$debug</b></font> parameter. It shows everything 
  17. <mheitml> processes in <font color="#00008b">blue</font>. HTML Tags and text 
  18. are black, and comments to the Source Code (if any) are 
  19. <font color="640000">red</font>. 
  20. <bp>
  21.  
  22. The first view of any Source Code file shows the "hei-level" view of the Tags 
  23. used to create the page.  If you click on the underlined link in 
  24. the <font color="000064"><include></font> file, or
  25. the <font color="000064"><heitmlpage></font> Tag, you will be digging 
  26. down into the sub-component level where you'll see all of the petty little 
  27. details you have learned to hate when
  28. creating HTML-coded pages. Don't be surprised or bewildered if you don't
  29. understand everything going on in the sub-levels at this point. We just wanted 
  30. to give you a preview of <mheitml> features that will help you to build and 
  31. manage complex projects of your own. 
  32. <p>
  33. As you work through the pages in this section, you should keep in mind that
  34. there are alternative ways of creating such applications, which we will touch
  35. upon in the <sa "tutor2.hei">Advanced</sa> section later on. 
  36.  
  37. <bp> 
  38. The Creating SQL Tables example shows how the guestbook was 
  39. created. You can not execute it because the table was already
  40. created during installation. The Source Code shows how different create
  41. statements can be used to take advantage of specific Data Types used by
  42. various Database Systems.
  43. <blockquote><table>
  44. <exx href="initgbk.hei" showexec=false> Creating SQL Tables </exx> 
  45. <exx href="gins.hei">     Guest Insert / Sign Guestbook </exx>
  46. <exx href="gbook.hei">    Guest Display - Tables </exx>
  47. <exx href="gbook.hei" showexec=false> 
  48.                           Guest Display - Lists </exx>
  49. <exx href="gins1.hei" showexec=false> 
  50.                           Updating SQL Tables - Insert </exx>
  51. <exx href="gdel.hei" showexec=false> 
  52.                           Updating SQL Tables -  Delete </exx>
  53. <exx href="gbdisp.hei" > Guestbook Display by Country </exx>
  54. <exx href="sqlquery.hei"> Perform SQL-Queries and show Result </exx> 
  55. </table></blockquote>
  56.  
  57. <p>
  58. <sa href="index.hei">home</sa>, 
  59. <sa href="tutor1.hei">back</sa>, 
  60. <sa href="tutor2.hei">next</sa>
  61. <p>
  62. </heitmlpage>
  63.