SlideShare a Scribd company logo
INT220
Server Side Scripting
Lecture 0
Welcome!!!!
Vision
To be a globally recognized school through
excellence in teaching, learning, and research
for creating Computer Science professionals,
leaders, and entrepreneurs of the future
contributing to society and industry for
sustainable growth.
Mission
• To build computational skills through hands-on and
practice-based learning with measurable outcomes.
• To establish a strong connect with industry for in-
demand technology driven curriculum.
• To build the infrastructure for meaningful research
around societal problems.
• To nurture future leaders through research-infused
education and lifelong learning.
• To create smart and ethical professionals and
entrepreneurs who are recognized globally
Course Details
Course Code:-INT220
LTP:- 2 0 2 [2 lectures, 2 practical's /week]
Credits:- 3
Assessment/ Evaluation
Scheme
• Attendance: 5%
• CA: 45%
• MTT: No MTT
• ETP: 50%
Assessment/ Evaluation
Scheme
• CA1: Visual Implementation (30 Marks)
• CA2: Visual Implementation (30 Marks)
• CA3: Project Mandatory (30 Marks)
• (Note: The CA3 will be allocated in 3rd
week and student will
submit it in 11th
week)
• End Term Practical: 100 Marks
CA3 Project Rubrics
• Functionality and Deployment(5),
• User Interface(5),
• Novelty/Uniqueness(5),
• Documentation(5),
• Presentation(5),
• Client Involvement(5)
NOTE:- Client involvement depicts the revenue generated
by the students through the client. Students will be
required to submit the proof of revenue generation
Revised BLOOM’S Taxonomy
Course Details
L:2 T:0 P:2
Credits: 3
Course Outcome’s:
CO1 :: employ web development concepts including server setup and
basic programming syntax
CO2 :: use PHP arrays and functions to enhance web development
efficiency.
CO3 :: develop PHP form handling, validation, and sanitization
techniques for secure data processing.
Course Details
L:2 T:0 P:2
Credits: 3
Course Outcome’s:
CO4 :: employ PHP techniques for enhanced web functionality,
encompassing cookies, sessions.
CO5 :: apply object-oriented programming principles in PHP for
enhanced code organization and functionality.
CO6 :: demonstrate proficiency in MySQL fundamentals including
database basics, SQL queries and functions.
Program Outcomes
PO1: Engineering knowledge: Apply the knowledge of mathematics, science,
engineering fundamentals, and an engineering specialization to the solution of
complex engineering problems.
PO2: Problem analysis: Identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
PO3: Design/development of solutions: Design solutions for complex engineering
problems and design system components or processes that meet the specified needs
with appropriate consideration for the public health and safety, and the cultural,
societal, and environmental considerations.
PO4: Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data,
and synthesis of the information to provide valid conclusions.
Program Outcomes
PO5 : Modern tool usage: Create, select, and apply appropriate techniques, resources,
and modern engineering and IT tools including prediction and modeling to complex
engineering activities with an understanding of the limitations.
PO6: The engineer and society: Apply reasoning informed by the contextual knowledge
to assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
PO7: Environment and sustainability::Understand the impact of the professional
engineering solutions in societal and environmental contexts, and demonstrate the
knowledge of, and need for sustainable development.
PO8: Ethics::Apply ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice.
PO9: Individual and team work::Function effectively as an individual, and as a
member or leader in diverse teams, and in multidisciplinary settings.
Program Outcomes
PO10: Communication: Communicate effectively on complex engineering activities
with the engineering community and with society at large, such as, being able to
comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.
PO11: Project management and finance: Demonstrate knowledge and understanding of
the engineering, management principles and apply the same to one’s own work, as a
member or a leader in a team, manage projects efficiently in respective disciplines and
multidisciplinary environments after consideration of economic and financial factors.
PO12: Life-long learning: Recognize the need for, and have the preparation and ability
to engage in independent and life-long learning in the broadest context of technological
change.
PO13: Competitive Skills: Ability to compete in national and international technical
events and building the competitive spirit along with having a good digital footprint.
Program Specific Outcomes
PSO1: Apply acquired skills in software engineering, networking,
security, databases, intelligent systems, cloud computing and
operating systems to adapt and deploy innovative software solutions
for diverse applications.
PSO2: Apply diverse IT skills to design, develop, and evaluate
innovative solutions for business environments, considering risks, and
utilizing interdisciplinary knowledge for efficient real-time projects
benefiting society.
Unit 1
PHP Fundamentals : PHP, MySQL and XAMPP
Installation, PHP Basic Syntax, PHP Data Types, PHP
Variables, PHP Constants, PHP Expressions, PHP
Operators, PHP Control Structures, PHP Loops
Unit 2
PHP Arrays and Functions : PHP Enumerated Arrays,
PHP Associative Arrays, PHP Multi-Dimensional Arrays,
PHP Functions, Syntax, Arguments and Variables,
References, Pass by Value & Pass by references, Return
Values, Variable Scope, PHP include() and PHP require()
Unit 3
PHP Forms : PHP Form handling, PHP GET and POST,
PHP Form Validation, PHP Form Sanitization
Unit 4
PHP Cookies, Sessions and Strings Handling : PHP
Cookie Handling, PHP Session Handling, PHP Login
Session, Strings and Patterns, Matching, PHP Sending
Emails, PHP File Uploading, PHP Filters, PHP Error
Handling
Unit 5
Object Oriented Programming in PHP : Defining PHP
Classes, Creating Objects in PHP, Calling Member
Functions, Constructor Functions, Inheritance, Function
Overriding, Interface, Abstract Classes
Unit 6
Basic MySQL and SQL Queries : Database Basics,
Indexes, PHP MyAdmin, Connect & Pconnect, MySQL
Create, MySQL Insert, MySQL Select, MySQL Update,
MySQL Delete, MySQL Truncate, MySQL Drop,
WHERE condition, Order By and Group By, Having,
LIKE, AND OR operators, SQL functions AVG, COUNT,
SUM, MIN, MAX, LCASE, UCASE
List of Practicals
• Installation and configuration of XAMPP Web Server,
PHP and MySQL.
• Use data types of PHP including String, Integer, Float,
Boolean, Array, Object and Resource.
• Use Constants in PHP and make them global.
• Use Various types of operators including Arithmetic,
Assignment, Comparison, Increment/Decrement,
Logical, String and array operators.
• Use PHP control structures - if, if...else, if...elseif.else,
switch statement and Loops.
• Implement the concept of two-dimensional arrays.
List of Practicals
• Create a user-defined function in PHP, PHP function
arguments, and various types for passing arguments in
functions- call by value, call by reference.
• Use of PHP include and require statements.
• Design HTML forms with PHP including validations
using GET and POST.
• Use the concept of PHP cookies, sessions and strings
handling including filter functions.
• Use object oriented concepts in PHP
• Use the file handling functions.
• Design a Web Page with database connectivity using
MySQL and PHP
Books
Text Books:
• UNLOCK PHP 8: FROM BASIC TO ADVANCED by
RONI SOMMERFELD, BPB PUBLICATIONS.
References:
• PHP BEGINNERS PRACTICAL GUIDE by
PRATIYUSH GULERIA, BPB PUBLICATIONS
Softwares
Editor-VS-Code
Local Web Server-XAMPP
MOOCs/Competition
Building Web Applications in PHP:
https://www.coursera.org/learn/web-application
s-php
Open Education Resources
• https://www.w3schools.com/php/php_install.asp
• https://www.tutorialrepublic.com/php-tutorial/php-arrays.php
• https://www.youtube.com/watch?v=bOqTCDfc7Tk
• https://www.tutorialrepublic.com/php-tutorial/php-form-validation.php
• https://www.youtube.com/watch?v=UZcVUfaby9U
• https://www.php.net/manual/en/language.oop5.php
• https://www.coursera.org/learn/database-applications-php?irclickid=XLt0r
jwQOxyPWfrTyQuvwH6UkC0VgQTm1o9zw0&irgwc=1&utm_medium=part
ners&utm_source=impact&utm_campaign=315774&utm_content=b2c#m
odules
Next Class: Introduction to PHP
Introduction
• PHP stands for Hypertext Preprocessor.
• It is a very popular and widely-used open source server-
side scripting language to write dynamically generated web
pages.
• It was originally created by Rasmus Lerdorf in 1994.
• It was initially known as Personal Home Page.
• PHP is a server-side scripting language that is embedded in
HTML.
Why Learn PHP?
PHP one of the most preferred languages for creating
interactive websites and web applications. PHP scripts can
be easily embedded into HTML.
With PHP, you can build
• Web Pages and Web-Based Applications
• Content Management Systems, and
• Ecommerce Applications etc.
A number of PHP based web frameworks have been
developed to speed-up the web application development.
The examples are WordPress, Laravel, Symfony etc.
Introduction(Cont…)
Versions:
PHP Version 1.0
PHP Version 2.0
PHP Version 3.0
PHP Version 4.0
PHP Version 5.0
PHP Version 6.0
PHP Version 7.0
PHP Version 8.0 -> 8.3
For more information, check :
https://php.watch/versions
Introduction(Cont…)
• A PHP interpreter, which can be implemented as a module,
is commonly used to process PHP code on a web server.
• The outcome of the interpreted and executed PHP code –
which is an HTML data, CSS, JavaScript, images – would
make up the entirely or portion of an HTTP response on a
web server.
• PHP scripts are executed on the server and the result is sent
to the web browser as plain HTML.
• PHP can be integrated with the number of popular
databases, including MySQL, Oracle, Microsoft SQL
Server, Sybase, and so on.
• PHP files have extension ".php“.
Introduction(Conti…)
ele”PHP”ant
What you can do with PHP
You can generate pages and files dynamically.
You can create, open, read, write and close files on the server.
You can collect data from a web form such as user
information, email, phone no, etc.
You can send emails to the users of your website.
You can send and receive cookies to track the visitor of your
website.
You can store, delete, and modify information in your
database.
You can restrict unauthorized access to your website.
You can encrypt data for safe transmission over internet
Advantages over other languages
Easy to learn: PHP is easy to learn and use. For beginner programmers who
just started out in web development, PHP is often considered as the preferable
choice of language to learn.
Open source: PHP is an open-source project. It is developed and maintained
by a worldwide community of developers who make its source code freely
available to download and use.
Portability: PHP runs on various platforms such as Microsoft Windows,
Linux, Mac OS, etc. and it is compatible with almost all servers used today
such Apache.
Fast Performance: Scripts written in PHP usually execute or runs faster than
those written in other scripting languages like ASP, Ruby, Python, Java, etc.
Vast Community: Since PHP is supported by the worldwide community,
finding help or documentation related to PHP online is extremely easy.
server side scripting lecture zero .pptx
Thank You

More Related Content

PDF
Php & mysql course syllabus
DOCX
Advanced certification in php
PDF
Php training centre in adyar
PDF
P mysql training in bangalore
PDF
PHP & mySQL Training in Bangalore at myTectra
PDF
Php training centre in Adyar
PDF
PHP Web Development.pdf
PDF
HEATH INSURANCE CLAIM MANAGEMENT SYSTEM PROJECT REPORT.
Php & mysql course syllabus
Advanced certification in php
Php training centre in adyar
P mysql training in bangalore
PHP & mySQL Training in Bangalore at myTectra
Php training centre in Adyar
PHP Web Development.pdf
HEATH INSURANCE CLAIM MANAGEMENT SYSTEM PROJECT REPORT.

Similar to server side scripting lecture zero .pptx (20)

PDF
Php Web Development Building Dynamic Websites Web Development Series Edet
PPT
CSS Adnaved with HTML abd complete Stylesheet
PPTX
Server – side Technologies PHP for web dev.pptx
DOC
Php campaign
PDF
Ph pin hindi
DOCX
408372362-Student-Result-management-System-project-report-docx.docx
PDF
Web tech weblamp_infosession_2012-13
PPTX
PHP Training In Ambala ! Batra Computer Centre
PDF
Website designining course - Syllabus
PPTX
Web programming using PHP and Introduction with sample codes
PDF
PHP | ZENUS INFOTECH INDIA PVT. LTD.
PDF
Summer training report priyanka
PDF
Essential Guide To Php For All Levels O Adeolu
PPTX
web development course | web development training in Pune India
PPTX
Web development Course, Web development training, Learn With Continued-Learning
PPTX
web -development- course - Continued - Learning
PPTX
PHP TRAINING
PDF
PPTX
Unit 5-PHP Declaring variables, data types, array, string, operators, Expres...
DOC
phptraininginindore
Php Web Development Building Dynamic Websites Web Development Series Edet
CSS Adnaved with HTML abd complete Stylesheet
Server – side Technologies PHP for web dev.pptx
Php campaign
Ph pin hindi
408372362-Student-Result-management-System-project-report-docx.docx
Web tech weblamp_infosession_2012-13
PHP Training In Ambala ! Batra Computer Centre
Website designining course - Syllabus
Web programming using PHP and Introduction with sample codes
PHP | ZENUS INFOTECH INDIA PVT. LTD.
Summer training report priyanka
Essential Guide To Php For All Levels O Adeolu
web development course | web development training in Pune India
Web development Course, Web development training, Learn With Continued-Learning
web -development- course - Continued - Learning
PHP TRAINING
Unit 5-PHP Declaring variables, data types, array, string, operators, Expres...
phptraininginindore
Ad

Recently uploaded (20)

PPTX
SlideEgg_21518-Company Presentation.pptx
PDF
Ricardo Salinas Pliego Accused of Acting as A Narcotics Kingpin
PPTX
Callie Slide Show Slide Show Slide Show S
PPTX
A slideshow about aesthetic value in arts
PPTX
Brown and Beige Vintage Scrapbook Idea Board Presentation.pptx.pptx
PPTX
Presentation on tradtional textiles of kutch
PPTX
Military history & Evolution of Armed Forces of the Philippines
PDF
Slide_BIS 2020 v2.pdf....................................
PPTX
CPAR-ELEMENTS AND PRINCIPLE OF ARTS.pptx
PPSX
opcua_121710.ppsxthsrtuhrbxdtnhtdtndtyty
PPTX
Visual-Arts.pptx power point elements of art the line, shape, form
PDF
waiting, Queuing, best time an event cab be done at a time .pdf
PPTX
Socio ch 1 characteristics characteristics
PPTX
573393963-choose-your-own-adventure(2).pptx
PPTX
Understanding Postmodernism Powerpoint.pptx
PDF
DPSR MUN'25 (U).pdf hhhhhhhhhhhhhbbnhhhh
PPTX
Art Appreciation-Lesson-1-1.pptx College
PPTX
The-Evolution-of-Comedy-in-America-A-Conversation-with-Dan-Nainan.pptx
PPTX
400kV_Switchyard_Training_with_Diagrams.pptx
PPTX
vsfbvefbegbefvsegbthnmthndgbdfvbrsjmrysnedgbdzndhzmsr
SlideEgg_21518-Company Presentation.pptx
Ricardo Salinas Pliego Accused of Acting as A Narcotics Kingpin
Callie Slide Show Slide Show Slide Show S
A slideshow about aesthetic value in arts
Brown and Beige Vintage Scrapbook Idea Board Presentation.pptx.pptx
Presentation on tradtional textiles of kutch
Military history & Evolution of Armed Forces of the Philippines
Slide_BIS 2020 v2.pdf....................................
CPAR-ELEMENTS AND PRINCIPLE OF ARTS.pptx
opcua_121710.ppsxthsrtuhrbxdtnhtdtndtyty
Visual-Arts.pptx power point elements of art the line, shape, form
waiting, Queuing, best time an event cab be done at a time .pdf
Socio ch 1 characteristics characteristics
573393963-choose-your-own-adventure(2).pptx
Understanding Postmodernism Powerpoint.pptx
DPSR MUN'25 (U).pdf hhhhhhhhhhhhhbbnhhhh
Art Appreciation-Lesson-1-1.pptx College
The-Evolution-of-Comedy-in-America-A-Conversation-with-Dan-Nainan.pptx
400kV_Switchyard_Training_with_Diagrams.pptx
vsfbvefbegbefvsegbthnmthndgbdfvbrsjmrysnedgbdzndhzmsr
Ad

server side scripting lecture zero .pptx

  • 2. Vision To be a globally recognized school through excellence in teaching, learning, and research for creating Computer Science professionals, leaders, and entrepreneurs of the future contributing to society and industry for sustainable growth.
  • 3. Mission • To build computational skills through hands-on and practice-based learning with measurable outcomes. • To establish a strong connect with industry for in- demand technology driven curriculum. • To build the infrastructure for meaningful research around societal problems. • To nurture future leaders through research-infused education and lifelong learning. • To create smart and ethical professionals and entrepreneurs who are recognized globally
  • 4. Course Details Course Code:-INT220 LTP:- 2 0 2 [2 lectures, 2 practical's /week] Credits:- 3
  • 5. Assessment/ Evaluation Scheme • Attendance: 5% • CA: 45% • MTT: No MTT • ETP: 50%
  • 6. Assessment/ Evaluation Scheme • CA1: Visual Implementation (30 Marks) • CA2: Visual Implementation (30 Marks) • CA3: Project Mandatory (30 Marks) • (Note: The CA3 will be allocated in 3rd week and student will submit it in 11th week) • End Term Practical: 100 Marks
  • 7. CA3 Project Rubrics • Functionality and Deployment(5), • User Interface(5), • Novelty/Uniqueness(5), • Documentation(5), • Presentation(5), • Client Involvement(5) NOTE:- Client involvement depicts the revenue generated by the students through the client. Students will be required to submit the proof of revenue generation
  • 9. Course Details L:2 T:0 P:2 Credits: 3 Course Outcome’s: CO1 :: employ web development concepts including server setup and basic programming syntax CO2 :: use PHP arrays and functions to enhance web development efficiency. CO3 :: develop PHP form handling, validation, and sanitization techniques for secure data processing.
  • 10. Course Details L:2 T:0 P:2 Credits: 3 Course Outcome’s: CO4 :: employ PHP techniques for enhanced web functionality, encompassing cookies, sessions. CO5 :: apply object-oriented programming principles in PHP for enhanced code organization and functionality. CO6 :: demonstrate proficiency in MySQL fundamentals including database basics, SQL queries and functions.
  • 11. Program Outcomes PO1: Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the solution of complex engineering problems. PO2: Problem analysis: Identify, formulate, research literature, and analyze complex engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences. PO3: Design/development of solutions: Design solutions for complex engineering problems and design system components or processes that meet the specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and environmental considerations. PO4: Conduct investigations of complex problems: Use research-based knowledge and research methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions.
  • 12. Program Outcomes PO5 : Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools including prediction and modeling to complex engineering activities with an understanding of the limitations. PO6: The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering practice. PO7: Environment and sustainability::Understand the impact of the professional engineering solutions in societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development. PO8: Ethics::Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice. PO9: Individual and team work::Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings.
  • 13. Program Outcomes PO10: Communication: Communicate effectively on complex engineering activities with the engineering community and with society at large, such as, being able to comprehend and write effective reports and design documentation, make effective presentations, and give and receive clear instructions. PO11: Project management and finance: Demonstrate knowledge and understanding of the engineering, management principles and apply the same to one’s own work, as a member or a leader in a team, manage projects efficiently in respective disciplines and multidisciplinary environments after consideration of economic and financial factors. PO12: Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change. PO13: Competitive Skills: Ability to compete in national and international technical events and building the competitive spirit along with having a good digital footprint.
  • 14. Program Specific Outcomes PSO1: Apply acquired skills in software engineering, networking, security, databases, intelligent systems, cloud computing and operating systems to adapt and deploy innovative software solutions for diverse applications. PSO2: Apply diverse IT skills to design, develop, and evaluate innovative solutions for business environments, considering risks, and utilizing interdisciplinary knowledge for efficient real-time projects benefiting society.
  • 15. Unit 1 PHP Fundamentals : PHP, MySQL and XAMPP Installation, PHP Basic Syntax, PHP Data Types, PHP Variables, PHP Constants, PHP Expressions, PHP Operators, PHP Control Structures, PHP Loops
  • 16. Unit 2 PHP Arrays and Functions : PHP Enumerated Arrays, PHP Associative Arrays, PHP Multi-Dimensional Arrays, PHP Functions, Syntax, Arguments and Variables, References, Pass by Value & Pass by references, Return Values, Variable Scope, PHP include() and PHP require()
  • 17. Unit 3 PHP Forms : PHP Form handling, PHP GET and POST, PHP Form Validation, PHP Form Sanitization
  • 18. Unit 4 PHP Cookies, Sessions and Strings Handling : PHP Cookie Handling, PHP Session Handling, PHP Login Session, Strings and Patterns, Matching, PHP Sending Emails, PHP File Uploading, PHP Filters, PHP Error Handling
  • 19. Unit 5 Object Oriented Programming in PHP : Defining PHP Classes, Creating Objects in PHP, Calling Member Functions, Constructor Functions, Inheritance, Function Overriding, Interface, Abstract Classes
  • 20. Unit 6 Basic MySQL and SQL Queries : Database Basics, Indexes, PHP MyAdmin, Connect & Pconnect, MySQL Create, MySQL Insert, MySQL Select, MySQL Update, MySQL Delete, MySQL Truncate, MySQL Drop, WHERE condition, Order By and Group By, Having, LIKE, AND OR operators, SQL functions AVG, COUNT, SUM, MIN, MAX, LCASE, UCASE
  • 21. List of Practicals • Installation and configuration of XAMPP Web Server, PHP and MySQL. • Use data types of PHP including String, Integer, Float, Boolean, Array, Object and Resource. • Use Constants in PHP and make them global. • Use Various types of operators including Arithmetic, Assignment, Comparison, Increment/Decrement, Logical, String and array operators. • Use PHP control structures - if, if...else, if...elseif.else, switch statement and Loops. • Implement the concept of two-dimensional arrays.
  • 22. List of Practicals • Create a user-defined function in PHP, PHP function arguments, and various types for passing arguments in functions- call by value, call by reference. • Use of PHP include and require statements. • Design HTML forms with PHP including validations using GET and POST. • Use the concept of PHP cookies, sessions and strings handling including filter functions. • Use object oriented concepts in PHP • Use the file handling functions. • Design a Web Page with database connectivity using MySQL and PHP
  • 23. Books Text Books: • UNLOCK PHP 8: FROM BASIC TO ADVANCED by RONI SOMMERFELD, BPB PUBLICATIONS. References: • PHP BEGINNERS PRACTICAL GUIDE by PRATIYUSH GULERIA, BPB PUBLICATIONS
  • 25. MOOCs/Competition Building Web Applications in PHP: https://www.coursera.org/learn/web-application s-php
  • 26. Open Education Resources • https://www.w3schools.com/php/php_install.asp • https://www.tutorialrepublic.com/php-tutorial/php-arrays.php • https://www.youtube.com/watch?v=bOqTCDfc7Tk • https://www.tutorialrepublic.com/php-tutorial/php-form-validation.php • https://www.youtube.com/watch?v=UZcVUfaby9U • https://www.php.net/manual/en/language.oop5.php • https://www.coursera.org/learn/database-applications-php?irclickid=XLt0r jwQOxyPWfrTyQuvwH6UkC0VgQTm1o9zw0&irgwc=1&utm_medium=part ners&utm_source=impact&utm_campaign=315774&utm_content=b2c#m odules
  • 28. Introduction • PHP stands for Hypertext Preprocessor. • It is a very popular and widely-used open source server- side scripting language to write dynamically generated web pages. • It was originally created by Rasmus Lerdorf in 1994. • It was initially known as Personal Home Page. • PHP is a server-side scripting language that is embedded in HTML.
  • 29. Why Learn PHP? PHP one of the most preferred languages for creating interactive websites and web applications. PHP scripts can be easily embedded into HTML. With PHP, you can build • Web Pages and Web-Based Applications • Content Management Systems, and • Ecommerce Applications etc. A number of PHP based web frameworks have been developed to speed-up the web application development. The examples are WordPress, Laravel, Symfony etc.
  • 30. Introduction(Cont…) Versions: PHP Version 1.0 PHP Version 2.0 PHP Version 3.0 PHP Version 4.0 PHP Version 5.0 PHP Version 6.0 PHP Version 7.0 PHP Version 8.0 -> 8.3 For more information, check : https://php.watch/versions
  • 31. Introduction(Cont…) • A PHP interpreter, which can be implemented as a module, is commonly used to process PHP code on a web server. • The outcome of the interpreted and executed PHP code – which is an HTML data, CSS, JavaScript, images – would make up the entirely or portion of an HTTP response on a web server. • PHP scripts are executed on the server and the result is sent to the web browser as plain HTML. • PHP can be integrated with the number of popular databases, including MySQL, Oracle, Microsoft SQL Server, Sybase, and so on. • PHP files have extension ".php“.
  • 33. What you can do with PHP You can generate pages and files dynamically. You can create, open, read, write and close files on the server. You can collect data from a web form such as user information, email, phone no, etc. You can send emails to the users of your website. You can send and receive cookies to track the visitor of your website. You can store, delete, and modify information in your database. You can restrict unauthorized access to your website. You can encrypt data for safe transmission over internet
  • 34. Advantages over other languages Easy to learn: PHP is easy to learn and use. For beginner programmers who just started out in web development, PHP is often considered as the preferable choice of language to learn. Open source: PHP is an open-source project. It is developed and maintained by a worldwide community of developers who make its source code freely available to download and use. Portability: PHP runs on various platforms such as Microsoft Windows, Linux, Mac OS, etc. and it is compatible with almost all servers used today such Apache. Fast Performance: Scripts written in PHP usually execute or runs faster than those written in other scripting languages like ASP, Ruby, Python, Java, etc. Vast Community: Since PHP is supported by the worldwide community, finding help or documentation related to PHP online is extremely easy.