Prev | Current Page 108 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

However, when getting down to its details, CSS is a vast subject. There are many books
and tutorials you can find on CSS, including the free ones you can find at http://www.w3.org/Style/CSS/
and http://www.csstutorial.net. Many useful CSS-related resources can be found at http://
www.csszengarden.com/. The Wikipedia page on CSS contains useful information about the history of CSS and
about its current state and limitations.
You??™ll see much more action with CSS in Chapter 4.
Handling and Reporting Errors
Although the code will be written to run without any unpleasant surprises, there??™s always
a possibility that something might go wrong when processing client requests. The best strategy
to deal with these unexpected problems is to find a centralized way to handle these errors
and perform certain actions when they do happen.
PHP is known for its confusing error messages. If you??™ve worked with other programming
languages, you probably appreciate the information you can get from displaying the stack
trace when you have an error. Tracing information is not displayed by default when you have
a PHP error, so you??™ll want to change this behavior. In the development stage, tracing information
will help you debug the application, and in a release version, the error message must be
reported to the site administrator. Another problem is the tricky E_WARNING error message type,
because it??™s hard to tell whether it??™s fatal or not for the application.


Pages:
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120