0% found this document useful (0 votes)
17 views

4343205-Web Technologies

The Web Technologies course (Course Code: 4343205) at Gujarat Technological University is designed for 4th-semester Information & Communication Technology students, focusing on developing dynamic web applications using PHP and GitHub for version control. The course aims to equip students with practical skills in PHP scripting, database interaction, and collaborative coding practices. It includes a variety of practical exercises and assessments to ensure competency in web development and teamwork.

Uploaded by

fagiw59789
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

4343205-Web Technologies

The Web Technologies course (Course Code: 4343205) at Gujarat Technological University is designed for 4th-semester Information & Communication Technology students, focusing on developing dynamic web applications using PHP and GitHub for version control. The course aims to equip students with practical skills in PHP scripting, database interaction, and collaborative coding practices. It includes a variety of practical exercises and assessments to ensure competency in web development and teamwork.

Uploaded by

fagiw59789
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Web Technologies Course Code: 4343205

GUJARAT TECHNOLOGICAL UNIVERSITY (GTU)

Competency-focused Outcome-based Green Curriculum-2021 (COGC-2021)


Semester-IV

Course Title: Web Technologies


(Course Code: 4343205)

Diploma programmer in which this course is offered Semester in which offered


Information & Communication Technology 4th Semester

1. RATIONALE
This course is essential in today's web development landscape as it equips students with the
knowledge and practical skills to create dynamic and interactive web applications using PHP
while simultaneously introducing them to the fundamentals of version control and
collaboration through GitHub. PHP remains a cornerstone of server-side scripting, and
learning it is pivotal for aspiring web developers. Incorporating GitHub enhances students'
abilities to work in a collaborative coding environment, promoting teamwork, code
versioning, and industry-standard development practices. The course addresses the demand
for proficient PHP developers and individuals capable of efficiently managing and
collaborating on projects, making it a valuable addition to any web development curriculum.

2. COMPETENCY
The purpose of this course is to help the student to attain the following industry identified
competency through various teaching learning experiences:
Develop dynamic web applications, interact with databases, and implement server-side
functionality.

3. COURSE OUTCOMES (COs)


(a) Develop PHP scripts using variables, operators and control structures
(b) Develop PHP scripts using functions, array and strings.
(c) Develop PHP scripts using various file operations, sessions and cookies.
(d) Integrate PHP with MySQL and execute CRUD operations, and display data in web
page.
(e) Establish version control and GitHub collaboration, including repository creation,
local project setup, connection, and initial code push.
4. TEACHING AND EXAMINATION SCHEME

Teaching Scheme Total Credits Examination Scheme


(In Hours) (L+T+P/2) Theory Marks Practical Marks Total
L T P C CA ESE CA ESE Marks
0 0 4 2 0 0 25 25 50

5. SUGGESTED PRACTICAL EXERCISES:

GTU - COGC-2021 Curriculum


Page 1 of 11
Web Technologies Course Code: 4343205

The following practical outcomes (PrOs) that are the sub-components of the COs. Some
of the PrOs marked ‘*’ are compulsory, as they are crucial for that particular CO. These
PrOs need to be attained at least at the ‘Precision Level’ of Dave’s Taxonomy related to
‘Psychomotor Domain’.
Approx.
Unit Hrs.
Sr.No. Practical Outcomes (PrOs)
No. Require
d

Configure and install PHP, a web server (WAMP/XAMPP), and MySQL


1 1 2
on your machine
2 Write a PHP script to display a message using echo and print. 1 2
Write a PHP script to demonstrate use of global, local, static and
3 1 2
constant variables.
Write a PHP script to demonstrate the ability to work with various
4 data types in PHP, including strings, integers, floats, and booleans, by 1 2
declaring variables, performing operations, and displaying results.
Write a PHP script to illustrate the use of arithmetic, comparison and
5 1 2
logical operators.
a) Write a PHP code to find largest number out of three numbers.
6 1 2
b) Write a PHP code to check if given number is prime or not.
7 Write a PHP code to print multiplication table. 1 2
8 Write a script to display Fibonacci numbers up to a given term. 1 2
Write a PHP Script for performing function that takes arguments,
9 2 2
returns arguments, default argument and variable length argument.
10 Write a PHP script to implement call by reference and call by value. 2 2
11 Write a PHP script to Demonstrate Include () and require () function. 2 2
Write a PHP script to demonstrate index based, Associative array and
12 2 2
multidimensional Array.
a) Write PHP Script for addition and multiplication of two 2x2
matrices.
13 2 2
b) Write a PHP script to find max, min from array and find average of
array elements.
Write a PHP script to : -
a) Transform a string in to uppercase letters.
14 b) Transform a string in to lowercase letters. 2 2
c) Make a string's first character in uppercase.
d) Make a string's first character of all the words uppercase.

