PHP Error Reporting: How To Do It Right

Nonfiction, Computers, Programming, Programming Languages, Internet
Cover of the book PHP Error Reporting: How To Do It Right by Jay Docherty, Jay Docherty
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Jay Docherty ISBN: 9781301993505
Publisher: Jay Docherty Publication: August 20, 2013
Imprint: Smashwords Edition Language: English
Author: Jay Docherty
ISBN: 9781301993505
Publisher: Jay Docherty
Publication: August 20, 2013
Imprint: Smashwords Edition
Language: English

PHP's error reporting is not great out of the box, but luckily it provides us with a way to set up our own custom error handling. This book gets stuck into how to do error handling well, with practical examples and downloadable code. We also take a broader look at strategies and best practices.

What you will learn
- all about PHP’s built-in error reporting systems
- An approach to error reporting strategy (what we present to the user vs what goes to the developer)
- What information to include in PHP error reprts (and how to only include the useful stuff)
- sample code for informative admin emails
- Common pitfalls for admin emails, for example: how to throttle the admin email rate so you don’t fill up your email inbox
- Third-party tools to help with reporting
- And which pieces of code are most likely to fail unexpectedly (so we can make our reporting focus on at-risk code).

This book is for you if:
You've ever got phone calls or emails because a site you built is having a problem
You want to improve the error handling on your existing sites
You want your next site to have better error reporting
You want to improve your development and debugging workflow
You want to know about errors before your clients and customers do

Contents
Chapter 1: Definitions
Chapter 2: Built-in reporting mechanisms
Chapter 3: Strategies
Chapter 4: Custom Error Reporting
Chapter 5: Custom Error Reporting revisited: much better email reports
Chapter 6: Offline Error Reporting
Chapter 7: Trapping and Treating Errors
Appendix A: (Mostly) Completed GLPErrorReport Class
Resources

Also Included:
- Free downloads:
- A lightweight Error Reporting System that sends email reports.
- And an advanced PHP Class that is designed to send email reports in regular digests, and with duplicates filtered out!

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

PHP's error reporting is not great out of the box, but luckily it provides us with a way to set up our own custom error handling. This book gets stuck into how to do error handling well, with practical examples and downloadable code. We also take a broader look at strategies and best practices.

What you will learn
- all about PHP’s built-in error reporting systems
- An approach to error reporting strategy (what we present to the user vs what goes to the developer)
- What information to include in PHP error reprts (and how to only include the useful stuff)
- sample code for informative admin emails
- Common pitfalls for admin emails, for example: how to throttle the admin email rate so you don’t fill up your email inbox
- Third-party tools to help with reporting
- And which pieces of code are most likely to fail unexpectedly (so we can make our reporting focus on at-risk code).

This book is for you if:
You've ever got phone calls or emails because a site you built is having a problem
You want to improve the error handling on your existing sites
You want your next site to have better error reporting
You want to improve your development and debugging workflow
You want to know about errors before your clients and customers do

Contents
Chapter 1: Definitions
Chapter 2: Built-in reporting mechanisms
Chapter 3: Strategies
Chapter 4: Custom Error Reporting
Chapter 5: Custom Error Reporting revisited: much better email reports
Chapter 6: Offline Error Reporting
Chapter 7: Trapping and Treating Errors
Appendix A: (Mostly) Completed GLPErrorReport Class
Resources

Also Included:
- Free downloads:
- A lightweight Error Reporting System that sends email reports.
- And an advanced PHP Class that is designed to send email reports in regular digests, and with duplicates filtered out!

More books from Internet

Cover of the book Die perfekte Homepage für Ihre Ferienwohnung by Jay Docherty
Cover of the book Law, Privacy and Surveillance in Canada in the Post-Snowden Era by Jay Docherty
Cover of the book Copyright Protection for Websites by Jay Docherty
Cover of the book Digital Product Creation and Outsourcing 101 by Jay Docherty
Cover of the book The Quickest Copywriting Crash Course: Learn to Write Effective Copy in Minutes! by Jay Docherty
Cover of the book Solidity Programming Essentials by Jay Docherty
Cover of the book Ihr Recht als Blogger by Jay Docherty
Cover of the book Pages de capture by Jay Docherty
Cover of the book Online Traffic Generation by Jay Docherty
Cover of the book 21st Century SME: 10 Quick Tips for SMEs in the Digital Age by Jay Docherty
Cover of the book Video Marketer di Successo by Jay Docherty
Cover of the book Instant OpenLayers Starter by Jay Docherty
Cover of the book Rails: Up and Running by Jay Docherty
Cover of the book Instant GSON by Jay Docherty
Cover of the book The Ultimate Guide to Getting Sales on Fiverr For New Sellers by Jay Docherty
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy