Building Websites with PHP
Treehouse
Course Summary
Taking what you have learned so far with basic syntax, functions, and object oriented concepts we are going to build a simple website. We will together build a simple personal page with an about section and a contact form. After our contact form is submitted, we will create and send an email with the user submitted information.
-
+
Course Description
About this Course Taking what you have learned so far with basic syntax, functions, and object oriented concepts we are going to build a simple website. We will together build a simple personal page with an about section and a contact form.After our contact form is submitted, we will create and send an email with the user submitted information. What you'll learn
- composer
- slim framework
- swiftmailer
- monolog
About the Teacher
Hampton is a fan of family life, fly fishing, woodworking, and rare steaks. He has a rarely followed Twitter account and is a relentless optimist. #PMA
-
+
Course Syllabus
Dependency Management
A dependency manager keeps up with packages and libraries that you include on a project by project basis. This is different from what is called a Package manager which can install packages and libraries system wide. Using a dependency manager such as Composer will allow us several advantages over the commonly used method of just having several includes throughout your code. 6 steps- A Modern Look at PHP 3:50
- Introducing Composer 9:08
- Composer & Versioning 4 questions
- Autoloading 7:22
- Namespacing 8:00
- Autoloading & Namespacing 3 questions
Slim Basics & Twig Templates
Speaking generally a framework is a software structure that provides us with some generic functionality that we can modify to our own needs. Slim gives us this generic functionality we always need in a website, application, or api and none of excess code. In this stage I will walk through using Slim and integrating the Twig templating language to help keep our view code clean and simple. 10 stepsContact Form & Sending Email
Let’s say a visitor comes to your site, loves your work, and wants to send you a note? This sounds like we need to add a simple contact form! Well, the form is already done for you, we just need to handle the data once it is submitted and maybe send an email to ourselves. In this stage will do just that. 9 steps