مشخصات فیلم
-
7172
-
2373
-
0
-
0.0
-
0
دانلود فیلم آموزش PHP PDO, Custom Exception Handler, Namespaces for E-commerce
Udemy PHP PDO, Custom Exception Handler, Namespaces for E-commerce
مدرس:Sebastian Sulinski
در این سری ویدئویی، کلاس های قدیمی database با استفاده از تمامی متدهای جدید، با کلاس های جدید PDO wrapper جایگزین می شوند. همچنین، یک Custom Exception Handler برای exception هایی که درون دستورات try/catch قرار نگرفته اند، ایجاد می گردد. Exception Handler بسته به اینکه سایت در محیط توسعه یا تولید قرار گرفته است، پیام های متفاوتی را نمایش خواهد داد. این کار برای حصول اطمینان از این امر صورت می گیرد که بازدید کنندگان هیچگونه اطلاعات sensitive و یا exception تصادفی را به هنگام مرور فروشگاه آنلاین ما، مشاهده نخواهند نمود. همچنین، در این ویدئو به منظور تمایز دادن بین کلاس های اصلی / مرکزی، و هرگونه کتابخانه خارجی که باید به سیستم بیفزاییم، از namespace ها استفاده می گردد. علاوه براین، PHPMailer استفاده شده، با کامپوننت Zend Framework 2 Mail جایگزین خواهیم نمود. این فرآیند موجب می شود که کاربر با اهمیت و کاربرد namespace ها به هنگام کار با کتابخانه های متفاوت، آشنا شود.
نیازمندی ها: از آنجایی که در این دوره ی آموزشی از ویژگی هایی از قبیل namespacing استفاده می شود، باید مطمئن شد که web hosting ما از نسخه ی PHP 5.3 + پشتیبانی می کند.
سرفصل های دوره:
- مقدمه
- پیکربندی
- کلاس Email
- کلاس جدید database
- Exception Handler سفارشی
- معرفی دیگر کلاس ها
- ساختار Front
- و…
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) Buy whole series and save money What are the requirements? Because we will be using features such as namespacing, you will have to make sure that your web hosting supports PHP version 5.3 + Standard PHP web hosting environment with php, mysql and php PDO class enabled. What am I going to get from this course? 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 Replace PHPMailer with Zend Framework 2 Mail component What is the target audience? Anyone who previously completed the main course and the first 2 add-on series Anyone who wish to learn about the topics included in the description Previous PHP knowledge is required on the basic / intermediate level Section 1: Introduction Section 2: Configuration Section 3: Email class Section 4: New Database class Section 5: Custom Exception Handler Section 6: Other classes Section 7: Front structure