PHP and MySQL
Some Basic Concepts Webpages and Website Web Application: Design And Development Design- HTML,CSS and other design concepts Development- Scripting ! Client-Server Architecture
Static & Dynamic Pages?
Dynamic Pages A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing. It is not static because it changes with the time (e.g. news content), the user (e.g. preferences in a login session), the user interaction (e.g. web page game), the context (e.g. parametric customization), or any combination thereof.
Server-side Scripting It is a web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic web pages. It is usually used to provide interactive web sites that interface to databases or other data stores.  This is different from  client-side scripting  where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.
Some scripting languages: PHP (*.php) JavaServer Pages(*.jsp) ASP ColdFusion Markup Language (*.cfm) Perl (*.pl) SMX (*.smx) Python (*.py) Ruby (*.rb) Lasso (*.lasso) WebDNA (*.dna,*.tpl)
 
Apache- The PHP web Server Apache (By ASF) is THE webserver with complete PHP support Notable for playing a key role in the initial growth of the World Wide Web. In 2009, it became the first web server software to surpass the 100 million website milestone Works with almost any OS Apache was estimated to serve 63% of all websites and 66% of the million busiest.
 
Where?
Facebook
Wikipedia
PHP: Hypertext Preprocessor   Born on June,1995.  Widely used, general-purpose scripting language Was originally designed for web development to produce dynamic web pages. These scripts were  written as C programming language  Common Gateway Interface(CGI) binaries, extending them to add the ability to work with web forms and to communicate with databases and called this implementation 'Personal Home Page/Forms Interpreter' or PHP/FI.
PHP supports many DBMSs… MySQL Informix Oracle Sybase Solid PostgreSQL Generic ODBC etc.
 
MySQL Initially released on May, 1995. MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. Written in C,C++ !
Wikipedia-depends upon the LAMP platform Uses an array of 5 MySQL servers  Processes 200 million+ queries 2 million updates daily Illustrative of MySQL’s capabilities in a high read and high write environment
Yahoo! Operates on the FreeBSD platform,an open source Unix variant http://finance.yahoo.com/  uses FreeBSD and MySQL back end Billions of Monthly usage. (Yes,  B illions)
  Why PHP and MySQL?  Childhood Friends  Free and powerful Written in C,C++. This Combination makes implementations faster
More importantly… because of the stability,  the lower server costs (Linux Servers - Apache HTTP Servers) than hosting . Net applications  and the availability of ready to use Open Source Software Applications on the Internet.
LAMP
Are you ready to code? If(lamp||xampp) return true; else If(apache && mysql==true) return  true; else Visit GLOSS website !!
Talk is cheap. Show me the code -By ???
PHP Basics <?php  /*code here */ echo “Hello World” ;  //end with ; ?> Weakly Typed, $var_name = value;  Arithmetic, Assignment, Comparison, Logical operators. Conditionals and loops – Same as C. Just use echo “ print this !“;  //instead of printf() Functions:  function functionName() { code to be executed; } //Call using function name
SQL Basics Either use the GUI (Say phpMyAdmin, MySQL query browser), form or menu based systems or Use SQL scripts.
PHP-MySQL Connectivity Follow these steps Connection //mysql_connect() Creation/Selection //mysql_select_db() Query  //mysql_query() Connection Close //mysql_close()
Want More?? Use Existing PHP frameworks to code faster and clear for Real-Time Applications
PHP Frameworks CakePHP Zend Symfony CodeIgnitor Akelos Recess PRADO
Online Resources HTML – http://htmlhelp.com/reference/html40 PHP – http://www.php.net/manual/en PHP Libraries http://en.wikipedia.org/wiki/List_of_PHP_libraries MySQL – http://dev.mysql.com/doc/refman/5.0/en/ BROWSER – View Page Source http://www.w3schools.com/ OpenSource Applications – http://sourceforge.net/ And,of course,GOOGLE!!!! – whatever you want is out there
Now, What  Next?? Why PHP is preferred than ASP? Is PHP object-oriented or procedural? Learn advanced topics on PHP and MySQL
Opportunities?
 
And finally… //Build your own “Dynamic Web Application”//
Adios! Feel free to contact me @ [email_address] facebook.com/manigandan.balachandran twitter.com/manigandan_b   Manigandan,B III  CSE  +91 9677216418

More Related Content

PPTX
Web Application Development using PHP and MySQL
PPT
Xampp Ppt
PPTX
Introduction to xampp
PDF
Modern Web App Architectures
PPTX
Apache
PDF
Making Of PHP Based Web Application
PPTX
Wampserver installation ajay-di-sharma
PDF
Magento 2.2: It's Coming Right For You! | Colorado Magento Meetup
Web Application Development using PHP and MySQL
Xampp Ppt
Introduction to xampp
Modern Web App Architectures
Apache
Making Of PHP Based Web Application
Wampserver installation ajay-di-sharma
Magento 2.2: It's Coming Right For You! | Colorado Magento Meetup

What's hot (20)