GTU - COGC-2021 Curriculum


Page 2 of 11
Web Technologies Course Code: 4343205

Write a PHP script to:-


a) To generate a random number between the given range.
15 b) To display the binary, octal and hexadecimal of a given decimal 2 2
number.
c) To display the sin, cos and tan of the given angle.
Write a PHP script to demonstrate use of fopen(), fread(), fwrite() and
16 3 2
fclose() File functions.
a) Create student registration form using text box, check box, radio
button, select, submit button. And display user inserted value in
new PHP page using GET Method.
17 3 2
b) Create Website Registration Form using text box, check box, radio
button, select, submit button. Display user inserted value in new
PHP page using POST method.
Write a PHP script to validate form including name, email and url using
18 3 2
appropriate.
19 Write a PHP script to implement error handling. 3 2
20 Implement cookies management using PHP. 3 2
21 Implement session management using PHP. 3 2
Write a PHP script to connect with database server from your
22 4 2
webpage.
Create a database with student table and write a PHP script to insert
23 4 2
a record in student table.
Write a program to read student records from student table and
24 4 2
display all these information in table format on output screen.
25 Write a PHP script to delete and update a specific record from table. 4 2
Write a PHP script simple login system that allows user to add a new
26 4 2
username if user doesn’t exist in the database.
Create a new GitHub repository, add a collaborator, clone the
27 repository locally, and make PHP project changes, and pulling changes 5 4
before committing.
Total Hours 58

Note
i. More Practical Exercises can be designed and offered by the respective course teacher to
develop the industry relevant skills/outcomes to match the COs. The above table is only a
suggestive list.
ii. ii. The following are some sample ‘Process’ and ‘Product’ related skills (more may be
added/deleted depending on the course) that occur in the above listed Practical Exercises
of this course required which are embedded in the COs and ultimately the competency.

GTU - COGC-2021 Curriculum


Page 3 of 11
Web Technologies Course Code: 4343205

6. MAJOR EQUIPMENT/ INSTRUMENTS REQUIRED

Sr.No. Equipment Name with Broad Specifications PrO. No.


Computer with latest configuration with Windows/Linux/Mac
1 ALL
Operating System.
XAMPP/WAMP/LAMP/MAMP servers.
2 ALL
3 Text Editor such as VS Code, Sublime, Atom etc. ALL
Web Browser such as Chrome, Firefox, Edge, Safari etc.
4 ALL
5 Internet Connection ALL

7. AFFECTIVE DOMAIN OUTCOMES


The following sample Affective Domain Outcomes (ADOs) are embedded in many of the
above mentioned COs and PrOs. More could be added to fulfill the development of this
competency.
a) Follow Coding standards and practices.
b) Maintain tools and equipment.
c) Search for project ideas.
d) Organize project files and resources.
e) Work as a leader or team member.
f) Present project work.
g) Adhere to ethical practices.
h) Follow safety practices.
The ADOs are best developed through the laboratory/field-based exercises. Moreover, the
level of achievement of the ADOs according to Krathwohl’s ‘Affective Domain Taxonomy’
should gradually increase as planned below:
i. ‘Valuing Level’ in 1st year
ii. ‘Organization Level’ in 2nd year.
iii. ‘Characterization Level’ in 3rd year

8. UNDERPINNING THEORY: NA
The major Underpinning Theory is formulated as given below and only higher level UOs of
Revised Bloom’s taxonomy are mentioned for development of the COs and competency in the
students by the teachers. (Higher level UOs automatically includes lower level UOs in them). If

GTU - COGC-2021 Curriculum


Page 4 of 11
Web Technologies Course Code: 4343205

