This course is aimed towards inculcating programming logic development skills in a student.
Introduction client-server technologies, comparison between client-side and server-side scripting. JavaScript: Introduction, Advantages of using JavaScript, Writing JavaScript in HTML, Basic Programming Techniques: Data Types and Literals, Creating variables, Operators (Arithmetic, Logical, Comparison, String and Assignment operator and special operators: delete, new and void) and Expressions in JavaScript. Creating one and two-dimensional arrays.
JavaScript Programming Constructs: Conditional checking (if-then-else statement), Loops (for loop and While loop). Functions Basics: parameter-passing basics return statements, global and local variables. Dialog Boxes (Alert, Prompt and Confirm Dialog Box).
Built-in objects - Array, Date, Math and String. Document Object Model, Events, Properties and Methods, Event handling.
Window: Opening and closing windows, window features, controlling windows- moving, resizing and scrolling, setting window location, accessing Window’s History, Controlling window’s status bar and setting Window Timeouts and Intervals. Document object, Form Object’s Methods, Form Actions and Form Validation.
PHP: Introduction, Basic syntax, Inserting comments, Data types, Variables, Constants, Strings, Operators, Conditional statements and looping constructs, Arrays. PHP functions (with parameters, functions returning values).
Built-in functions- Date, Time, String, Arrays. Handling an HTML form, PHP server variables. Including Multiple Files (require, require_once, include, include_once). Introduction to MY-SQL, Data types and MySql Syntax. Executing simple Queries.
Connecting to MySql, Retrieving Queryresults (mysql_connect, mysql_close, mysql_select_db, mysql_query, mysql_fetch_row, mysql_fetch_array). Common Programming Techniques: Sending values to a script, using hidden form inputs, editing existing records, making sortable displays. Introduction to cookies and sessions.
1. Ivan Bayross,”HTML, DHTML, Javascript and PHP”, BPB Publications.
2. Larry Ullman, ”PHP 6 & MySQL 5,For Dynamic Websites” Peachpit Press.