Macromedia Dreamweaver Mx - 2004 - Using Dreamweaver
337
21
7MB
English
Pages 786
Report DMCA / Copyright
DOWNLOAD PDF FILE
Table of contents :
Contents......Page 3
Dreamweaver Basics......Page 15
Welcome to Dreamweaver......Page 17
Modernized page layout and design environment......Page 18
Powerful and open coding environment......Page 19
Experienced web designers......Page 20
Experienced hand-coders......Page 21
Planning your site......Page 22
Laying out web pages......Page 23
Setting up a web application......Page 24
Using Dreamweaver with other applications......Page 25
Dreamweaver and accessibility......Page 26
Dreamweaver Help systems......Page 27
Additional books and training......Page 28
HTML and web technologies resources......Page 29
Exploring the Workspace......Page 31
The workspace layout......Page 32
Dreamweaver workspace elements......Page 33
The Document window......Page 34
The Document toolbar......Page 35
The status bar......Page 36
The Insert bar......Page 37
About customizing Dreamweaver in multiuser systems......Page 38
Switching between views in the Document window......Page 39
Resizing the Document window......Page 40
Displaying toolbars......Page 41
Displaying the Insert bar and its categories and menus......Page 42
Using the Insert bar to insert objects......Page 43
Customizing and using the Favorites category in the Insert bar......Page 44
Using the Property inspector......Page 45
Viewing panels and panel groups......Page 46
Docking and undocking panels and panel groups......Page 47
Setting Panels preferences......Page 48
Support for operating system accessibility features (Windows only)......Page 49
Navigating panels......Page 50
Navigating dialog boxes......Page 51
Navigating tables......Page 52
Optimizing the workspace for accessible page design......Page 53
Dreamweaver customizing basics......Page 54
Hiding and displaying the Start page......Page 55
Setting Fonts preferences for Dreamweaver display......Page 56
Adding extensions to Dreamweaver......Page 57
About Dreamweaver sites......Page 59
Understanding local and remote folder structure......Page 60
Setting up a new Dreamweaver site......Page 62
Setting up a local folder......Page 63
Setting up a remote folder......Page 65
Troubleshooting the remote folder setup......Page 66
Editing an existing local website in Dreamweaver......Page 67
Editing an existing remote website in Dreamweaver......Page 68
Creating and Opening Documents......Page 69
Creating a document based on a Dreamweaver design file......Page 70
Creating a document based on an existing template......Page 71
Setting a default new document type......Page 72
Opening existing documents......Page 73
Importing a Microsoft Word HTML file......Page 74
Working with Dreamweaver Sites......Page 75
Managing Your Files......Page 77
Site cloaking......Page 78
Design Notes......Page 79
Accessing sites, a server, and local drives......Page 80
Setting up Dreamweaver to work without defining a site......Page 82
Viewing files and folders......Page 83
Customizing the file and folder details displayed in the expanded Files panel......Page 84
Setting preferences for the Files panel......Page 86
Working with files in the Files panel......Page 87
Finding files in your Dreamweaver site......Page 88
Working with a visual map of your site......Page 89
Viewing a site map......Page 90
Modifying the site map layout......Page 91
Working with pages in the site map......Page 92
Showing and hiding site map files......Page 94
Viewing the site from a branch......Page 95
Importing and exporting sites......Page 96
Checking in and checking out files......Page 97
Setting up the Check In/Check Out system......Page 98
Checking files into and out of a remote folder......Page 99
Undoing a file check-out......Page 100
Getting files from a remote server......Page 101
Putting files on a remote server......Page 102
Synchronizing the files on your local and remote sites......Page 103
Cloaking folders and files in your site......Page 104
Cloaking and uncloaking site folders......Page 105
Cloaking and uncloaking specific file types......Page 106
Uncloaking all folders and files......Page 107
Enabling and disabling Design Notes for a site......Page 108
Associating Design Notes with files......Page 109
Working with Design Notes......Page 110
Site testing guidelines......Page 111
Using reports to test your site......Page 112
About library items......Page 115
Working with assets......Page 116
Viewing assets in the Assets panel......Page 117
Refreshing the Assets panel......Page 118
Adding an asset to a document......Page 119
Applying a URL to an image or text using the Assets panel......Page 120
Selecting and editing assets......Page 121
Reusing assets in another site......Page 122
Adding assets to and removing assets from the Favorites list......Page 123
Creating a nickname for a favorite asset......Page 124
Creating a library item......Page 125
Inserting a library item in a document......Page 126
Editing a library item......Page 127
Editing the properties for a library item......Page 129
Editing a behavior in a library item......Page 130
Managing Contribute Sites with Dreamweaver......Page 133
Site structure and page design for a Contribute site......Page 134
Site connection for Contribute compatibility......Page 135
Contribute file and folder permissions on the server......Page 136
Contribute special files......Page 137
Administering a Contribute site using Dreamweaver......Page 138
Troubleshooting the Contribute administration tools......Page 140
Deleting, moving, or renaming a remote file in a Contribute site......Page 141
Unlocking a file in a Contribute site......Page 142
Laying Out Pages......Page 143
Laying Out Pages with CSS......Page 145
HTML code for layers......Page 146
Inserting content blocks for layout......Page 147
Changing highlight color for content blocks......Page 148
Working with content blocks for layout......Page 149
Inserting a layer......Page 150
Nesting layers......Page 151
Viewing and setting properties for a single layer......Page 152
Using the Layers panel......Page 153
Selecting layers......Page 154
Changing the stacking order of layers......Page 155
Changing layer visibility......Page 156
Resizing layers......Page 157
Aligning layers......Page 158
Preventing layer overlaps......Page 159
Using rulers and grids to lay out pages......Page 160
Using a tracing image......Page 161
Presenting Content with Tables......Page 163
Table formatting precedence in HTML......Page 164
Inserting a table and adding content......Page 165
Importing and exporting tabular data......Page 166
Selecting table elements......Page 167
Selecting rows or columns......Page 168
Selecting cells......Page 169
Formatting tables and cells......Page 170
Editing accessibility attributes for a table......Page 171
Using a design scheme to format a table......Page 172
Resizing columns and rows......Page 173
Clearing set widths and heights......Page 175
Adding and removing rows and columns......Page 176
Splitting and merging cells......Page 178
Copying, pasting, and deleting cells......Page 179
Sorting tables......Page 181
Laying Out Pages in Layout Mode......Page 183
About Layout mode......Page 184
About viewing table and cell widths in Layout mode......Page 185
Spacer images......Page 186
Drawing layout cells and tables......Page 187
Drawing a nested layout table......Page 189
Adding content to a layout cell......Page 190
Resizing and moving layout cells......Page 192
Resizing and moving layout tables......Page 193
Formatting layout tables......Page 194
Making a column autostretch or fixed-width......Page 195
Using spacer images......Page 196
Setting preferences for Layout mode......Page 197
Using Frames......Page 199
Understanding how frames and framesets work......Page 200
Deciding whether to use frames......Page 201
Understanding nested framesets......Page 202
Working with framesets in the Document window......Page 203
Using a predefined frameset......Page 204
Designing a frameset......Page 205
Selecting frames and framesets in the Frames panel......Page 207
Selecting frames and framesets in the Document window......Page 208
Saving frame and frameset files......Page 209
Viewing and setting frame properties and attributes......Page 210
Viewing and setting frameset properties......Page 212
Controlling frame content with links......Page 213
Using JavaScript behaviors with frames......Page 214
Managing Templates......Page 215
Types of template regions......Page 216
Viewing templates in Design view......Page 217
Viewing template-based documents in Design view......Page 218
Viewing template-based documents in Code view......Page 219
Template tags......Page 220
Links in templates......Page 221
Nested templates......Page 222
Server scripts in templates and template-based documents......Page 223
Template expressions......Page 224
The template expression language......Page 225
Creating a Dreamweaver template......Page 226
Customizing code coloring preferences for a template......Page 228
Creating templates for a Contribute site......Page 229
Inserting an editable region......Page 232
Removing an editable region......Page 233
Creating a repeating region in a template......Page 234
Setting alternating background colors in a repeating table......Page 236
Inserting an optional region......Page 237
Defining editable tag attributes......Page 239
Making an editable tag attribute uneditable......Page 240
Creating a nested template......Page 241
Opening a template for editing......Page 242
Manually updating documents that are based on templates......Page 243
Checking template syntax......Page 244
Managing templates......Page 245
Exporting and importing template XML content......Page 246
Applying a template to an existing document......Page 247
Editing content in a template-based document......Page 248
Modifying template properties......Page 249
Adding, deleting, and changing the order of a repeating region entry......Page 250
Adding Content to Pages......Page 251
About working with pages......Page 253
CSS versus HTML page properties......Page 254
About web-safe colors......Page 255
About using saved commands versus playing back steps......Page 256
Saving web pages......Page 257
Setting page properties......Page 258
Setting CSS link underline styles......Page 259
Working with colors......Page 260
Defining default text colors......Page 261
Selecting elements in the Document window......Page 262
Using the History panel......Page 263
Repeating steps......Page 265
Applying steps to multiple objects......Page 266
Creating new commands from history steps......Page 268
Recording commands......Page 269
Previewing and testing pages in browsers......Page 270
Setting download time and size preferences......Page 272
About inserting text......Page 273
Understanding Cascading Style Sheets......Page 274
Shorthand CSS properties......Page 276
The Property inspector and text formatting......Page 277
The Relevant CSS tab......Page 278
The CSS Properties tab......Page 279
Adding text to a document......Page 280
Copying and pasting text from MS Office documents......Page 281
Formatting paragraphs and document structure......Page 282
Indenting text......Page 283
Creating bulleted and numbered lists......Page 284
Formatting text......Page 285
Setting and changing fonts and styles......Page 286
Modifying font combinations......Page 287
Changing the text color......Page 288
Inserting special characters......Page 289
Using Cascading Style Sheets styles......Page 290
Using the CSS Styles panel......Page 291
Using the Relevant CSS tab......Page 292
Using the CSS Properties tab......Page 293
Creating a new CSS style......Page 294
Applying a Class style......Page 295
Linking to or importing an external CSS style sheet......Page 296
Editing a CSS style......Page 298
Editing a CSS style sheet......Page 299
Using Design-Time style sheets......Page 300
Searching for and replacing text......Page 301
About images......Page 303
Editing images in Dreamweaver......Page 304
Inserting an image......Page 305
Editing accessibility attributes for an image......Page 306
Replacing an image placeholder......Page 307
Aligning an image......Page 308
Resizing an image......Page 309
Optimizing an image using Fireworks......Page 310
Sharpening an image......Page 311
Creating a rollover image......Page 312
Applying behaviors to images......Page 313
Linking and Navigation......Page 315
Document-relative paths......Page 316
Jump menus......Page 318
Navigation bars......Page 319
Linking files and documents......Page 320
Linking to documents using the Property inspector......Page 321
Linking documents using the site map......Page 322
Using the Hyperlink command......Page 323
Linking to a specific place in a document......Page 324
Creating an e-mail link......Page 325
Creating null and script links......Page 326
Updating links automatically......Page 327
Modifying links in the site map......Page 328
Changing a link sitewide......Page 329
Inserting jump menus......Page 331
Troubleshooting jump menus......Page 332
Inserting a navigation bar......Page 333
Modifying a navigation bar......Page 334
Modifying an image map......Page 335
Checking for broken, external, and orphaned links......Page 336
Fixing broken links......Page 338
Opening linked documents in Dreamweaver......Page 339
About Fireworks and Flash integration......Page 341
Inserting a Fireworks image......Page 342
Editing a Fireworks image or table from Dreamweaver......Page 343
Using Fireworks to modify Dreamweaver image placeholders......Page 344
Specifying launch-and-edit preferences for Fireworks source files......Page 346
Pasting Fireworks HTML into Dreamweaver......Page 347
Creating a web photo album......Page 348
Editing Flash content in Dreamweaver......Page 351
Updating links in a SWF file......Page 353
Adding Audio, Video, and Interactive Elements......Page 355
Flash file types......Page 356
Audio file formats......Page 357
Inserting and editing media objects......Page 358
Starting an external editor from Dreamweaver......Page 359
Using Design Notes with media objects......Page 360
Creating and inserting a Flash button......Page 361
Playing a Flash button object in the document......Page 362
Inserting Flash content......Page 363
Inserting Flash elements......Page 364
Adding video......Page 365
Embedding a sound file......Page 366
Playing plug-ins in the Document window......Page 367
Inserting a Java applet......Page 368
Using behaviors to control media......Page 369
Using JavaScript Behaviors......Page 371
About events......Page 372
Applying a behavior......Page 373
Attaching a behavior to text......Page 374
Creating new actions......Page 375
Using the behavior actions that come with Dreamweaver......Page 376
Change Property......Page 377
Check Browser......Page 378
Check Plugin......Page 379
Drag Layer......Page 380
Gathering information about the draggable layer......Page 382
Go to URL......Page 383
Open Browser Window......Page 384
Popup Message......Page 386
Set Nav Bar Image......Page 387
Set Text of Frame......Page 388
Set Text of Layer......Page 389
Set Text of Text Field......Page 390
Show-Hide Layers......Page 391
Adding, removing, and changing the order of pop-up menu items......Page 393
Setting the appearance of a pop-up menu......Page 394
Setting a pop-up menu’s position in a document......Page 395
Swap Image......Page 396
Validate Form......Page 397
Working with Page Code......Page 399
Viewing your code......Page 401
Using the coder-oriented workspace (Windows only)......Page 402
Applying new formatting preferences to existing documents......Page 403
Setting code rewriting preferences......Page 404
Setting Validator preferences......Page 405
Opening and closing the Tag Library editor......Page 406
Adding libraries, tags, and attributes......Page 407
Editing libraries, tags, and attributes......Page 408
Deleting libraries, tags, and attributes......Page 409
Importing custom ASP.NET tags......Page 410
Importing JRun tags......Page 411
Using BBEdit (Macintosh only)......Page 412
Setting file type and external editor preferences......Page 413
Coding in Dreamweaver......Page 415
Fixing invalid markup......Page 416
About the XHTML code generated by Dreamweaver......Page 417
Server-side includes......Page 419
Regular expressions......Page 420
Using code hints......Page 423
Working with code snippets......Page 424
Inserting tags with the Tag Chooser......Page 425
Indenting code blocks......Page 426
Inserting HTML comments......Page 427
Searching for tags, attributes, or text contained in specific tags......Page 428
Saving search patterns......Page 429
Making quick changes to a code selection......Page 430
Using language-reference material......Page 431
Printing your code......Page 432
Cleaning up your code......Page 433
Checking for browser compatibility......Page 434
Validating your tags......Page 437
Making pages XHTML-compliant......Page 438
Using the ColdFusion debugger (Windows only)......Page 439
Editing code with the Property inspector......Page 441
Changing attributes with the Tag inspector......Page 442
Inserting an HTML tag with the Quick Tag Editor......Page 443
Applying HTML to a selection with the Quick Tag Editor......Page 444
Using the hints menu......Page 445
Writing a client-side script in Design view......Page 446
Editing a script in Design view......Page 447
Editing the contents of a server-side include......Page 448
Viewing and editing head content......Page 449
Preparing to Build Dynamic Sites......Page 451
What you need to build web applications......Page 453
Choosing your application server......Page 454
Installing a ColdFusion application server......Page 455
Installing an ASP application server......Page 456
Installing a PHP application server......Page 457
Creating a root folder for the application......Page 458
Defining a local folder......Page 459
Defining a remote folder......Page 460
Connecting to a database......Page 461
Connecting to a database......Page 463
Editing or deleting a database connection......Page 464
Obtaining an OLE DB provider for your database......Page 465
Creating a connection using Data Link Properties......Page 466
Sample OLE DB connection parameters for ASP.NET......Page 467
Editing or deleting a database connection......Page 468
ASP database connections......Page 469
OLE DB connections......Page 470
Creating a connection using a local DSN......Page 471
Creating a connection using a remote DSN......Page 472
Creating a DSN-less connection......Page 474
Finding a file’s physical path with the virtual path......Page 475
Using a virtual path to connect to a database......Page 476
Editing or deleting a database connection......Page 478
JDBC connection parameters......Page 479
Creating a database connection for JSP......Page 481
Connecting through an ODBC driver......Page 482
Installing the Sun JDBC-ODBC Bridge driver......Page 483
Creating an ODBC connection......Page 484
Editing or deleting a database connection......Page 485
Connecting to a database......Page 487
Editing or deleting a database connection......Page 488
Troubleshooting permissions problems......Page 489
80004005-Couldn’t use ‘(unknown)’; file already in use......Page 491
80004005-Operation must use an updateable query......Page 492
80040e14-Syntax error in INSERT INTO statement......Page 493
800a0bcd-Either BOF or EOF is true......Page 494
Making Pages Dynamic......Page 495
Displaying web-application development panels......Page 497
Viewing your database within Dreamweaver......Page 499
Viewing live data in Design view......Page 500
Requirements for displaying live data......Page 501
Copying dependent files......Page 502
Providing the page with expected parameters......Page 503
Troubleshooting Live Data view......Page 504
Previewing dynamic pages in a browser......Page 505
Restricting database information displayed in Dreamweaver......Page 506
The Workflow for Dynamic Page Design......Page 507
Creating a source of dynamic content......Page 508
Adding server behaviors to a page......Page 510
Testing and debugging the page......Page 511
Testing dynamic content......Page 512
Deleting dynamic content......Page 513
Using a database to store content......Page 515
Collecting data submitted by users......Page 516
Form parameters......Page 517
URL parameters......Page 518
Creating URL parameters using HTML links......Page 519
Understanding session variables......Page 520
Collecting information to store in session variables......Page 521
Storing information in session variables......Page 522
Example of information stored in session variables......Page 523
Retrieving data from session variables......Page 524
Defining Sources of Dynamic Content......Page 525
Understanding recordsets......Page 526
Parameters......Page 527
About session variables......Page 528
ColdFusion server variables......Page 529
Defining a recordset......Page 530
Creating a recordset without writing SQL......Page 531
Creating an advanced recordset by writing SQL......Page 532
Selecting specific rows from a table and ordering the results......Page 533
Defining URL parameters......Page 534
Defining form parameters......Page 535
Defining session variables......Page 536
Defining application variables for ASP and ColdFusion......Page 537
Defining ASP server variables......Page 538
Defining ColdFusion server variables......Page 539
Defining JavaBeans (JSP only)......Page 540
Caching content sources......Page 542
Copying a recordset from one page to another page......Page 543
Adding Dynamic Content to Web Pages......Page 545
Changing dynamic content......Page 546
Making text dynamic......Page 547
Making images dynamic......Page 548
Making HTML attributes dynamic......Page 549
Making ActiveX, Flash, and other object parameters dynamic......Page 551
Deleting dynamic content......Page 552
Creating dynamic pages in a Contribute site......Page 553
About displaying database records......Page 555
Navigating database recordset results......Page 556
Navigation bar design tasks......Page 557
Displaying multiple recordset results......Page 558
Record counters......Page 559
About the ASP.NET DataGrid and DataList controls......Page 560
The ASP.NET DataGrid web control......Page 561
Customizing existing data formats......Page 562
Creating a navigation bar using the Recordset Navigation Bar server behavior......Page 563
Creating a custom recordset navigation bar......Page 565
Displaying multiple recordset results......Page 566
Creating a table with a Repeat Region server behavior......Page 567
Creating custom record counters......Page 569
Adding an ASP.NET DataGrid to a page......Page 570
Adding an ASP.NET DataList to your page......Page 571
Modifying a DataGrid or DataList object......Page 572
About ColdFusion components......Page 573
Visually creating a component in Dreamweaver......Page 574
Viewing ColdFusion components in Dreamweaver......Page 575
Editing ColdFusion components in Dreamweaver......Page 576
Building web pages that use ColdFusion components......Page 577
Using Web Services......Page 579
The Dreamweaver web service workflow......Page 580
Web service software components......Page 581
Obtaining additional proxy generators......Page 582
Configuring proxy generators for use with Dreamweaver......Page 583
Adding a web service proxy using the WSDL description......Page 585
Adding a web service to a page......Page 586
Editing the UDDI web service site list......Page 588
About custom server behaviors......Page 589
Runtime Parameters......Page 590
Code block positioning within web pages......Page 591
Parameters in server behaviors......Page 592
Effectively using conditional expressions......Page 593
Repeating code blocks......Page 594
Coding guidelines......Page 596
Testing server behaviors......Page 597
Using the Server Behavior Builder......Page 598
Using parameters in server behaviors......Page 601
Positioning code blocks......Page 602
Creating a dialog box for a custom server behavior......Page 603
Editing and modifying server behaviors......Page 605
About forms......Page 607
Form objects......Page 608
Dynamic form objects......Page 610
Creating HTML forms......Page 611
Inserting HTML checkboxes......Page 613
Inserting HTML form menus......Page 614
Inserting image buttons......Page 615
Inserting file-upload fields......Page 616
Creating a dynamic HTML form menu......Page 617
Dynamically preselecting HTML checkboxes......Page 618
Dynamically preselecting HTML radio buttons......Page 619
Attaching JavaScript behaviors to HTML form objects......Page 620
Attaching custom scripts to HTML form buttons......Page 621
Creating accessible HTML forms......Page 622
Setting the properties of ASP.NET form controls......Page 623
Making an existing ASP.NET menu dynamic......Page 624
Dynamically preselecting ASP.NET CheckBox controls......Page 625
Dynamically preselecting an item in an ASP.NET RadioButtonList......Page 626
Developing Applications Rapidly......Page 627
About rapid application development (all servers)......Page 629
About master/detail pages......Page 630
About search/results pages......Page 631
Stored procedures......Page 632
JSP prepared statements......Page 633
Building master/detail pages in one operation (ColdFusion, ASP, JSP, PHP)......Page 634
Building master/detail pages block by block (ColdFusion)......Page 635
Creating the master page (ColdFusion)......Page 636
Creating a URL parameter for the links (ColdFusion)......Page 638
Finding and displaying the requested record on the detail page (ColdFusion)......Page 639
Building the search page......Page 641
Searching with only one search parameter......Page 642
Searching with multiple search parameters......Page 644
Displaying the results......Page 645
Building a record insert page (all servers)......Page 646
Building the insert page in one operation......Page 647
Building an insert page block by block......Page 648
Searching for the record to update (ColdFusion)......Page 649
Creating the links to open the update page (ColdFusion)......Page 650
Creating a URL parameter for update links (ColdFusion)......Page 651
Completing the update page in one operation (ColdFusion)......Page 652
Completing the update page block by block (ColdFusion)......Page 653
Searching for the record to delete (ColdFusion)......Page 655
Creating links to a confirmation page (ColdFusion)......Page 656
Creating a URL parameter to pass to the confirmation page (ColdFusion)......Page 658
Displaying the record on the confirmation page (ColdFusion)......Page 659
Adding logic to delete the record (ColdFusion)......Page 663
Using stored procedures to modify databases (ColdFusion)......Page 665
Building a registration page......Page 666
Letting users choose a user name and password......Page 667
Making sure the chosen user name is unique......Page 668
Creating a database table of registered users......Page 669
Checking the user name and password......Page 670
Building a page only authorized users can access......Page 671
Storing access privileges in the user database......Page 672
Logging out users......Page 673
Creating the master page (ASP.NET)......Page 675
Opening a detail page and passing a record ID (ASP.NET)......Page 677
Finding and displaying the requested record on the detail page (ASP.NET)......Page 679
Adding the search controls (ASP.NET)......Page 681
Searching with only one search parameter (ASP.NET)......Page 682
Searching with multiple search parameters (ASP.NET)......Page 683
Displaying the results in a DataGrid......Page 684
Building a record insert page (ASP.NET)......Page 685
Opening the update page and passing the record ID (ASP.NET)......Page 686
Retrieving the record to update (ASP.NET)......Page 689
Completing the update page in one operation (ASP.NET)......Page 690
Completing the update page block by block (ASP.NET)......Page 691
Searching for the record to delete (ASP.NET)......Page 692
Creating delete links on the search page (ASP.NET)......Page 693
Displaying the record on the confirmation page (ASP.NET)......Page 695
Adding logic to delete the record (ASP.NET)......Page 698
Using stored procedures to modify databases (ASP.NET)......Page 700
Building pages that restrict access to your site (ASP.NET)......Page 701
Building master/detail pages block by block (ASP and JSP)......Page 703
Opening the detail page and passing a record ID to it (ASP and JSP)......Page 704
Finding and displaying the requested record on the detail page (ASP and JSP)......Page 705
Building a record insert page (ASP and JSP)......Page 706
Opening the update page and passing the record ID (ASP and JSP)......Page 707
Retrieving the record to update (ASP and JSP)......Page 708
Completing the update page block by block (ASP and JSP)......Page 709
Building pages to delete a record (ASP and JSP)......Page 711
Retrieving the record to delete (ASP and JSP)......Page 712
Sending the delete command to the server (ASP and JSP)......Page 713
Using stored procedures to modify databases (ASP and JSP)......Page 714
Running a stored procedure (JSP)......Page 715
Using ASP commands to modify a database......Page 716
Building pages that restrict access to your site (ASP and JSP)......Page 718
Building master/detail pages block by block (PHP)......Page 719
Creating the master page (PHP)......Page 720
Creating the links to the detail page (PHP)......Page 722
Creating a URL parameter for the links (PHP)......Page 723
Finding and displaying the requested record on the detail page (PHP)......Page 724
Building a record insert page (PHP)......Page 725
Searching for the record to update (PHP)......Page 726
Creating the links to open the update page (PHP)......Page 727
Retrieving the record to update (PHP)......Page 728
Completing the update page in one operation (PHP)......Page 729
Completing the update page block by block (PHP)......Page 730
Creating links to a confirmation page (PHP)......Page 732
Creating a URL parameter to pass to the confirmation page (PHP)......Page 733
Displaying the record on the confirmation page (PHP)......Page 734
Adding logic to delete the record (PHP)......Page 737
Building pages that restrict access to your site (PHP)......Page 738
Appendixes......Page 739
About databases......Page 741
Studying Arrow Aircraft’s business rules and policies......Page 742
What questions will users ask the database?......Page 743
Choosing the columns in each table......Page 744
Defining relationships between the tables......Page 745
Communicating with the database......Page 747
Using database drivers to communicate with your database......Page 748
Viewing the ODBC drivers installed on a Windows system......Page 749
Invoking database drivers......Page 750
Using a DSN......Page 751
Syntax basics......Page 753
Filtering records based on the equality of two values......Page 755
Filtering records based on the likeness of two values......Page 756
Filtering records based on a range of values......Page 757
Sorting the records in a recordset......Page 758
Joining tables......Page 759
Index......Page 761