Simple CMS
Objectives
- Students will be able to build a simple Content Management System (CMS) using building block provided by the instructor.
Materials
SampleFiles.zip CodeSample.zip
CodePieces.zip
- Computer for each student with Jedit Editor, browser, and internet access
- Server Account for each student
Audience
TimeFrame
- Approximately 1 hour, or one class period should be planned for this lesson.
Previous Knowledge
- Students will have a good understanding of HTML, CSS, some simple PHP commands and how to access the web server.
Lesson Outline
Note: The focus of this lesson will be to (1) demonstrate to student how to put together the CMS using building blocks given.
The instructor should demonstrate to the students how to build a CMS using the sample files in the SampleFiles.zip. This demonstration should be done while the students watch, not following along necessarily.
Special care should be taken to point out the important points of how this is to be done. Among these points are:
- The correct folder organization
- The correct place to upload the files to
- Correct PHP syntax for including one file in another
- The database settings
- The PHP code that might be new to the students
The students will next work with the CodePieces.zip file to replicate what the instructor demonstrated. The instructor will move around the room helping the students where necessary.
Follow-up Lessons
Following lessons in the series will include similar topics as this one, but gradually more and more of the "given" pieces will be missing and the students will need to create these components.