HOME

COURSE SYLLABUS

Honors WEBD 153 - Beginning Web Databases

CRN# 01983

This is a hybrid course - part of your work will be on campus and the remainder of your work will be done online.

On campus meetings: Thursdays, 9:00-11:30 AM - Mesa campus, Room K103

Online course work: http://blackboard.sdccd.edu/ Login = student ID

Password= your birth date mmddyyyy format

3 Units

Letter Grade or Credit/No Credit Option

SPRING 2013: Jan 28-May 25

Professor Marianne Gibson | mgibson@sdccd.edu

Office hours: Thursdays 11:30 a.m. - 12:30 p.m.

COURSE INFORMATION

Course Description

This course provides a hands-on introduction to relational databases in a Web environment. Emphasis is placed on hand-coding Structured Query Language (SQL), specifically MySQL. Students master an open source database editor, XAMPP, to create and work with a database. Basic PHP: Hypertext Preprocessor (PHP) and Dreamweaver are used to bind data on a Web page. This course is designed for students studying web design and professionals updating their skills.

TOTAL LECTURE HOURS: 40 - 45
TOTAL LAB HOURS: 24 - 27
FIELD TRIP: Required

Requisites

Advisory:
ENGL 048 with a grade of "C" or better, or equivalent or Assessment Skill Level R5
and
ENGL 049 with a grade of "C" or better, or equivalent or Assessment Skill Level W5
and
CBTE 101 with a grade of "C" or better, or equivalent
and
CBTE 114 with a grade of "C" or better, or equivalent
and
WEBD 162 with a grade of "C" or better, or equivalent
or
CBTE 162 with a grade of "C" or better, or equivalent
or
WEBD 165 with a grade of "C" or better, or equivalent
or
CBTE 165 with a grade of "C" or better, or equivalent

NOTE: An Advisory will not prevent you from enrolling in this course. It advises you of the skills and knowledge you need to have to be successful in this course. Email your professor if you have questions on this topic.

Student Learning Outcomes

The students will be able to create a database table.
The students will be able to analyze the purpose of a database table and create fields that express the purpose.
The students will be able to create field labels that clearly communicate the field's purpose in the database.

Student Learning Objectives

Upon successful completion of the course the student will be able to:

  • Explain the database structure and the role of MySQL.
  • Describe relational databases in a Web environment that use MySQL and PHP and Dreamweaver.
  • Write MySQL statements.
  • Create, modify and delete databases.
  • Create, modify and delete tables.
  • Manipulate and retrieve data using MySQL statements.
  • Manage different types of string and numeric data.
  • Write optional select statements.
  • Administer a database.
  • Set up security on the database.
  • Connect a MySQL database using basic PHP.
  • Use bindings in Dreamweaver to link the data in a Web page.

Outline of Topics

The following topics are included in the framework of the course but are not intended as limits on content. The order of presentation and relative emphasis will vary with each instructor.

  1. Databases and Database Management Systems
  2. The SQL framework
  3. Data-driven applications
  4. Installing MySQL
  5. MySQL directory structure
  6. The relational model
    A. Data normalization
    B. Relationships
    C. Data model
    1. Entities
    2. Normalizing data
    3. Identifying relationships
  7. Managing databases
    A. Creating
    B. Modifying
    C. Deleting
  8. Managing tables
    A. Creating
    B. Modifying
    C. Deleting
  9. Retrieving information
    A. Show statements
    B. Describe statements
  10. Manipulating data
    A. Inserting
    B. Replacing
    C. Updating a single table
    D. Updating a joined table
    E. Deleting
  11. Retrieving data from a MySQL database
    A. Selecting
    B. Optional clauses of a select statement
    1. Where clause
    2. Group by clause
    3. Having clause
    4. Order by clause
    5. Limit clause
  12. Operators in an SQL statement
  13. Managing different types of data
    A. String functions
    B. Numeric function
  14. Administering MySQL
  15. MySQL security
  16. Introduction to optimizing performance
  17. Basic PHP
  18. Connecting MySQL using PHP
    A. Connecting to a MySQL database
    B. Retrieving data
    1. Processing the result set
    2. Manipulating data in PHP
    3. Redirecting browsers
  19. Introduction to binding data in Dreamweaver

