• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Server Behaviors

Chapter 10. Server Behaviors

One of the trickier parts of Web development is figuring out how to combine the HTML content on a Web page—that is, the front end your users see—with the application code that makes that page dynamic and lets your users interact with your application sever. In most cases, just pasting in a bunch of PHP or other server scripts is not going to make your page magically become database aware.

Fortunately, Dreamweaver’s server behaviors streamline and simplify the process of interweaving server code with HTML for you. As you may remember from Chapter 2, server behaviors are customizable blocks of server code (written in ColdFusion, PHP, JSP, or ASP) which, when used in conjunction with data from a database, add dynamic functionality to your page. Using Dreamweaver’s built-in tools, you don’t need to write complex code blocks in order for your pages to communicate with your application server. Instead, you simply fill out the appropriate dialog box with the names and locations of the relevant data, and Dreamweaver writes the code for you. In this chapter, we look at the built-in Server behaviors supplied with Dreamweaver that let you do things like register users and update database records.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint