did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781904151197

Dreamweaver Mx: Advanced Php Web Development

by
  • ISBN13:

    9781904151197

  • ISBN10:

    1904151191

  • Format: Trade Paper
  • Copyright: 2003-01-02
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99

Table of Contents

Introduction 1(6)
PHP Syntax
7(28)
The PHP Escape Tags
7(1)
Variables
8(1)
Variable Types
9(5)
Boolean
9(1)
Integer
10(1)
Floating Point
10(1)
String
11(2)
Array
13(1)
Object
13(1)
Null
13(1)
Resource
14(1)
Pre-defined variables
14(6)
$Globals
14(1)
$_Server
14(1)
$_Get
15(1)
$_Post
16(2)
$_Cookie
18(1)
$_Files
19(1)
$_Env
19(1)
$_Request
19(1)
$_Session
19(1)
A Note on Pre-Defined Variables
19(1)
Operators
20(3)
Arithmetic Operators
20(1)
String Operators
21(1)
Comparison Operators
22(1)
Coding Style
23(12)
Code Conventions
24(4)
Code Organization
28(7)
Decision Making, Loops, and Arrays
35(32)
Control Structures
35(13)
Decision Making
35(8)
while and do...while
43(1)
for Loops
44(1)
Special Commands
45(3)
Arrays
48(7)
Creating an Array
48(2)
Using Arrays
50(4)
Two-Dimensional Arrays
54(1)
Array Navigation Commands
55(3)
Using an Array Pointer
55(3)
Sorting arrays
58(3)
Sorting Associative Arrays
59(1)
Sorting an array by Index
60(1)
Converting Arrays to Strings and Back Again
61(6)
Implode()
61(1)
explode()
62(5)
Error Handling
67(34)
Configuring the Dreamweaver MX Environment
68(3)
Code View - Changing the Default Font Size
68(1)
Configuring Code View
68(2)
Balance Braces
70(1)
PHP Error Types
71(4)
Syntax Errors
71(2)
Runtime Errors
73(1)
Logical Errors
74(1)
Error Types
75(5)
Standard Error Types
75(1)
Error-Reporting Levels
76(1)
Setting Error-Reporting Levels
77(2)
Setting Error Reporting in Your php.ini File
79(1)
User-Defined Errors
80(2)
Triggering Errors
81(1)
Custom Error Handling
82(9)
Setting a Custom Error Handler
82(1)
Creating a Custom Error-Handling Function
83(1)
Creating a Custom Error Page
84(2)
CSS Stylesheet
86(1)
Adding the Dynamic Error Data
87(2)
Creating a Test Page
89(2)
Restoring the Default PHP Error Handler
91(1)
Special Error Commands and Functions
91(1)
The @ directive
91(1)
die()
92(1)
error_log()
92(1)
Logging Errors to a File
93(1)
Sending Error Details by E-mail
94(2)
MySQL Error Functions
96(1)
Debugging Tips
96(2)
Indent your Code, and Use Comments
97(1)
Build Error Messages into your Code
97(1)
Break Your Code into Functions and Classes
97(1)
Don't Be Afraid to Ask for Help
97(1)
Sources of Help
98(3)
Web Sites
98(1)
Macromedia Newsgroups
98(3)
Object Oriented Programming in PHP
101(16)
What Is OOP?
101(5)
Objects in the Real World
106(11)
Turning Code Snippets into Classes
106(6)
Inheritance
112(5)
Strings and Regular Expressions
117(26)
Strings
117(12)
Strings Recap
117(1)
Operation on Strings
118(11)
Regular Expressions
129(14)
Syntax and Rules
132(1)
Using a Regular Expression in PHP
133(2)
Validating an E-Mail Address
135(8)
Extending Dreamweaver MX
143(28)
What Do I Need to Know to Create Extensions?
144(10)
The Dreamweaver MX API
144(1)
Extension Types - A Brief Introduction
145(9)
Extensibility and PHP
154(17)
Snippets
154(2)
Server Behaviors
156(7)
Server Objects
163(5)
Resources
168(3)
Date and Time
171(14)
The Timestamp
171(10)
Obtaining a Timestamp Value
172(3)
Formatting and Manipulating a Timestamp
175(5)
File Date Functions
180(1)
Using Date and Time in Dreamweaver MX
181(4)
Hand Coding Time and Date Functions
181(4)
File Handling
185(28)
Reading from and Writing to Files
185(11)
General Mechanism
185(6)
PHP Shortcuts to File Reading
191(2)
Files As a Whole
193(3)
Directories and Paths
196(4)
File Path
196(3)
Reading and Handling Directories
199(1)
File Upload
200(13)
HTML Section
200(2)
PHP Code
202(11)
Using PHP E-mail
213(16)
Configuring PHP Mail
213(5)
UNIX Configuration
214(1)
Windows Configuration
215(1)
The mail() Function
215(1)
Sending Mail
216(2)
MIME E-mails
218(11)
The MIME format
218(11)
XML
229(48)
Installing XML with PHP
229(4)
Windows Installation
229(1)
Linux Installation
230(3)
Checking XML Is Correctly Installed
233(1)
XML
234(1)
What Is XML?
234(6)
XML Document Format
235(1)
Creating an XML File in Dreamweaver MX
236(1)
Adding Custom Tags to Dreamweaver MX
237(3)
XML Technologies
240(3)
XHTML
240(1)
XSL and XSLT
241(1)
Parsers
242(1)
Processing XML - A Real-Life Example
243(6)
The Macromedia Developer Feed
243(1)
Creating a Style Sheet to Format the XML Feed
244(2)
Creating an XML Helper Class
246(3)
Processing the XML Feed Using SAX
249(7)
Creating the SAXParser Class
250(5)
Creating the PHP Page That Calls SAXParser
255(1)
Viewing the End Result
255(1)
Processing the XML Feed Using DOM
256(5)
Creating the DOMParse Class
256(4)
Creating the PHP Page That Calls DOMParse
260(1)
Viewing the End Result
261(1)
Processing the XML Feed Using XSLT
261(13)
Creating the XSLT Stylesheet
262(2)
The XSLT Stylesheet Step by Step
264(6)
Creating the PHP Code to Process the XSLT Transformation
270(2)
Creating the PHP Page That Calls xsltClass
272(1)
Viewing the End Result
273(1)
Overview of XSLT Processing
273(1)
XML in the Future
274(3)
Sessions and Cookies
277(18)
Introduction to Sessions
278(3)
Creating Our First Session
279(1)
Using Sessions
280(1)
Using unset() to Destroy a Session
281(1)
Sessions and Security
281(1)
Introduction to Cookies
281(14)
PHP and Cookies
282(2)
Deleting a Cookie
284(1)
Common Problems When Using Cookies
284(1)
A Simple Cookie Example
285(1)
A Cookie Application
286(9)
Server-Side Graphics
295(30)
Graphics Basics
296(1)
Image Formats
296(1)
Graphics Manipulation with PHP
297(13)
Installing GD from Source
297(1)
The GD API
298(12)
Using GD in Applications
310(8)
Creating a Dynamic Button
310(2)
A GD-Based Page Counter
312(2)
Graphical Page Counter - Without GD
314(2)
Creating Dynamic Charts
316(2)
Integration with Dreamweaver
318(7)
Using Flash with PHP and Dreamweaver MX
325(28)
Plugging in a Flash Movie
326(2)
Flash Interaction
328(2)
Generating Flash Movies
330(1)
Ming
330(1)
Ming Limitations
330(1)
Anatomy of a Flash movie
330(2)
Ming Tools
332(10)
Creating a Basic Flash Movie
332(4)
Adding ActionScript
336(6)
Flashbutton Class
342(6)
class_flashbutton.php
342(3)
flash_button.php
345(2)
mkbutton.php
347(1)
Creating a Flash Button Server Behavior
348(5)
Case Study 1: Personal Training Log 353(32)
Requirements
353(1)
Application Spec
354(2)
Database
354(2)
Components
356(1)
Application Development
356(29)
admin.php
356(14)
index.php
370(5)
reports.php
375(5)
mkgraph.php
380(5)
Case Study 2: A Content Management System 385(70)
A Content Management System (CMS)
385(1)
Defining the CMS
386(1)
Planning the CMS
386(2)
The PHP Classes
387(1)
PHP Requirements
388(1)
Creating the Site Structure
388(1)
Creating the New Database
388(2)
Creating the Database Table - tblmainmenu
389(1)
Creating the Database Table - tblnews
389(1)
Creating the Database Table - tblarticles
390(1)
Creating the Database Class
390(4)
Creating the Database Class Structure
390(3)
Using the database Class
393(1)
Administration Area CSS Styles
394(4)
Creating the Layout Stylesheet
394(1)
Creating the adminStyles Stylesheet
395(3)
Creating the Menu Administration Section
398(10)
Creating the Menu Administration Page
398(2)
The adminMenu.php Class
400(8)
Creating the News Administration Section
408(10)
Creating the editAdminNews.php Page
408(2)
Creating the adminNews Class
410(8)
Creating the Article Administration Section
418(12)
Creating the Web Page editAdminArticles.php
418(3)
Creating the adminArticles Class
421(9)
Creating the CSS Stylesheets for the Front End
430(4)
Creating the layout.css Stylesheet
431(1)
Creating the mainStyles.css Stylesheet
432(2)
Creating the Menu Class
434(4)
Creating the displayNews Class
438(4)
Creating the displayArticle Class
442(5)
The Page Class
447(1)
Creating page.php
448(1)
Setting Up the Content Management System
449(6)
Creating the Menu Options
449(2)
Creating News Items
451(1)
Creating Articles
451(4)
Index 455

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program