POLICES

Attendance Requirements

It is your responsibility to drop and withdraw from this course. If you find you cannot complete this course, you will need to drop it in order to avoid getting an F. I will not drop or withdraw you if it appears to me that you have been active in the course. To avoid being dropped, you need to work in the course at least once a week. I do not sign late drop forms. Following is the stated District policy:

  • It is the student's responsibility to drop all classes in which he/she is no longer participating.
  • It is the instructor's discretion to withdraw a student after the add/drop deadline due to excessive absences.
  • Students who remain enrolled in a class beyond the published withdrawal deadline, as stated in the class schedule, will receive an evaluative letter grade in this class.
  • Attendance: The final grade in this class will be affected by active participation, including attendance, as outlined in the Weekly Assignments and Points section of this syllabus, which lists the point value awarded for each week's in-class participation. I will give extra credit points for students who have <1 unexcused absence in the course.

Statement of Retention

You must attend at least one course meeting activity prior to February 8th. This will demonstrate that you intend to complete the coursework.  If you do not attend the course regularly prior to this date, you will be dropped from the course for non-attendance and your seat will be opened up to allow someone on the waiting list to add the course by the last day to add.

Students, please discuss your plans to withdraw from class with me. There may be other options for you that may allow you to continue in class.

Important Dates

Start of the semester Jan. 28
Receive, process, and pay for add codes and to drop classes with no “W” recorded Feb. 8
Refund deadline - enrollment fees and/or non-resident tuition Feb. 8
Holiday - AbrahamLincoln's Birthday Feb. 15
Holiday - George Washington's Birthday Feb. 18
Last day to file a petition for Pass/No Pass grade option Mar. 4
Spring Break Mar. 25-30
Holiday - Cesar Chavez Day Mar. 29
Withdrawal deadline - No drops accepted after this date; will receive a "W Apr. 12
End of the semester May 25
Grades available on e-Grades June 3

Class Behavior and Student Code of Conduct

Students are expected to respect and obey standards of student conduct while in class and on the campus. The student Code of Conduct, disciplinary procedure, and student due process (Policy 310, 3100.1 and 3100.2) can be found in the current college catalog in the section Academic Information and Regulations and at the office of the Dean of Student Affairs. Charges of misconduct and disciplinary sanctions may be imposed upon students who violate these standards of conduct or provisions of college regulations.

Cheating and plagiarism: Students are expected to be honest and ethical at all times in the pursuit of academic goals. Students who are found to be in violation of Administrative Procedure 3100.3 Honest Academic Conduct, will receive a grade of zero on the assignment, quiz, or exam in question and may be referred for disciplinary action in accordance with Administrative Procedure 3100.2, Student Disciplinary Procedures.

As your instructor, I have the following expectations of your behavior in this class:

  1. Promote a courteous learning atmosphere by exhibiting mutual respect and consideration of the feelings, ideas, and contributions of others.
  2. Demonstrate respect for your work, as well as the work of others, by recognizing and acknowledging strengths and improvements.
  3. Demonstrate respect for tools, equipment and supplies in the class.
  4. Practice consideration for others by maintaining a clean and orderly learning environment.
  5. Recognize everyone's opportunity to contribute information in a relevant and meaningful manner by not monopolizing discussions, interrupting, illogical or inappropriate questions or comments.
  6. This class will be conducted in accordance with the college student code of conduct and basic standards of academic dishonesty.

Disabled Students Programs and Services

Students with disabilities who may need academic accommodations should discuss options with the Disabled Students Program and Services (DSPS) immediately.

Call or visit Disabled Students Program and Services (DSPS) located on the San Diego Mesa College campus. Contact information is listed on the DSPS webpage: http://www.sdmesa.edu/dsps/

Textbook and Software

REQUIRED:
book coverTextbook:PHP and MySQL for Dynamic Web Sites
Fourth Edition

ISBN-13:9780321784070
by Larry Ullman

OPTIONAL:
PHP for the WebTextbook:PHP for the Web
Fourth Edition

