Download as pdf or txt
Download as pdf or txt
You are on page 1of 459

MCA-304

Advance Web Technology

VARDHMAN MAHAVEER OPEN UNIVERSITY


KOTA
www.vmou.ac.in
MCA-304

Vardhman Mahaveer Open University, Kota

Advance Web Technology


Course Development Committee
Chair Person
Prof. Ashok Sharma Prof. L.R. Gurjar
Vice-Chancellor Director Academic
Vardhman Mahaveer Open University, Kota Vardhman Mahaveer Open University, Kota

Convener and Members

Convener
Neeraj Arora
Assistant Professor, Computer Science
School of Science and Technology,
Vardhman Mahaveer Open University, Kota.

Members
1. Prof. (Dr.) Reena Dadich 2. Prof. (Dr.) N.K. Joshi
Professor and Head (CS) Professor (CS) and Director, MIMT, Kota
University of Kota, Kota
3. Dr. Harish Sharma 4. Mr. Abhishek Nagar,
Associate Professor, CSE Deptt. Programmer Officer, VMOU, Kota
Rajasthan Technical University, Kota

5. Dr. Anuradha Dubey


Deputy Director
School of Science &Technology
Vardhman Mahaveer Open University, Kota
Editor & Unit Writers MCA-304: Advance Web Technology
Editor
Neeraj Arora
Assistant Professor and Convener, Computer Science, School of Science and Technology,
Vardhman Mahaveer Open University, Kota.

Unit Writers Units


Prof. Reena Dadich 1, 9
Professor and Head, Department of CS & Informatics, University of Kota, Kota.
Mrs. Jyoti Lakhani 2, 3
Asstt. Prof. & HOD, Computer Science, Maharaja Ganga Singh University, Bikaner
Mr. Sunil Sharma 4
Lecturer, Computer Science, Govt. Polytechnic College, Jalawar.
Mr. Neeraj Arora 6, 8, 10, 11
Assistant Professor, Computer Science, Vardhman Mahaveer Open University, Kota
Mr. Kamal Kulshrestha 7
Associate Prof. & HOD, Computer Applications, MIMT, Kota
Mr. Om Prakash Suthar 12
Asst. Prof. (SR. Scale), Department of CSE, J.I.E.T., Jodhpur.
Mr. Parth Vidhayarthi 5
Asst. Professor (Computer Science & Engg. Deptt),Career Point University, Kota
Mr. Sanjay Kumar Anand 13
Assistant Professor, Department of Computer Science, Central University of Rajasthan,
Kishangarh, Ajmer

Academic and Administrative Management


Prof. Ashok Sharma Prof. L.R. Gurjar
Vice-Chancellor, V.M.O. University, Kota Director (Academic), V.M.O. University, Kota
Dr. Shiv Kumar Mishra
Director (MP&D), V.M.O. University, Kota

Print: 2018 ISBN: : 978-81-8496-643-5


All Right reserved. No part of this Book may be reproduced in any form by mimeograph or any other means
without permission in writing from Vardhman Mahaveer Open University, Kota.
Printed and Published on behalf of the Registrar, Vardhman Mahaveer Open University, Kota.
Printed by :
MCA-304

Vardhman Mahaveer Open University, Kota