required, more such higher level UOs could be included by the course teacher to focus on
attainment of COs and competency.

Unit Unit Outcomes (UOs) Topics and Sub-topics


Unit-1 1a. Set up a local server 1.1 Configuration and installation of PHP,
environment, integrating PHP, Web Web Server, MySQL
Introduction to
Server, and MySQL. 1.2 Installing WAMP/XAMPP server
PHP
1b. Employ PHP syntax proficiently, 1.3 PHP Syntax, echo and print statements
utilizing echo and print statements 1.4 PHP Constant, variables
effectively in scripts. 1.5 PHP Data Types
1c. Declare, assign, and manipulate 1.6 PHP Operators and their precedence
variables and constants in PHP 1.7 Control structures (if..else, Elseif, while,
scripts. do while, for loop, foreach loop, switch,
break, continue
1d. classify PHP data types
accurately and apply operators with
consideration of their precedence.
1e. Execute control structures such
as if...else, elseif, while, do-while,
for, foreach, switch, break, and
continue for effective program
flow.
Unit–II 2a. Create user-defined functions 2.1 User Defined function, argument
with arguments, variables, and function, variable function, Return
Functions
return values, incorporating default function, default argument, Passing
,array and
arguments and passing arguments Arguments by Reference
strings
by reference. 2.2 Scope of variable: Local, global
2b. Distinguish between local and 2.3 include() and require() function
global variable scopes. 2.4 Creating index based and Associative
2c. Utilize include() and require() array and multidimensional Array
functions effectively. 2.5 Accessing array Element
2d. Use index-based, associative 2.6 Library functions of an array.
and multidimensional arrays. (array_merge, array_fill, count, end,
2e. Utilize PHP functions for current, sort, rsort, in_array,
creating, accessing, searching, array_search)
replacing, and formatting strings, 2.7 Creating and accessing String
incorporating library functions for 2.8 Searching & Replacing String and
string manipulation Formatting String
2.9 Library functions for string

GTU - COGC-2021 Curriculum


Page 5 of 11
Web Technologies Course Code: 4343205

Unit–III 3a. Execute file operations including 3.1 Create, Open, read, write and append
creation, opening, reading, writing, and close operation on file
Forms
appending, and closing. 3.2 Submitting form values using Get and
Handling,
Session, 3b. Apply Get and Post methods for Post Methods
Cookies submitting form values. 3.3 Reading data from form using super
3c. Employ $_GET, $_POST, and globals $_GET, $_POST and
$_REQUEST super globals for $_REQUEST
reading form data. 3.4 Creating Cookies, Set Cookies,
3d. Create, set, and destroy cookies Destroying Cookies
to handle user-specific data. 3.5 Create session, set session,
3e. Implement exception handling destroying session
using die(), custom error handling, 3.6 Validate email and URL using filter()
and try-catch blocks for robust error function
management. 3.7 Exception Handling in PHP using die()
using custom error handling using try
and catch
Unit-IV 4a. Integrate MySQL and PHP, 4.1 Introduction to MySQL and PHP
Working with demonstrating the ability to work Integration
Database in cohesively with the two 4.2 Setting up a MySQL Database
PHP technologies. 4.3 Establishing Database Connection in
4b. Set up a MySQL database for use PHP: Configuring PHP to connect to a
in PHP applications. MySQL database, Using the mysqli
4c. Configure PHP to connect to a extension for database connectivity,
MySQL database, utilizing the Handling connection errors and security
mysqli extension, and handle considerations.
connection errors with security 4.4 Executing SQL Queries in PHP:
considerations. Performing basic CRUD operations
4d. Demonstrate proficiency in (Create, Read, Update, Delete) using PHP,
writing and executing SQL queries Writing and executing SQL queries within
within PHP code, performing CRUD PHP code. Handling result sets and errors.
operations and handling result sets 4.5 Retrieving and Displaying Data in PHP:
and errors. Fetching data from MySQL databases in
4e. Fetch data from MySQL PHP, Displaying query results in HTML or
databases in PHP and display query other formats.
results in HTML or other desired
formats.
Unit-V 5a. Explain fundamental concepts 6.1 Introduction to Version Control and
of version control systems. GitHub: Brief overview of version
control systems, Introduction to

GTU - COGC-2021 Curriculum


Page 6 of 11
Web Technologies Course Code: 4343205

Version 5b. Apply GitHub as a web-based GitHub as a web-based platform for


Control and platform for version control. version control.
GitHub 5c. Create a new repository on 6.2 Setting Up a PHP Project on GitHub:
GitHub, initialize a local PHP project Creating a new repository on GitHub,
with Git, and establish a connection Initializing a local PHP project with Git,
between the local project and the Connecting the local project to the
GitHub repository. GitHub repository. Pushing the initial
5d. Demonstrate the ability to push code to the repository.
the initial code of a PHP project to
the GitHub repository.

9. SUGGESTED SPECIFICATION TABLE FOR QUESTIONPAPER DESIGN:

Unit Unit Title Teaching/ Distribution of Theory Marks


No. Practical
Hours R Level U Level A Level Total
Mark
s
I Introduction to PHP 16

II Functions ,array and strings 14

III Forms Handling, Session, 12 ---Not Applicable---


Cookies
IV Working with Database in PHP 10

V Version Control and GitHub 4


Total 56

10. SUGGESTED STUDENT ACTIVITIES:


Other than the classroom and laboratory learning, following are the suggested student-
related co-curricular activities which can be undertaken to accelerate the attainment of the
various outcomes in this course: Students should perform following activities in group and
prepare reports of about 5 pages for each activity. They should also collect/record physical
evidences for their (student’s) portfolio which may be useful for their placement interviews:
a) Identify tools used for web page development and present its features.
b) Undertake course “PHP & MySQL ” available on Swayam online platform.
(https://onlinecourses.swayam2.ac.in/aic20_sp32/preview)
c) Undertake course “PHP” available on solo learn online platform.
(https://www.sololearn.com/learn/courses/le-php) or any other such site.

GTU - COGC-2021 Curriculum


Page 7 of 11
Web Technologies Course Code: 4343205

d) Undertake course “Building Web application in PHP” available on coursera online