ISBN-13:97805321733450
by Larry Ullman

Supplies:
1. USB drive
2. Access to a Web hosting server
3. Software for writing HTML, MySQL, and PHP (XAMPP, MAMP, or USB Webserver)

Buy your textbook anywhere that meets your needs. Check the book name and ISBN numbers on the sites below carefully as publishers often change their links as new books are added to their stock; since the prices change periodically, carefully check the price online.

Software: Dreamweaver CS6 PC or Mac (If you do not have Dreamweaver, go to the Learning Resource Center, fourth floor, or K404 at Mesa College.) This class will use Dreamweaver CS6 to be in sync with the software at Mesa College. You can also use NetBeans or Eclipse, if you prefer.

NOTE: There are minor differences between the PC and the Mac version.

You can purchase your software anywhere. (Prices and software packages subject to change. Follow the links to confirm the current prices and packaged software configurations.)

The Foundation for California Community Colleges
The Foundation for the California Community Colleges has negotiated a special price for students, for both Mac and PC. Select the software package that needs your educational needs; pricing and software offerings can change at anytime CollegeSoftware.org.

Dreamweaver CS6 = about $125 (link straight to Dreamweaver software) http://www.journeyed.com/dept/Brands/Adobe/284060?SKW=ADSELECT1

You can buy either Dreamweaver alone or one of the bundles. The Foundation's software discount site features software from Adobe, Microsoft and more!

Mesa College Bookstore http://www.bookstore.sdccd.edu/mesa/ has a variety of software. Call the bookstore, visit their website, or stop by to see their current selection.

Make sure that any software you purchase will work with your computer and operating system. Shop around for the service and price that best matches your needs. Links and pricing may change. If you notice a change before I do, please let me know.

Correct your textbook

Your textbooks has errors. You need to correct them. Take a minute and open your book to the page listed below and write in the correction. If you don't, you may become frustrated when you are doing a Chapter. Also here is a link to the errata page. It is always updating!

