Foothill CollegeApproved Course Outlines

Physical Sciences, Mathematics & Engineering Division
C S 22AJAVASCRIPT FOR PROGRAMMERSWinter 2014
4 hours lecture, 3 hours laboratory.5 Units

Total Quarter Learning Hours: 84 (Total of All Lecture, Lecture/Lab, and Lab hours X 12)
 
 Lecture Hours: 4 Lab Hours: 3 Lecture/Lab:
 Note: If Lab hours are specified, see item 10. Lab Content below.

Repeatability -
Statement: Not Repeatable.

Status -
 Course Status: ActiveGrading: Letter Grade with P/NP option
 Degree Status: ApplicableCredit Status: Credit
 Degree or Certificate Requirement: AS Degree
 GE Status: Non-GE

Articulation Office Information -
 Transferability: BothValidation: 6/4/12

1. Description -
Introduction to object oriented programming in JavaScript. Topics include: client and server side programming, Model/View/Controller architecture, current tools and testing methods, interaction with HTML and CSS, Document Object Model, XML and JSON. Students will have practice writing programs for mobile web browsers and creating dynamic web pages including animation.
Prerequisite: None
Co-requisite: None
Advisory: C S 1A or 2A or equivalent; knowledge of HTML and CSS.

2. Course Objectives -
The student will be able to:
  1. Install and use a web application development environment.
  2. Produce clearly written code in an industry standard style appropriate for JavaScript.
  3. Understand the basic syntax of the JavaScript language.
  4. Use popular JavaScript libraries and frameworks.
  5. Write a JavaScript program that responds appropriately to user events.
  6. Write client-side JavaScript code to modify the Document Object Model.
  7. Write client-side JavaScript code that makes requests to and handles replies from the server.
  8. Write server-side JavaScript code for authentication, optimization and data storage.
  9. Understand Web application architecture.
  10. Address performance in web applications
  11. Use XML and JSON to access data for a web application.
3. Special Facilities and/or Equipment -
  1. Access to a computer laboratory with internet access and modern browsers.
  2. Web server that will host the student work.
  3. Website or course management system with an assignment posting component (through which all lab assignments are to be submitted) and a forum component (where students can discuss course material and receive help from the instructor). This applies to all sections, including on-campus (i.e., face-to-face) offerings.
  4. When taught via Foothill Global Access on the Internet, a fully functional and maintained course management system through which the instructor and students can interact.
  5. When taught via Foothill Global Access on the Internet, students must have currently existing e-mail accounts and ongoing access to computers with internet capabilities.

4. Course Content (Body of knowledge) -
  1. Web application development environment.
    1. Current browser with web development tools
    2. Selenium for testing
    3. Webkit
    4. Mobile browsers
    5. Test driven development
  2. Coding style
    1. Documentation
    2. Indentation
    3. Object orientation
    4. Names for identifiers
    5. tradeoffs between thin/fat client
    6. tradeoffs between using html tags / JavaScript code
    7. minimize dependencies between modules
    8. model/view controller architecture
  3. JavaScript syntax
    1. variables and data types
    2. expressions and operators
    3. control structures
    4. arrays and objects
    5. functions including recursion
    6. prototypes
    7. closures
    8. namespaces
    9. json
  4. Libraries and frameworks
    1. JQuery
    2. YUI
    3. Dojo
  5. User events
    1. mouse, keyboard, on page load, transitions
    2. Model/View/Controller architecture
    3. Interaction with HTML and CSS
    4. Asynchronous request to server
    5. Dynamic page refresh
  6. Document Object Model
    1. HTML 5 and CSS 3
    2. Traversing a document
    3. Finding elements in a document
    4. Modifying elements in a document
  7. Communicating with the server
    1. Making requests to the server
    2. Handling responses from the server
    3. asynchronous requests and responses
    4. synchronous requests and responses
  8. Server-side JavaScript
    1. Rendering an HTML page
    2. Caching data for optimization
    3. Security
    4. user authentication
    5. data storage
  9. Web application architecture
    1. tomcat vs. node.js
    2. http
    3. middleware
    4. servlets
    5. LAMP
    6. Databases
  10. Performance issues
    1. throughput vs. latency
    2. concurrency
    3. UI issues: bookmarks and back button
    4. Degradeable user interface
    5. Issues with mobile platforms: phones and tablets
    6. memoization
  11. XML and JSON
    1. Comparing XML and JSON
    2. Storage of metadata
    3. Storage of user data
5. Repeatability - Moved to header area.
 
6. Methods of Evaluation -
  1. Tests and quizzes
  2. Written laboratory assignments which include source code, sample runs and documentation.
  3. Final examination
7. Representative Text(s) -
Flanagan, David, JavaScript The Definitive Guide, 6th Edition, O'Reilly, 2011.

8. Disciplines -
Computer Science
 
9. Method of Instruction -
  1. Lectures which include motivation for syntax and use of the JavaScript language and OOP concepts, example programs, and analysis of these programs.
  2. On-line labs (for all sections, including those meeting face-to-face/on campus) consisting of
    1. A programming assignment web-page located on a college-hosted course management system or other department-approved Internet environment. Here, the students will review the specification of each programming assignment and submit their completed lab work.
    2. A discussion web-page located on a college hosted course management system or other department-approved Internet environment. Here, students can request assistance from the instructor and interact publically with other class members.
  3. Detailed review of programming assignments which includes model solutions and specific comments on the student submissions.
  4. In person or on-line discussion which engages students and instructor in an ongoing dialog pertaining to all aspects of designing, implementing and analyzing programs.
  5. When course is taught fully on-line:
    1. Instructor-authored lecture materials, handouts, syllabus, assignments, tests, and other relevant course material will be delivered through a college hosted course management system or other department-approved Internet environment.
    2. Additional instructional guidelines for this course are listed in the attached addendum of CS department on-line practices.
 
10. Lab Content -
  1. Install and use a web development environment to create and debug a web application
    1. use iterative development
    2. use test driven development
    3. use good programming style
  2. Incorporate JQuery in a web application.
  3. Write a web application that creates and uses its own namespace.
  4. Write a recursive JavaScript function
  5. Write a resusable class in JavaScript
  6. Write a program with a dynamic user interface
  7. Make an asynchronous request from the server
  8. Write a server side JavaScript program that creates an html page
  9. Write an application that has registered users
  10. Write an application that stores data:
    1. on the server
    2. on the client
  11. Write an application that includes an animation and a transition
 
11. Honors Description - No longer used. Integrated into main description section.
 
12. Types and/or Examples of Required Reading, Writing and Outside of Class Assignments -
  1. Reading
    1. Textbook assigned reading averaging 30 pages per week.
    2. Reading the supplied handouts and modules averaging 10 pages per week.
    3. Reading on-line resources as directed by instructor though links pertinent to programming.
    4. Reading library and reference material directed by instructor through course handouts.
  2. Writing
    1. Writing technical prose documentation that supports and describes the programs that are submitted for grades.
13. Need/Justification -
This course is an restricted support course for the A.S. Degree in Computer Science.


Course status: Active
Last updated: 2014-06-18 17:08:35


Foothill CollegeApproved Course Outlines