platform. (https://www.coursera.org/learn/web-applications-php) or any other such site.

11. SUGGESTED SPECIAL INSTRUCTIONAL STRATEGIES (if any)

These are sample strategies, which the teacher can use to accelerate the attainment of the
various outcomes in this course:
a) Massive open online courses (MOOCs) may be used to teach various topics/sub topics.
b) Guide student(s) in undertaking micro-projects.
c) Managing Learning Environment
d) Encourage students to do Group learning by sharing so that teaching can easily be
enhanced.
e) About 20% of the topics/sub-topics which are relatively simpler or descriptive in nature is
to be given to the students for self-learning, but to be assessed using different assessment
methods.
f) With respect to section No.10, teachers need to ensure to create opportunities and
provisions for co-curricular activities.
g) Guide students on how to address issues on environment and sustainability using the
knowledge of this course
h) Arrange expert lectures by experts working professionally in the area of webpage
development.
i) More focus should be given on practical work which will be carried out in laboratory
sessions. If possible some theory sessions may be conducted in labs so that theory and
practice can go hand in hand.
j) Faculty should allow students to use their creativity and let them struggle to learn on their
own during practical sessions. However, faculty should remain around the students and
should help them when they are stuck.
k) Arrange a webpage development competition by making groups of four students each and
award the winning group. Give publicity to this competition at institute/city level.

12. SUGGESTED PROJECT LIST


Only one micro-project is planned to be undertaken by a student that needs to be assigned
to him/her in the beginning of the semester. In the first four semesters, the micro-project is
group-based (group of 3 to 5). However, in the fifth and sixth semesters, the number of
students in the group should not exceed three.
The micro-project could be industry application based, internet-based, workshop-based,
laboratory-based or field-based. Each micro-project should encompass two or more COs
which are in fact, an integration of PrOs, UOs and ADOs. Each student will have to maintain
dated work diary consisting of individual contribution in the project work and give a seminar

GTU - COGC-2021 Curriculum


Page 8 of 11
Web Technologies Course Code: 4343205

