MySQL and PHP (CIS159)

Professor: Priscilla Grocer

Office: K-112
Phone: 508-678-2811 ext 2403
Email: Check with me about other email address to use for homework.

Course Description (from catalog): Students in this course learn to work with the open source database MySQL. They learn the concepts of creating a relational open source database using standard query techniques, including SQL and PHP and maintaining the database using SQL and PHP.

Course Objectives: Students who successful complete MySQL and PHP will be able to:

A possible referemce text book if you want one:

PHP 6/My SQL by Andy Harris
Premier Press, Course Technology
ISBN-13: 978-1-59863-798-4
ISBN-10: 1-59863-798-3
There are a lot of books on PHP and MySQL on the eLearning library. You are welcome to use one of them.
There is also a lot of information on the web in the form of tutorials that I found a reasonable substitute for a text. (this one I just looked at)

Material to be covered:
This is a listing of the topics being covered; the order will change depending on the needs of the class.
  1. Introduction/review of HTML
  2. Introduction/review of CSS
  3. Web environment
  4. Examine the concepts of open source as applicable to database implementation
  5. This course will cover MySQL which allows the user to create a database and PHP which is a programming language that can be used with MySQL The course will mix the learning of MySQL and PHP to achieve the goal of using them together effectively
  6. PHP
    1. Variables
    2. Conditions
    3. Functions
    4. Loops
    5. Arrays
    6. String Handling
    7. Files
    8. Images
    9. Email
    10. Cookies and Sessions
    11. Databases
    12. Objects
  7. MySQL
    1. Relational database structure and design
    2. Normalization
    3. Setting up a database
    4. Setting up a table and populating
    5. Implementing a database
    6. Querying a database
      1. Query techniques
      2. SQL
    7. Maintaining/updating a database
  8. Other topics will be covered as time permits

Requirements and Grading: The student will be expected to complete all assigned work. In addition there will be a final exam. A schedule of assignments, projects, exams, quizzes etc. will be posted on the Web site. Students should check on a regular basis.


Your commitment: For each hour in class, you should plan to put in 2 to 3 hours outside of class so you need to recognize that commitment and include it in your planning.
Below there is a TENATIVE schedule of homework based on previous semesters that will give you an idea of what you need to accomplish to be successful in the class. You are also required to read the chapters in the book and do outside research as assigned.

Week #1 HTML and CSS project        Week #2 PHP asssignment, quiz
Week #3 PHP assignment - game        Week #4 Loop and if assignment, SQL assignment
Week #5 SQL assignment, quiz        Week #6 Relational database assignment
Week #7 SQL play computer assignment, MySQL in PHP assignment        Week #8 SQL in PHP assignment
Week #9 PHP and MySQL assignment, update        Week #10 Array assignment, loops assignment, quiz
Week #11 PHP program        Week #12 Databases and images quiz, email
Week #13 More email assignment        Week #14 Debug and maintain, cookie and sessions
Week #15 Prepare for final        Final Final exam and status sheet required

It is very important that you let me know if you are having problems so we can work out a plan. I set up help sessions you can attend every week and I also am available for help via email. Please take advantage of my availability and don't let yourself get behind! I truly want to see you succeed!

Evaluation: Assignments, programs and exams are graded using either number grades or letter grades based on the following (A=90-100, B=80-89, C=70-79, D=60-69, F=below 60). The student's grade for the course will use the same scale and will be based on the percentages explained in the grading section. Plus and minus grades will be given.
Many of the assignments in this class are open ended - the grading will be based on how well the project demonstrates mastery of the material. Students who do a minimum of work will be graded accordingly. Assignments are only accepted if they are credible work and meet the minimum requirements and standards for that assignment. Assignments that are not accepted can be resubmitted. Resubmission is allowed on graded assignments, with permission of the instructor. You cannot earn an A+ on an assignment that is resubmitted. The instructor will only accept, without penalty, resubmissions on credible work. Resubmissions must be done within a week to avoid additional penalties for late assignments.
Note: To achieve an A+, on open-ended assignments, students must have done sufficient extra work in development or implementation tot make the assignment standout. In doing assignments, students must do their own work. Relying too heavily on my examples or working too closely with someone else will be penalized.
Assignments are due the week after they are assigned. Late assignments will be penalized. For purposes of this class, the week will end at midnight on Thursday. The new week will start on Monday morning.

Attendance: Attendance is based on email communication. Students must report their status once a week. This report can be combined with the submission of an assignment.

Bristol Community College Withdrawal Policy:
Students are responsible for withdrawing officially if they stop attending any or all classes. Faculty no longer have the ability to withdraw a student from a class. A grade of "F" will be assigned to any student who stops attending a course but does not officially withdraw. Students are encouraged to meet with an advisor before making any changes to their schedule. Withdrawals effect Satisfactory Academic Progress and can place the student at risk for academic probation or dismissal. Students who use financial aid and who subsequently withdraw may be required to return some or all funds received. Withdrawals are accepted until the tenth week of classes. Students may withdraw online in accessBCC, in person at any Enrollment Center, or via their college email to Email requests must come from the student's BCC college email address and must include the student's name, BCC student ID number, and course information (CRN, course and section number). Email from non-college accounts will not be accepted. If a student officially withdraws after the third week of classes, there will be no tuition or college fee refunds. For more information, see the College Catalog at: Students with questions should contact Enrollment Services via any of the methods mentioned above or at 774-357-2590.

Methodology: This course is sometimes offered using Student Option and sometimes as a Hybrid. The material is available in class and on the web: it is a combination of lectures and interactive projects with supplementary information available on the Web site for the course. Lectures are recorded and put online and Smartboard notes are captured and put on line for all inclass sessions. For other classes, lectures and notes are available. All students should read the assigned notes, study the presentations available and avail themselves of other resources at the web site in mastering the course material. In addition, students will be working independently on projects designed to give them additional computer skills and practical experience in Visual Basic. When appropriate, exercises and problem solving techniques are used. This syllabus is not to be construed as a contract in any way, shape, manner or form. This syllabus contains a suggested course outline and will be generally followed, subject to change according to the instructor’s discretion and needs. Academic flexibility is important!