13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

xxviii<br />

Contents<br />

Using a St<strong>and</strong>ard Directory Structure 542<br />

Documenting <strong>and</strong> Sharing In-House<br />

Functions 542<br />

Implementing Version Control 542<br />

Choosing a <strong>Development</strong> Environment 544<br />

Documenting Your Projects 544<br />

Prototyping 545<br />

Separating Logic <strong>and</strong> Content 546<br />

Optimizing Code 546<br />

Using Simple Optimizations 547<br />

Using Zend Products 547<br />

Testing 548<br />

Further Reading 549<br />

Next 549<br />

26 Debugging 551<br />

Programming Errors 551<br />

Syntax Errors 552<br />

Runtime Errors 553<br />

Logic Errors 558<br />

Variable Debugging Aid 559<br />

Error Reporting Levels 562<br />

Altering the Error Reporting Settings 563<br />

Triggering Your Own Errors 564<br />

H<strong>and</strong>ling Errors Gracefully 565<br />

Next 567<br />

27 Building User Authentication <strong>and</strong><br />

Personalization 569<br />

Solution Components 569<br />

User Identification <strong>and</strong> Personalization 570<br />

Storing Bookmarks 571<br />

Recommending Bookmarks 571<br />

Solution Overview 571<br />

Implementing the Database 573

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!