presentation of it before submission. The total work load on each student due to the micro-
project should be about 16 (sixteen) student engagement hours (i.e., about one hour per
week) during the course. The students ought to submit micro-project by the end of the
semester (so that they develop the industry-oriented COs).
A suggestive list of micro-projects is given here. This should relate highly with competency
of the course and the COs. Similar micro-projects could be added by the concerned course
teacher:
6.3 Develop a website for managing employee information, including details such as name,
position, and contact information.
6.4 Create a system for students to provide feedback on courses. Include a rating system and
comments section for each course.
6.5 Build a dynamic website for online ticket booking to events or shows. Include seat
selection, payment integration, and booking confirmation.
6.6 Develop a system for tracking student attendance. Include features for marking
attendance, generating reports, and notifying absent students.
6.7 Build a weather forecasting application that fetches data from a weather API. Users can
enter a location and view the current weather conditions.
6.8 Develop a personal finance manager that allows users to log in, categorize expenses, set
budgets, and view financial reports.

13. SUGGESTED LEARNING RESOURCES

Sr.
Publication with place,
No. Title of Book Author
year and ISBN

Addisson-
Luke Welling, Laura
1 PHP and MySQL Web Development Wesley,2016, 978-
Thomson
0-321-83389-1
Beginning PHP and MySQL, 4th Edition Apress, 2010
2 W. Jason Gilmore
978-1-4302-3114-1
Programming PHP: Creating Dynamic Kevin Tatroe; Peter O'Reilly Media, Inc.,
3
Web Pages MacIntyre 2020, 9781492054085
Learning PHP, MySQL, JavaScript, and O'Reilly Media, 2012,
4 CSS: A Step-by-Step Guide to Creating Robin Nixon
Dynamic Websites 9781449319267
Apress, 2020, 78-1-4842-
5 Beginning Git and GitHub Mariot Tsitoara 5312-0

14. SOFTWARE/LEARNING WEBSITES

GTU - COGC-2021 Curriculum


Page 9 of 11
Web Technologies Course Code: 4343205

i. https://www.php.net/
ii. https://www.freecodecamp.org/news/the-php-handbook/
iii. http://www.w3schools.com/PHP
iv. https://www.phptutorial.net
v. http://www.tutorialspoint.com/php
vi. https://www.geeksforgeeks.org/php-tutorial/
vii. https://www.javatpoint.com/php-tutorial
viii. https://www.geeksforgeeks.org/php-tutorials/

15. PO-COMPETENCY-CO MAPPING:

Semester V Web Technologies (Course Code: 4343204)


POs
Competency PO 1 PO 2 ProblemPO 3 Design/ PO 4 PO 5 EngineeringPO 6 ProjectPO 7 Lifelong
Basic & Analysis development Engineering Tools, practices for Managemen learning
& Course Outcomes Discipline of solutions Experimentation society, t
specific and Testing sustainability y
knowledge and environ

Develop dynamic web applications, interact with databases, and


Competency
implement server-side functionality.
CO a) Develop PHP scripts
using variables, operators
and control structures 3 2 1 2 - - 1

CO b) Develop PHP scripts


using functions, array and 3 3 1 2 - - 1
strings.
CO c) Develop PHP scripts
using various file operations,
sessions and cookies. 2 2 2 2 - 3 1

CO d) Integrate PHP with


MySQL and execute CRUD
operations, and display data 2 2 2 2 - 3 2
in web page.
CO e) Establish version
control and GitHub
collaboration, including
repository creation, local
project setup, connection, 2 2 2 3 - 3 3
and initial code push.

Legend: ‘3’ for high, ‘2’ for medium, ‘1’ for low and ‘-’ for no correlation of each CO with PO.

16. COURSE CURRICULUM DEVELOPMENT COMMITTEE

GTU Resource Persons

GTU - COGC-2021 Curriculum


Page 10 of 11
Web Technologies Course Code: 4343205

Sr.
Name and Designation Institute Contact No. Email
No.
1. Shri Jigney K Bhimani L E College 9909540917 [email protected]
Lecture in Eelctronic (Diploma)
Enginneing Morbi
2. Shri Bhailal Limbasiya C U Shah 8000068515 [email protected]
Lecturer in Computer Polytechnic
Engineering Surendranagar

GTU - COGC-2021 Curriculum


Page 11 of 11

You might also like