Gongjun Yan


Ph.D, Assistant Professor in Informatics
School of Science
Indiana University
Kokomo, IN 46904-9003, USA



Room 206F, Hunt Hall
goyan@iuk.edu
Phone: (765) 455-9335
Fax: (765) 455-9310
Schedule

INFO-I 101 - Introduction to Informatics

I213, Monday and Wednesday 1:00PM - 2:15PM @ Hunts 224

Notes:

  • This schedule is subject to change and will be updated throughout the semester.
  • Lecture notes and assignments are linked into this schedule. (Lecture notes printing tips)
  • Please contact Gongjun Yan (gyan at iuk.edu) before re-distributing lecture note slides.
  • Topics in italics are tentative and are subject to change.
  • IUK Fall 2011 Academic Calendar, Exam Schedule

Next Lecture | Research Project Info

Date Slides Topics and Reading for this class meeting Assignment / Due Notes
Aug 22, M Welcome Syllabus
  1. Course Overview

Static web site: Intro to HTTP

Aug 23, W Lab 01 Install PHP, MYSQL, Apache; Bascis of Linux; Assignment 1 (Install PHP, MYSQL, Apache; implement "Hello, world")
Aug 29, M Part-01 Client-Server Communication; Socket; URL
Aug 31, W Lab 02 Web pages of IUK. Assignment 2 (simple version of IUK).
Sep 5, M No Class Labor Day
Sep 7, W Part-02 Intro to XML and XHTML
Sep 12, M Lab 03 XML Assignment 3 (Convert an HTML document to XHTML and validate it.) Reference: http://www.santarosa.edu/~lhemenw/css/demo-files/homework.html
Sep 14, W Part-03 CSS
Sep 19, M Lab 04 Apply CSS to web pages (font, layout,tables,navigation) Assignment 4 (Improve simple IUK web site) Reference: http://www.santarosa.edu/~lhemenw/css/assignments.html#three
Sep 21, W Exam One Exam One Exam One
Sep 26, M Part-03 Dynamic web pages:
  1. Origins of PHP
  2. Server Side Includes
  3. Embedding Scripts in HTML : 'Hello World' (basic Syntax); phpinfo()
  4. Embedding HTML in Scripts
  5. How the Web Really Works?HTTP & Server-Side Scripting
  6. Variables
  • Syntax
  • Loose Typing
  • Type Casting
  • Environment Variables
  1. $QUERY_STRING
  2. Forms (Refresher:

Lecture from 409)

Sep 28, W Lab 05 Creating web pages using PHP
  1. Control Structures
  • If-Then-Else
  • Switch
  • Loops
  1. Coding Style
  • Indentation
  • Comments
  • Variable Naming
Assignment 5 (a simple caculator using PHP)
Oct 3, M Part-04 *debug
  • Stateless Code
  • Maintaining State with Files
  • Text Files
  • Text Files (2)
Oct 5, W Lab 06 Files in web applications; invite Robbin to give use a talk about his none-profit project.

Reference: http://molly.rit.edu/modules/aux/slides/showslides.maml?t_LectureID=25&t_HeaderText=Programming%

Assignment 6 (House tax query service) Read Ch17
Oct 10, M Part-04 #Reusable Code
  • Functions
  • Variable Scope
  • Include Files
  1. Maintaining State
  • Session Variables
Database support
Oct 12, W Lab 07 #PHP Database Connectivity
  • Databases Available
  • MySQL
  • Simple Relational Design
  • phpMyAdmin
  • Database Abstraction
Oct 17, M No Class Fall Recess
Oct 19, W Part-05 More Database topics: query,tables,manage
Oct 24, M Part-06 #Using Databases from PHP
  • Fetching Data
*Assignment 7; (DVD Renting Business/Shop)
  • reading ch 6
Oct 26, W Exam Two Exam Two Exam Two
Oct 31, M Part-05 #Using Databases from PHP
  • Inserting Data
Nov 2, W Lab 08 Validating user input
Nov 7, M Part-06 Handle errors Assignment 8;(improving DVD Renting Business/Shop: input validation and error handle)
Nov 9, W Lab 09 Sending emails using php
Nov 14, M Part-07 Merge email notification in DVD shop Assignment 9;(improving DVD Renting Business/Shop: email notification)
Nov 16, W Lab 10 Signup forms
Nov 21, M Part-07 Mailing list Assignment 10 (impelement a mailing list service)
Nov 23, W No Class Thanksgiving
Nov 28, M Part-08 Login, profiles
Nov 30, W Part-08 sessions and cookies Assignment 11 (impelement a mailing list service)
Dec 5, M Part-08 Code reuseability
Dec 7, W Review Review Project presentation
Dec 12, M Final Exam Final Exam Final Exam, 1:00PM-3:00PM, Hunt Hall (SM) 224