Advance Web Technology
Contents
Unit No. Unit Pages
Unit-1 Introduction to Web Technology: 1-52
Hypertext Markup Language and its components, HTML tags and attributes, Text
formatting tags, List tags, Image tags, HTML tables, HTML Forms, Document
Object Model (DOM), Cascading Style Sheets – Inline Style, Embedded Style,
External Style Sheet, Imported Style Sheet, Ruleset, @ rule, Contextual Selector,
Attribute Selector, CSS Properties, JavaScript - Data types, Operators, Variables,
length, substring, Conditional Statements - if, Loops - for, & Functions, HTML
DOM and JavaScript - Finding HTML Elements, Changing HTML elements,
DOM events.
Unit-2 Events Handlers & Forms in Java Script: 53-78
Define Events, Events in JavaScripts, Event Handlers, this keyword, Event
handlers in JavaScripts, Emulating Events in java scripting, onLoad and onUnload
Event Handlers, Web-Hopping with window.open(), Resetting Event Handlers.
Unit-3 Messaging & Timing Events in Java Script: 79-94
Alert Box: syntax & its example, Confirm Box: syntax & its example, Prompt
Box: syntax & its example, Line Breaks: syntax & its example, JavaScript Timing
Events, setInterval() Method, window.clearInterval() method, setTimeout()
Method, window.clearTimeout() method.
Unit-4 XML and Ajax: 95-124
XML – Declaration, Root Element, Child Elements, Element Attributes, Entity
References, Comments, Ajax – XML HttpRequest Object, Sending Ajax requests,
Handling Ajax Responses, Adding Ajax Functionality in JavaScript, Adding Ajax
Functionality to a Web Page.
Unit-5 Installation: Apache & MySQL: 125-145
Software Prerequisites, Installing Apache and PHP, Starting and Testing Apache,
Testing PHP with phpinfo(), Installing MySQL, Starting and Testing MySQL,
Installing the php-mysql Module, Checking the php-mysql Module.
Unit-6 PHP: Hypertext Preprocessor: 146-171
Getting Started with PHP - Basic PHP Syntax, Data Types, Variables, Constants,
Operators, Control Structures, Functions, Connecting to MySQL using PHP,
Building a Web Page using PHP.
Unit-7 Web Application Creation: 172-258
Creating a Web Application – putting it all together, The MVC Design Pattern –
Basic Web Architecture, MVC Architecture, Coding Considerations, Setting up
our Development Environment, Building our MVC Framework, Building a PHP
Application on our MVC framework.
Unit-8 HTML 5: 259-294
Introduction, Common Infrastructure, Semantics, structure, and APIs of HTML
documents, Elements, links, Tabular data, Forms & Script elements, Web
Application APIs, The XHTML syntax, User Interaction & Loading web pages.
Unit-9 Cloud Computing & Deployment: 259-316
Cloud Computing & Basics of Virtualization, Understanding Elasticity,
Resiliency, On-Demand and Measured Usage, Cloud Resource Administrator and
Cloud Service Owner Roles, Cloud Service and Cloud Service Consumer Roles,
Cloud Delivery Models: Software as a Service (SaaS), Platform as a Service
(PaaS), Infrastructure as a Service (IaaS), Combining Cloud Delivery Models,
Cloud Deployment models: Community Cloud, Hybrid Cloud & Private Cloud &
Public Cloud.
Unit-10 MySql in Web development: 317-359
PHP revisited: Storing data, arrays & string manipulation, Re-using code &
writing functions in PFP, Object oriented PHP, Using MySql: designing &
creating your web database, working with mysql database, accessing mysql
database from web with PHP, Advanced mysql administration, Advanced mysql
programming, Build your own PHP & MySql project website.
Unit-11 jQuery: 360-388
Why jQuery, features of jQuery library, Adding jQuery to web pages: Dowloading
jQuery & jQuery CDN, jQuery Syntax & jQuery Selectors, jQuery Event Methods
& their syntaxes, jQuery Effects: Hide and Show, Fading, Sliding, Animation,
stop(), jQuery HTML: get & set content: text(), html(), and val(), jQuery - AJAX:
Introduction, load(), get() and post() Methods.
Unit-12 Search Engines: 389-415
Define Search Engine & how does it work, Keywords & Metadata sculpting,
Search Engine development & optimization, SEO Web Design, Effective content
writing plan, Achieving high rankings, SEO analysis intervals.

Unit-13 Web Content management System: 416-450


Introduction, Wordpress, Drupal, Joomla.
Preface
The present book entitled “Advance Web Technology” has been designed so as to cover the unit-
wise syllabus of MCA-304 course for MCA 3rd Year students of Vardhman Mahaveer Open
University, Kota.
The book is dedicated to the description of the latest trends and happening in Web application
development. The book starts with some introduction of Web Technologies like HTML,
JavaScript and CSS. Some advance topics like AJAX, jQuery, cloud computing are also
discussed in this book. For server side scripting language PHP is chosen with MySQL which are
Open source software. The book ends with Web content management like Wordpress, Drupal and
Joomla which can be used for creating a blog.
Each unit begins with objectives, introduction and principles together with illustrative and other
descriptive material .The illustrative examples serve to illustrate and amplify the theory, bring
into focus on important concepts. The units have been written by various experts in the field. We
believe that this book is well suited to self-learning. The text is written in a logical sequence and
is beneficial for students. The concise and sequential nature of the book makes it easier to learn.
Although we have made all efforts to make the text error free, yet errors may remain in the text.
We shall be thankful to the students and teachers alike if they point these out to us. Any further
comments and suggestions for future improvement are welcome and will be most gratefully
acknowledged.

You might also like