PPTX
Basic example using until successful component
PDF
Magento caching
PPTX
Stored procedure in Mule
PDF
Caching for Cash: Caching
PDF
Unleash the power of HTTP with ASP.NET Web API
PPS
Web Application Development using MVC Framework Kohana
PDF
C# ASP.NET WEB API APPLICATION DEVELOPMENT
PPT
Learn ASP
PDF
Isomorphic server side rendering with Twig
PPT
MuleSoft ESB CSV to XML
PPT
Introduction to Cakephp
ODP
Aj
PPT
MuleSoft ESB XML to CSV
PDF
Clustering Multiple Instances in Cold Fusion
PPTX
Resource Prioritization
PPT
WebSockets and Java
PPTX
ASP.NET - Introduction to Web Forms and MVC
PDF
Magento performance & optimisation best practices
PPTX
Initialize database in Mule part2
PPTX
Wordpress on Windows
Basic example using until successful component
Magento caching
Stored procedure in Mule
Caching for Cash: Caching
Unleash the power of HTTP with ASP.NET Web API
Web Application Development using MVC Framework Kohana
C# ASP.NET WEB API APPLICATION DEVELOPMENT
Learn ASP
Isomorphic server side rendering with Twig
MuleSoft ESB CSV to XML
Introduction to Cakephp
Aj
MuleSoft ESB XML to CSV
Clustering Multiple Instances in Cold Fusion
Resource Prioritization
WebSockets and Java
ASP.NET - Introduction to Web Forms and MVC
Magento performance & optimisation best practices
Initialize database in Mule part2
Wordpress on Windows
Ad

Viewers also liked (20)

PDF
Modul MySQL
PPTX
Installasi xampp
PDF
Membangun ftp server dengan xampp 7 di windows
PDF
Xampp installation
DOC
Tutorial Pembuatan Aplikasi Website Beserta Databasenya
PPTX
Tutorial membuat sertifikat ssl menggunakan xampp
PDF
Modul Instalasi XAMPP dan MOODLE
PDF
Modul MySQL TIngkat Lanjut
PPT
Xampp Ppt
PDF
Buku Ajar Pemrograman Web
PDF
80+ Variabel Key performance indicators
PDF
PDF
Teori bahasa-dan-otomata
PPTX
Pertemuan Dua
PPTX
tugas mata kuliah sistem teknologi informasi,,,tentang basis data
PDF
Contoh Penilaian Kinerja Karyawan
PDF
Contoh/Template JOB DESC dalam Perusahaan
PDF
Contoh KPI Individu. Rapor Prestasi Kerja
DOCX
Web Application PHP and MySQL Database
PDF
Visual Design with Data
Modul MySQL
Installasi xampp
Membangun ftp server dengan xampp 7 di windows
Xampp installation
Tutorial Pembuatan Aplikasi Website Beserta Databasenya
Tutorial membuat sertifikat ssl menggunakan xampp
Modul Instalasi XAMPP dan MOODLE
Modul MySQL TIngkat Lanjut
Xampp Ppt
Buku Ajar Pemrograman Web
80+ Variabel Key performance indicators
Teori bahasa-dan-otomata
Pertemuan Dua
tugas mata kuliah sistem teknologi informasi,,,tentang basis data
Contoh Penilaian Kinerja Karyawan
Contoh/Template JOB DESC dalam Perusahaan
Contoh KPI Individu. Rapor Prestasi Kerja
Web Application PHP and MySQL Database
Visual Design with Data
Ad

Similar to PHP and MySQL (20)

PPT
Lamp
PDF
PHP Basics
PPTX
Php reports sumit
PPTX
Introduction to webprogramming using PHP and MySQL
PPT
Osp ii presentation
PPTX
Introduction to php
PPTX
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
PPTX
Lecture1 introduction by okello erick
PDF
Create dynamic sites with PHP & MySQL
PDF
Getting Started: The Environment
PPT
PHP MySQL Workshop - facehook
PPTX
Php introduction and configuration
PPTX
PHP Hypertext Preprocessor
PPT
PPT
6 3 tier architecture php
PDF
PPT
Sql php-vibrant course-mumbai(1)
PPTX
PPTX
Word press
Lamp
PHP Basics
Php reports sumit
Introduction to webprogramming using PHP and MySQL
Osp ii presentation
Introduction to php
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
Lecture1 introduction by okello erick
Create dynamic sites with PHP & MySQL
Getting Started: The Environment
PHP MySQL Workshop - facehook
Php introduction and configuration
PHP Hypertext Preprocessor
6 3 tier architecture php
Sql php-vibrant course-mumbai(1)
Word press

Recently uploaded (20)

