WEB DEVELOPMENT USING PHP
RATIONALE
This course will enable the students to understand and develop competency amongst the students to design professional database backed dynamic and feature based web sites. The course covers the use of programming with PHP and the concepts of database with MySQL Students will be introduced to popular web application frameworks for building scalable web applications. The main objective for this course is to motivate student’s interest in learning Web-app development by giving them an insight into its possibilities through practical applications. In addition, the course also provides a sufficiently broad but practical introduction to Server-side web technologies.
LEARNING OUTCOMES
After undergoing the subject, the students will be able to:
- perform various logical operations in PHP
- create simple programmes to validate forms in PHP
- perform database connectivity using PHP
- apply the basic concepts, principles and practices of Web-site development using serverside technologies (PHP &MySQL)
- install Word Press
- create and manage Blogs, Websites using WordPress
DETAILED CONTENTS
1.PHP Introduction
Introduction to PHP: How PHP Works , The php.ini File, Basic PHP Syntax, PHP variables, statements, operators, decision making, loops, arrays, strings, PHP OOPs concept, PHP forms ( form handling , validation ) , get and post methods, functions.
Introduction to cookies, storage of cookies at client side, Using information of cookies. Creating single or multiple server side sessions. Timeout in sessions.
2.PHP and MySQL
Introduction to MySQL, connecting to MySQL, database, creation, insertion, deletion and retrieval of MySQL data using PHP.
3.Ajax
AJAX Introduction, XMLHttp, Request object, server response, AJAX events, Validation, Interaction with API
4.WordPress (CMS)
WordPress Basics:
Introduction to content management systems based on PHP, Introduction to WordPress, How WordPress Works ,Installation of WordPress
Posts & Pages:
Introduction to Blogging, Creating Blogs, Using Images, Wrapping Text Around Images, Comments, Post Formats, Linking to Posts, Pages, and Categories, Using Smilies, Links Manager, WordPress Feeds, Using Password Protection,
Customizing Site Appearance and Themes:
Developing a Color Scheme, Designing Headers, CSS Horizontal Menus, Dynamic Menu Highlighting, Navigation Links, Next and Previous Links, Styling for Print, Designing Your Post Meta Data Section, Separating Categories in your Post Meta Data Section,
Customizing the Read More, Formatting Date and Time, Finding CSS Styles, Creating Individual Pages, Uploading Files using WordPress Themes, Templates, Template Tags, Template Hierarchy, Validating a Website, Know Your Sources, WordPress Site
Maintenance
LIST OF PRACTICALS
- Design PHP based web pages using correct PHP, CSS, and XHTML syntax, structure.
- Create Web forms and pages that properly use HTTP GET and POST protocol as appropriate.
- Design SQL language within MySQL and PHP to access and manipulate databases.
- Install and configure both PHP and MySQL.
- Create PHP code that utilizes the commonly used API library functions built in to
PHP. - Design and create a complete web site that demonstrates good PHP/MySQL client/serverdesign using ajax
- To store a cookie using PHP on client side.
- To save the user session on server side.
- Design website using WordPress
- Creation of basic Blogging website
INSTRUCTIONAL STRATEGY
Since this subject is practice oriented, the teacher should demonstrate the capabilities of websites/WebPages to students while doing practical exercises. Since the entire course content is web based, students can practice it online. The teachers should have practice on this framework. Entire course is hands-on based so practicals should be conducted in the laboratory.
MEANS OF ASSESSMENT
− Assignments and quiz/class tests, mid-term and end-term written tests
− Actual laboratory and practical work, exercises and viva-voce
− Software installation, operation, development and viva-voce