Cuyamaca Collegeskip to content
Apply  & Enroll
Departments
Help for Students
Find People
Online Services
Campus Information
Student Activites
CIS 213 Project:  Libraries and Templates

 

 



 
  

Introduction

Libraries, templates, and include files are important ways to make site maintenance easier.  Take a moment to review this table so you can begin to understand the differences between the technologies.  Review this table after you do the lab.  In this project, you will create a simple 4-page web site that uses a library, a template, and an include file. See my example before you begin.

  used for how updating comments
Template entire page layouts/designs that repeat on multiple pages When you change the Dreamweaver Template, it updates all pages that use the template After the update is made, you have to upload each page that uses the template Dreamweaver only, client sided processing
Library elements that repeat on multiple pages (like navigation bars or footers) When you change the Library item in Dreamweaver, it automatically updates all pages that use that library item. After the update is made, you have to upload each page that uses the library Dreamweaver only, client sided processing
Include File elements that repeat on multiple pages (like navigation bars or footers) Include files are done with scripting (Dreamweaver not required).  The page includes CODE that points to a file and INCLUDES its code. After you change an include file, you only need to upload it. Server sided processing.  Your server must support the technology.  (We will use ASP.)

 

What to Do

  1. Create a folder for this project. Give it a name that makes sense to you and store all files for this project in this folder.
  2. Use any reference (book, help menus, or video demonstrations shown below) to learn:
    • how to create, insert, and modify a library (and update pages that use the library)
    • how to create a template, define editable areas, apply and detach a template, and change a template (and update pages that use that template)
    • how to create an include file,insert the code that points to the include file, and modify and upload an include file
    Here are some video demonstrations to help you:
  3. Create an asp file.  On this page, create a layout with navigation on the left and content on the right.  Add some content. This can be very simple - see my example.
  4. Turn the navigation into a library and turn the footer into an include file. Add the include statement to include the include file.
  5. Save your file as a template and define the navigation, content, and footer areas as editable regions. 
  6. Create 4 pages and apply the template to each page.  Change the content in each page.
  7. Experiment with making changes to see how pages are updated.

Submitting work

  • Upload your files to the cis2 server. Don't forget to test your work on the server!
  • Submit your URL to Blackboard.

Grading - 60 points

Points Requirements
20 Template
20 Library
20 Include file

 

 

   

 

    CIS 212 | CIS 213 | GD 217 | ED 214 | WebCT | Blackboard | Web Development Links