Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
1 views

Advanced Web Programming (Guidelines)

Uploaded by

zimamofficial7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Advanced Web Programming (Guidelines)

Uploaded by

zimamofficial7
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GENERIC ELECTIVES (GE-5b): Advanced Web Programming

(GUIDELINES)

S.
Unit Name Chapters References Hours
No.

1. Introduction to PHP: Basic syntax, Ch-1 [1] 7


defining variables and constants,
data types including arrays,
operators and expressions, decision Ch-2 [2]
making statements, constructs for
iterations.

String Handling: Creating a string


and accessing its content, searching Ch-3 [2]
and replacing content of a string, and 5
2. other built-in functions.

Handling HTML Form with 12


3. PHP: Creating a form, Ch-5 (excluding Image Maps) [2]
submitting data to the server at
the backend using GET and
POST methods, GET vs POST
methods, PHP global functions.

Database: Connectivity with


database, database creation, creating
tables, create, retrieve, update, and Ch-10 [2] 15
4. delete (CRUD) operations

Ch-22 (Pg. 512 – 526, 530 –


5. jQuery and JSON [1] 4
538 before animation,
542 – 544)
Ch-8 (Pg. 376 – 377) [4] 2

Textbooks:

1. Nixon, R. Learning PHP, MySQL & JavaScript with jQuery, CSS and HTML5, O'Reilly, 2018, 4th edition.
2. Holzner S. PHP: The Complete Reference, McGraw Hill, 2017
3. Murach J, Murach's PHP and MySQL, 2nd edition, Mike Murach & Associates, 2014.
4. Duckett, J. JavaScript and JQuery: Interactive Front-End Web Development, Wiley, 2014.

Additional References

1. Manish Kumar Singh, Kamlesh Kumar Raghuvanshi, Suruchi Gautam. PHP Programming:
A Complete Solution for Beginners. Neelkanth Publications Pvt. Limited. Book Link:
https://www.researchgate.net/publication/381292737_PHP_Programming_A_Complete_Soluti
on_for_Beginners
2. w3schools. https://www.w3schools.com/php/default.asp

3. Tutorialspoint. https://www.tutorialspoint.com/php/index.htm

Practical Exercises
1. Write a PHP script to reverse the digits of a number.
2. Create a web page containing two text boxes and a button named “Evaluate”. When the
user enters numbers in the text boxes and clicks on the “Evaluate” button, a function
should evaluate the sum of the numbers and display the result.
3. Write a PHP script to perform following string operations using in-built functions and
built an interactive web page having buttons for each of the following operation:
a. Find the length of a string
b. Find a substring from a string
c. Replace text within a string
d. Remove whitespace and other predefined characters from both sides of a string.
e. Check if a value is a string
f. Convert the first character of each word in a string into uppercase.
4. Design a Login form and validate that form using PHP code. Display error message box
when data is not valid otherwise redirect to the next page and display “Welcome
username!”.
5. Design a student registration form, using appropriate input fields consisting of following:
a. First Name
b. Last Name
c. Gender
d. Roll Number
e. Phone Number
f. Course
Submit and retrieve the form data using $_POST, $_GET variable.
6. Write PHP Code to make connection to MySql database, create database and tables and
perform insertion, deletion, and retrieval of the data (Using SQL operations like JOIN,
ORDER BY, GROUP BY) Display the messages such as “The record is added in the
database!” when data is inserted into the database, “A record is deleted from the
database” when data is deleted from the database. Use appropriate button names such as
Add Data, Delete Data, and Display Data.

jQuery and JSON

1. Change text color and contents using button click events using jQuery
2. Select elements using ID, class, elements name, attribute name
3. Run code on click events in jQuery

You might also like