PHP PDO, Custom Exception Handler, Namespaces for E-commerce

Upgrade your E-commerce website with a new PDO Database class and Custom Exception Handler, enhancing security and performance with PHP, MySQL, and jQuery.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course dives into upgrading your E-commerce website using PHP, MySQL, and jQuery by switching to a PDO database wrapper, implementing a Custom Exception Handler, and utilizing Namespaces for better organization and security.

Key Points

  • Using PDO for database operations
  • Creating a Custom Exception Handler
  • Understanding and implementing Namespaces
  • Replacing PHPMailer with Zend Framework 2 Mail component
  • Improving security and error handling in E-commerce sites

Learning Outcomes

  • Students will be able to upgrade their database class to use PDO.
  • Learners will understand how to create and implement a Custom Exception Handler.
  • Participants will gain skills in using Namespaces effectively.
  • They will replace outdated mailing systems with modern components.

About This Course

New PDO Database class wrapper, Custom Exception Handler and use of Namespaces (3rd add-on for E-commerce series)

             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. 

            Associated titles: 

  • Build E-commerce website with PHP, MySQL, jQuery and PayPal

  • Static Urls, Meta tags and Re-send activation for E-commerce series (1st add-on)

  • Shipping address and Shipping cost for E-commerce series (2nd add-on)

 

  • Upgrade database class to use PHP PDO

  • Learn what are namespaces and how to use them with out system

  • Create custom Exception handler to deal with any uncaught exceptions thrown by the system

Course Curriculum

1 Lectures

2 Lectures

1 Lectures

Instructor

Profile photo of Sebastian Sulinski
Sebastian Sulinski

A passionate web developer with experience spreading over a decade. Founder of SSD Tutorials where he publishes his free and premium tutorials on how to build modern web applications. Currently living and working in UK as a Senior Web Developer. Hobbies include snowboarding, mountain biking, hiking, gardening, travelling and macro photography.

Review
4.9 course rating
4K ratings
ui-avatar of Shiva
Shiva
5.0
11 years ago

Clean explanation, pro coding best advanced php tutorial ever made. People who looking for learning adv php course this is the best php course series.

  • Helpful
  • Not helpful
ui-avatar of Raxu Nguyen
Raxu N.
5.0
11 years ago

You absolutely must take this course if you want to change from mysqli/mysqli to PDO. PDO is faster and supports more database-drivers. I'm sure this course will take you to the next level of php programming.

  • Helpful
  • Not helpful
ui-avatar of Aydın Güdüllü
Aydın G.
5.0
11 years ago

Thanks for the detailed narratives.

  • Helpful
  • Not helpful
ui-avatar of Gregor Leskovšek
Gregor L.
5.0
11 years ago

exactly what i've been searching for

  • Helpful
  • Not helpful
ui-avatar of Rajesh Rajan
Rajesh R.
5.0
11 years ago

This is one of the thorough course available out there. This is the course for you if you need a strong foundation on PHP, ecommerce etc., Go for it, if you have any questions

  • Helpful
  • Not helpful
ui-avatar of Martin Luan
Martin L.
5.0
11 years ago

This course is prepared by a true expert. I have been taking many of Mr. Sulinski’s courses and he has done a great job with all his courses. I found lots of useful tips here and looking forward to see more awesome classes from him.

  • Helpful
  • Not helpful
ui-avatar of Arnold Marcus
Arnold M.
5.0
11 years ago

Sebastian is a rare combination of a technical Guru and an amazing teacher. His courses are clear and very presented and he speaks in a clear, authoritative manner.

I honestly think he is the best teacher for any serious developer who wants to understand and develop serious PHP, MySql, jQuery, Paypal and more.

  • Helpful
  • Not helpful
ui-avatar of Matteo Hertel
Matteo H.
5.0
11 years ago

This course cover lot of advanced feature in PHP like PDO namespace and try and catch statement with this course you will learn how to make a rock-solid and maintainable application, thanks!

  • Helpful
  • Not helpful
ui-avatar of Anosh A
Anosh A.
5.0
11 years ago

The way of teaching is very easy to understand. I found them with detailed guidelines in each section.

  • Helpful
  • Not helpful
ui-avatar of Jakas Mirek
Jakas M.
5.0
11 years ago

Good content and perfectly explained.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses