From the course: Learning PHP
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Build a simple templating system for the provided markup - PHP Tutorial
From the course: Learning PHP
Challenge: Build a simple templating system for the provided markup
(upbeat electronic music) - [Instructor] Complex websites are significantly easier to manage when using PHP because you have the opportunity to templatize sections, which you can then change in one place and know they'll change everywhere. For this challenge, take the Exercise Files, the provided markup, and turn it into a set of templates. Then use those templates to create an about and a contact page.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
Organizing your code2m 45s
-
(Locked)
Using include and require4m 43s
-
(Locked)
include_once and require_once2m 46s
-
(Locked)
Namespacing3m 29s
-
(Locked)
Challenge: Build a simple templating system for the provided markup32s
-
(Locked)
Solution: Build a simple templating system for the provided markup7m 18s
-
-
-
-
-