PHP PDO, Custom Exception Handler, Namespaces for E-commerce
English | .MP4 | h264, yuv420p, 1280x720, 60.00 fps(r) | aac, 44100 Hz, mono | 1.25 GB
Genre: E-learning
This is the 3rd add-on series to our main E-commerce website with PHP, MySQL jQuery and PayPal course
In this series we will convert our old database class to the new, PDO wrapper class with all necessary methods to run our system using prepared statements and transaction methods to perform more complex operations.
We will also create a Custom Exception Handler for those exceptions, which haven't been caught within the try / catch statement. The Exception Handler will display a different message based on whether the site is in the production or development environment - to ensure that our visitors don't see any sensitive information should any accidental exception be thrown while they are browsing our online shop.
We will make use of the namespaces - introduced in PHP 5.3 in order to distinguish between our core classes and any external libraries we might add to the system.
We will replace the previously used PHPMailer with the Zend Framework 2 Mail component. This will give you a good understanding of how useful namespaces are when working with different libraries.
More Info
Download iiiup
http://www.iiiup.com/9dy/PHP-PDO-Custom-Exception-HandlerNamespaces-for-E-commerce.part1.rar
http://www.iiiup.com/9dz/PHP-PDO-Custom-Exception-HandlerNamespaces-for-E-commerce.part2.rar
http://www.iiiup.com/410/PHP-PDO-Custom-Exception-HandlerNamespaces-for-E-commerce.part3.rar
http://www.iiiup.com/411/PHP-PDO-Custom-Exception-HandlerNamespaces-for-E-commerce.part4.rar
发布日期: 2014-11-07