Chapter Page # Description
Chapter 3: Creating Dynamic Web Sites 107 The second line of code under Step 3, and line 30 of Script 3.10 on page 106, should use multiplication, not division: $dollars = $gallons * $ppg;.
Chapter 6: Database Design 193 Step 6 should suggest that you repeat Steps 3-5.
Chapter 7: Advanced SQL and MySQL 205 The first sentence of the third paragraph should say “This join is selecting two columns…”.
Chapter 7: Advanced SQL and MySQL 201 The query in Step 3 is missing the % before the “Y” (as in the figure). This error is also repeated in the final tip on page 211.
Chapter 9: Using PHP with MySQL 277 The code in Step 8, which assigns the query to the $q variable is missing its terminating double quotation mark. The corresponding code in Script 9.3 is correct.
Chapter 10: Common Programming Techniques 320 In the first paragraph, it should say “the first ten records—0 through 9—should be retrieved”.
Chapter 11: Web Application Development 334 The code in Step 6 should end with a closing PHP tag.
Chapter 11: Web Application Development 354 The code in Step 8 is missing the closing </li>.
Chapter 11: Web Application Development 360 The code in Step 9 is missing the readfile() line included in the corresponding script.
Chapter 12: Cookies and Sessions 389 On line 19 of Script 12.8, the opening [ is missing after $data. The corresponding code in Step 2 is correct.
Chapter 13: Security Methods 403 The second sentence at the top of the right-hand column should identify Chapter 14 as "Perl-Compatible Regular Expressions".
Chapter 13: Security Methods 405 The parenthetical near the end of the first paragraph should say "i.e., $v was found in $value".
Chapter 13: Security Methods 405 On line 58 of Script 13.1, the $scrubbed array should be reset instead of $_POST, as this new array is what the form will use.
Chapter 14: Perl-Compatible Regular Expressions 450 The first line of the second paragraph should begin "Of these modifiers,"
Chapter 16: An OOP Primer 514 On lines 79-80 of Script 16.5, the form elements should be named just "start" and "end". The code in the corresponding step is correct.
Chapter 18: Example—User Registration 563 At the end of Script 18.2, the phrase "paste code here" should not be there. Ugh.
Chapter 18: Example—User Registration 586 The code in Step 2 should refer to $_GET['x'] not $trimmed['email'] (that’s what I get for copying and pasting). The code in the corresponding script is correct.
Chapter 18: Example—User Registration 598 Figure E is incorrect.
Chapter 19: Example—E-Commerce 621 On line 138 of Script 19.2, the two references to $_POST['existing'] should be to $_POST['artist']. This also applies to the code in Step 15 on page 627.
Chapter 19: Example—E-Commerce 635 On line 35 of Script 19.6, the closing </a> is missing. This also applies to the code in Step 5 on page 636.

Blackboard Course Management System

Hardware and Software Requirements

Students who do not have access to the equipment, software, and services necessary to take this course at home may use the resources at Mesa College. Computers are available for use in the LRC or classroom K404. Local public libraries may also have these resources available. Map of the Mesa College campus

Blackboard Orientation Material and Help Desk

You are expected to know how to use the Blackboard system. 

  • Some orientation material can be found in our Blackboard course after logging in. 
  • For additional training material, login instructions, student orientations, and support information please visit http://www.sdccdonline.net/students/training/.

Help Desk

Blackboard technical support is available to students 24/7. If you are having a technical problem with Blackboard, please reach out for help. Call the Help Desk via this toll-free phone 866-271-8794.

  • To get technical support using your online course.
  • If you are having trouble navigating and finding the assignments, discussions, etc.
  • To get help zipping folders and uploading them to the assignment dropbox.

You can also visit them online at https://www.sdccdonline.net/help for assistance with any technical issue that you experience with Blackboard and to view the FAQ's.

Internet Access

You will also need to have an ISP (Internet Service Provider) in order to fulfill the hybrid portion of this course online.

NOTE: Students have had problems accessing their course web site and their system locking up when they use AOL—if possible, avoid AOL.

Course Work and Evaluation

  1. Print out this syllabus and read it.
  2. You may order your textbook for this course online or buy it in the Mesa College Bookstore.  For complete ordering directions, read the section in this syllabus on textbook and ordering Information. 
  3. Before starting work on this course, study the Blackboard Learn 9.1 tutorials, on the Get Ready for Online Learning Success! page, which show you how to use the Blackboard tools so that you can successfully complete this online course. 
  4. To access all the work for each week, click on the Chapters link. The activities, assignments and quizzes that you will be turning in to be graded are linked on the weekly Chapters pages and are listed in this syllabus.
  5. If any of the assignments, quizzes, or graded activities are missing after the deadline submission, you will receive a ZERO.
  6. One quiz may be redone. You will receive the highest grades.
  7. Please allow a minimum of 72 hours for assignments and tests to be corrected, a response to be sent to you, and your grade to be entered into the grade log. If I do not check your submissions or email during the weekend, I will do so on Monday.
  8. Any changes to this syllabus will be posted.
  9. Be sure to check both your E-mail and the Discussion Board frequently.
  10. Except as discussed below, no work for this class will be accepted after 11:59pm on the last day for the semester.
  11. Students who remain enrolled in this class beyond the published withdrawal deadline, as stated in the class schedule, will receive an evaluative letter grade (A, B, C, D, or F) in the class. 
  12. A temporary grade of Incomplete ("I") may be assigned in very rare cases. Specifically, to be eligible for a grade of “I” a student must:
    1. request an Incomplete grade only after the published withdrawal deadline for the course. (Before that deadline the student should withdraw from the class with a “W.”)
    2. have achieved at least a “C” average for all work and tests due before the withdrawal deadline. (Missing work and tests that were due before the withdrawal deadline will be counted as “F” when determining this average.)
    3. provide written documentation by a police report or a statement from a medical doctor on official stationary to verify one or more of the following:
      1. a serious disaster, such as a major fire, flood, or earthquake.
      2. a death in the student’s immediate family.
      3. a very serious medical issue with respect to the student.

    If a grade of “I” is assigned, it must be cleared within one year or less.  If the “I” is not cleared within the allowed time, it will change to the grade that would have been assigned at the normal end-date of the class—based only upon  the work that had actually been submitted by the end date of the course.

    A grade of “I” should be viewed primarily as a humanitarian procedure that provides an opportunity for a good student to complete all the course requirements and to achieve the same grade that would have been assigned had a tragedy not occurred. 

    A grade of “I” is not appropriate if used merely to provide additional time for a student to make up usual coursework that is overdue, incomplete, or unsatisfactory.

ASSIGNMENTS AND GRADING SCALE

On-campus lecture: Thursdays, 9:00-11:30 AM in K103. Participation points are awards for participating in the on campus lecture, discussions, and in-class exercises - 20 points a week for 15 weeks for 300 possible points.
WEEK TOPICS ACTIVITIES AND ASSESSMENTS POINTS
Week 1 - Jan. 31
  Introductions and orientation Read the syllabus  
Go through the Student Tutorials on how to use the features of your online course. You will see the link on the homepage.
Read the following Chapters in your textbook PHP for the Web
by Larry Ullman
Read A Tour of the Main PHP Features in Dreamweaver (by David Powers) and
PHP for the Web
Introduction pages ix-xviii
 
Discussion board - Introductions 10
Read the book Introduction (pages ix -xx)  
In class exercise (Successful installation of XAMPP to your USB drive) 20
Week 2 - Feb. 7
  Ch. 1: Introduction to PHP Read Chapter 1: Introduction to PHP  
Quiz 1 20
In class exercises 20
Week 3 - Feb. 14
  Ch. 2 Programming with PHP Read Chapter 2: Programming with PHP  
Quiz 2 20
In class exercises (p. 35-72) 20
Week 4 - Feb. 21
  Ch. 3 Creating Dynamic Web Sites Read Chapter 3: Creating Dynamic Web Sites  
Complete the following exercise files: feedback.php and form_handling.php. Submit on Blackboard 20
Quiz 3 20
Week 5 - Feb. 28
  Ch. 4 Introduction to MySQL Read Chapter 4: Introduction to MySQL  
Complete the following exercise files: calculator.php | handle_calc.php | random.php
Submit on Blackboard.
20
   
Week 6 - Mar. 7
  Ch. 5 Introduction to SQL Read Chapter 5: Introduction to SQL  
   
In class exercises 20
Week 7 - Mar. 14
  Ch. 6 Database Design Read Chapter 6: Database Design  
   
In class exercises 20
Week 8 - Mar. 21
 

Ch. 7 AdvanceD SQL and MySQL

Read Chapter 7: Advanced SQL and MySQL  
In class exercises 20
   
Week 9 - Apr. 4
  Ch. 8 Error Handling and Debugging Read Chapter 8: Error Handling and Debugging  
In class exercises 20
   
Week 10 - Apr. 11
  Ch. 9 Using PHP and MySQL Read Chapter 9: Using PHP and MySQL  
In class exercises 20
Week 11 - Apr. 18
  Ch. 10 Common Programming Techniques Read Chapter 10: Common Programming Techniques  
In class exercises 20
Week 12 - Apr. 25
  Ch. 11 Web Application Development Read Chapter 11: Web Application Development  
PHP Web Developer Meetup Group Meeting 4/?/2013 25
In class exercises 20
Week 13 - May 2
  Ch. 12 Cookies and Sessions Read Chapter 12: Cookies and Sessions  
   
In class exercises 20
Week 14 - May 9
  Ch. 13 Security Methods Read Chapter 13: Security Methods  
Quiz 3 - MySQL 30
In class exercises 20
Week 15 - May 16
  Website Project Website Project Completion  
   
In class presentation of website project  
Final's Week - May 23
  Final Exam Final Exam – 50 points (On Blackboard) Completed by 5/23/13, no exceptions! 50
    Participation points for attending the on-campus lectures - 20 points @15 weeks for 300 possible points. 300

A = 90-100% B = 80-89% C = 70-79% D= 60-69% F = 0-59%
Your grade will be based on your assignments, quizzes, and discussion postings. The final grade in this class will be affected by active participation in the discussion postings.

I reserve the right to change the syllabus as the course progresses.