PDF
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
PDF
Altius execution marketplace concept.pdf
PDF
Applying Agentic AI in Enterprise Automation
PDF
Secure Java Applications against Quantum Threats
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PDF
Examining Bias in AI Generated News Content.pdf
PDF
substrate PowerPoint Presentation basic one
PPTX
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
PDF
NewMind AI Journal Monthly Chronicles - August 2025
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Fitaura: AI & Machine Learning Powered Fitness Tracker
PPTX
Blending method and technology for hydrogen.pptx
PDF
Introduction to c language from lecture slides
PDF
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PDF
Intravenous drug administration application for pediatric patients via augmen...
TrustArc Webinar - Data Minimization in Practice_ Reducing Risk, Enhancing Co...
Altius execution marketplace concept.pdf
Applying Agentic AI in Enterprise Automation
Secure Java Applications against Quantum Threats
Child-friendly e-learning for artificial intelligence education in Indonesia:...
Examining Bias in AI Generated News Content.pdf
substrate PowerPoint Presentation basic one
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
NewMind AI Journal Monthly Chronicles - August 2025
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Fitaura: AI & Machine Learning Powered Fitness Tracker
Blending method and technology for hydrogen.pptx
Introduction to c language from lecture slides
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Intravenous drug administration application for pediatric patients via augmen...

PHP and MySQL

  • 2. Some Basic Concepts Webpages and Website Web Application: Design And Development Design- HTML,CSS and other design concepts Development- Scripting ! Client-Server Architecture
  • 4. Dynamic Pages A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing. It is not static because it changes with the time (e.g. news content), the user (e.g. preferences in a login session), the user interaction (e.g. web page game), the context (e.g. parametric customization), or any combination thereof.
  • 5. Server-side Scripting It is a web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic web pages. It is usually used to provide interactive web sites that interface to databases or other data stores. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.
  • 6. Some scripting languages: PHP (*.php) JavaServer Pages(*.jsp) ASP ColdFusion Markup Language (*.cfm) Perl (*.pl) SMX (*.smx) Python (*.py) Ruby (*.rb) Lasso (*.lasso) WebDNA (*.dna,*.tpl)
  • 7.  
  • 8. Apache- The PHP web Server Apache (By ASF) is THE webserver with complete PHP support Notable for playing a key role in the initial growth of the World Wide Web. In 2009, it became the first web server software to surpass the 100 million website milestone Works with almost any OS Apache was estimated to serve 63% of all websites and 66% of the million busiest.
  • 9.  
  • 13. PHP: Hypertext Preprocessor Born on June,1995. Widely used, general-purpose scripting language Was originally designed for web development to produce dynamic web pages. These scripts were written as C programming language Common Gateway Interface(CGI) binaries, extending them to add the ability to work with web forms and to communicate with databases and called this implementation 'Personal Home Page/Forms Interpreter' or PHP/FI.
  • 14. PHP supports many DBMSs… MySQL Informix Oracle Sybase Solid PostgreSQL Generic ODBC etc.
  • 15.  
  • 16. MySQL Initially released on May, 1995. MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. Written in C,C++ !
  • 17. Wikipedia-depends upon the LAMP platform Uses an array of 5 MySQL servers Processes 200 million+ queries 2 million updates daily Illustrative of MySQL’s capabilities in a high read and high write environment
  • 18. Yahoo! Operates on the FreeBSD platform,an open source Unix variant http://finance.yahoo.com/ uses FreeBSD and MySQL back end Billions of Monthly usage. (Yes, B illions)
  • 19. Why PHP and MySQL? Childhood Friends Free and powerful Written in C,C++. This Combination makes implementations faster
  • 20. More importantly… because of the stability, the lower server costs (Linux Servers - Apache HTTP Servers) than hosting . Net applications and the availability of ready to use Open Source Software Applications on the Internet.
  • 21. LAMP
  • 22. Are you ready to code? If(lamp||xampp) return true; else If(apache && mysql==true) return true; else Visit GLOSS website !!
  • 23. Talk is cheap. Show me the code -By ???
  • 24. PHP Basics <?php /*code here */ echo “Hello World” ; //end with ; ?> Weakly Typed, $var_name = value; Arithmetic, Assignment, Comparison, Logical operators. Conditionals and loops – Same as C. Just use echo “ print this !“; //instead of printf() Functions: function functionName() { code to be executed; } //Call using function name
  • 25. SQL Basics Either use the GUI (Say phpMyAdmin, MySQL query browser), form or menu based systems or Use SQL scripts.
  • 26. PHP-MySQL Connectivity Follow these steps Connection //mysql_connect() Creation/Selection //mysql_select_db() Query //mysql_query() Connection Close //mysql_close()
  • 27. Want More?? Use Existing PHP frameworks to code faster and clear for Real-Time Applications
  • 28. PHP Frameworks CakePHP Zend Symfony CodeIgnitor Akelos Recess PRADO
  • 29. Online Resources HTML – http://htmlhelp.com/reference/html40 PHP – http://www.php.net/manual/en PHP Libraries http://en.wikipedia.org/wiki/List_of_PHP_libraries MySQL – http://dev.mysql.com/doc/refman/5.0/en/ BROWSER – View Page Source http://www.w3schools.com/ OpenSource Applications – http://sourceforge.net/ And,of course,GOOGLE!!!! – whatever you want is out there
  • 30. Now, What Next?? Why PHP is preferred than ASP? Is PHP object-oriented or procedural? Learn advanced topics on PHP and MySQL
  • 32.  
  • 33. And finally… //Build your own “Dynamic Web Application”//
  • 34. Adios! Feel free to contact me @ [email_address] facebook.com/manigandan.balachandran twitter.com/manigandan_b Manigandan,B III CSE +91 9677216418