Jul 05, 2024  
2024-2025 WWCC College Catalog 
    
2024-2025 WWCC College Catalog

CS 240 - JavaScript II


Credits: 1-5
LEC hours per week: 5
This course covers the fundamentals of algorithm data structures within JavaScript (JS) and server-side JS. Students build template-assembled web pages, store and retrieve site information from databases, and build Restful API endpoints. Students perform data handling of forms, usage of middleware, and user-authentication.
Prerequisite(s): Grade of C or higher in CS 140 .
Course Outcomes:
  • Create industry-grade JavaScript code using common design patterns
  • Use basic data structures such as arrays, lists, stacks, queues, and trees (optional)
  • Employ common sorting and searching algorithms: graphs, hash tables, heaps, linked lists, queues, sets, stacks
  • Create server-based web applications with server-side Javascript
  • Maintain full-stack JS application codebases using a package manager to oversee modules
  • Create web application servers using JavaScript based routing
Course Topics:
  1. Review of OOP principles
  2. Review of FP principles
  3. Asynchronous design patterns
  4. Commonly use data sorting algorithm
  5. Graphs, hash tables, heaps, linked-lists, queues, sets, stacks
  6. Basic algorithm performance: O(n), O(log n), O(1)
  7. Algorithm modeling in Node.js Ecosystem
  8. Code review of arrays, lists, stacks, and queues
  9. Node.js
  10. Modules
  11. Asynchronous patterns
  12. Events
  13. Simple HTTP server
  14. Express.js
  15. Server-side rendered application with templates
  16. API RESTful endpoints
  17. Server routing
  18. Middleware design patterns
  19. Authentication methods