SlideShare a Scribd company logo
WEB TECHNOLOGY USING
HTML5 WITH PHP AND
MYSQL
-BY N.DURAIARASAN CMS & CTS MADURAI
NEED OF WEB APPLICATIONS
 Web applications have revolutionized the way a
business is
conducted or day-to-day tasks are performed.
 These applications enable organizations and individuals
to share and access information from anywhere and at
any time.
 With the phenomenal advent of open source products
owing to low development cost and customizable source
code,
 HTML5, PHP & MYSQL is fast emerging as the highly
preferred scripting languages for developing Web
Applications.
HTML AND HTML 5
 HTML is the markup
language used by web
developers to create web
[ages. It is written in the
format of HTML elements
containing tags bracketed
in angle brackets like
‘<html>’
  HTML elements form the
structure blocks of all
websites.
  Web browsers don’t
display HTML tags and
scripts, but use them to
interpret the content of
the page.  
 HTML5 is the fifth version
of HTML and complete
version of HTML
standard of the WWW
(World Wide Web
Consortium)
 The aim of HTML5 is to
improve the language by
support of latest
multimedia while keeping
it user friendly and easily
readable by humans and
consistently understood
by computers and
devices such as web
browsers 
WHAT IS IN HTML 5
These the portion include in the 5th
version of HTML5.
They are.
HTML
CSS
JAVASCRIPT
JQUERY
CANVAS
GEO LOCATION
 HTML5 is attempting to discover and codify this error
handling, so that browser developers can all
standardize and greatly reduce the time and money
CSS
 Cascading Style Sheets (CSS) provide easy and
effective alternatives to specify various attributes for
the HTML tags.
 Using CSS, you can specify a number of style
properties for a given HTML element.
 Each property has a name and a value, separated
by a colon (:). Each property declaration is
separated by a semi-colon (;).
.amazing {border: 1px solid blue;}
#surprizing {border: 1px solid blue;}
JAVASCRIPT
It is client side scripting language.
Is used to add dynamism and interactivity to Web
pages.
Is an object-based language and treats every
element as an object.
Provides various types of built-in objects, which help
to make a Web page dynamic and interactive.
 A JavaScript will be included in HTML files using
<script> tag.
<script>
function Hello()
{
alert("Hello, World");
}
</script>
JQUERY
 Helps in finding, traversing, and manipulating HTML elements
inside an HTML
document.
 Helps you to animate HTML elements, handle events, and
make your applications
rich and interactive.
CONTROLS LIKE
 Autocomplete
 Datepicker
 Accordion
 Can be included by using the following syntax:
<script type= "text/javascript"
src="@Url.Content("~/Scripts/jquery-1.7.1.js")">
</script>
CANVAS
 canvas element for 2D drawing. It is a vector graphics is
integral part of HTML5 
 <canvas> - an area you can paint/render as you like.
Mainly used for games.
 <canvas> Tag : it is used for draw graphic on web
page.
 <!DOCTYPE>
 <html>
 <body>
 <canvas id="canvasid" width="300" height="200"
style="border:4px solid #F00;">
 </canvas>
 </body>
 </html>
GEOLOCATION
 GeoLocation of user browsing any website
especially if it comes to mobile devices.
 GeoLocation API in HTML5 helps identify location
of user browsing any website (provided user allows
it)
 Up-to-date local information
 Showing Points-of-interest near the user
 Turn-by-turn navigation (GPS)
 The getCurrentPosition() Method - Return Data for
The latitude, longitude and accuracy properties are
always returned.
PHP LANGUAGE
 PHP is a server-side scripting language designed
primarily for web development but also used as
a general-purpose programming language.
Originally created by Rasmus Lerdorf in 1994.
 The PHP processor only parses code within
its delimiters. Anything outside its delimiters is sent
directly to the output and not parsed by PHP. The
only open/close delimiters allowed by PSR-1[3]
 are
"<?php" and "?>" or <?= and ?>
 Eg :
 <?php
echo “display it”;
?>
PHP SYNTAX
 PHP variables must begin with a “$” sign
 Case-sensitive ($Foo != $foo != $fOo)
 /* C-style comments
 These can span multiple lines */
 Syntax Perl- and C-like syntax. Relatively easy to
learn.
 Large function library
 Embedded directly into HTML
 Interpreted, no need to compile
 Open Source server-side scripting language
designed specifically for the web.
PHP EXAMPLES
PHP Control StructuresPHP Control Structures
 Control Structures: Are the structures within a language that allow
us to control the flow of execution through a program or script.
 Grouped into conditional (branching) structures (e.g. if/else) and
repetition structures (e.g. while loops).
 Example if/else if/else statement:
if ($foo == 0) {
echo ‘The variable foo is equal to 0’;
}
else if (($foo > 0) && ($foo <= 5)) {
echo ‘The variable foo is between 1 and 5’;
}
else {
echo ‘The variable foo is equal to ‘.$foo;
}
FUNCTIONSFUNCTIONS
 Functions MUST be defined before then can be
called
 Function headers are of the format
 Note that no return type is specified
 Unlike variables, function names are not case
sensitive (foo(…) == Foo(…) == FoO(…))
function functionName($arg_1, $arg_2, …, $arg_n)
FUNCTIONS EXAMPLEFUNCTIONS EXAMPLE
<?php
// This is a function
function foo($arg_1, $arg_2)
{
$arg_2 = $arg_1 * $arg_2;
  return $arg_2;
}
$result_1 = foo(12, 3); // Store the function
echo $result_1; // Outputs 36
echo foo(12, 3); // Outputs 36
?>
MYSQL DATABASE
 PHP can work with various database systems.
MySQL is a popular open-source database system
mostly work with PHP.
 MySQL is a database system used on the web
 MySQL is a database system that runs on a server
 MySQL is ideal for both small and large applications
 MySQL is very fast, reliable, and easy to use
 MySQL uses standard SQL
 MySQL compiles on a number of platforms
 MySQL is free to download and use
Eg:
mysql> create table emp(eid int,ename char(43));
MYSQL INSTALLING OS
 MySQL runs on more than 20 platforms, giving
users the kind of flexibility
that puts them in control. Windows, Linux and
Solaris are the most
popular operating systems for running MySQL.
Versions of MySQL are
currently available for the following operating
systems;
• Windows (multiple) • Mac OS/X • SCO
• Linux (multiple) • HP-UX • Open BSD
• Solaris • IBM AIX • SGI Irix
• FreeBSD • QNX • Novell NetWare
PHPMYADMIN
THIS IS THE IDE OF MYSQL WORKING
MYSQL + PHP
QUERY WITH CODING
THANK YOU

More Related Content

What's hot

Open Source Package PHP & MySQL
Open Source Package PHP & MySQLOpen Source Package PHP & MySQL
Open Source Package PHP & MySQL
kalaisai
 
PHP Basic
PHP BasicPHP Basic
PHP Basic
Yoeung Vibol
 
PHP POWERPOINT SLIDES
PHP POWERPOINT SLIDESPHP POWERPOINT SLIDES
PHP POWERPOINT SLIDES
Ismail Mukiibi
 
PHP Variables and scopes
PHP Variables and scopesPHP Variables and scopes
PHP Variables and scopes
sana mateen
 
Dev traning 2016 basics of PHP
Dev traning 2016   basics of PHPDev traning 2016   basics of PHP
Dev traning 2016 basics of PHP
Sacheen Dhanjie
 
PHP
PHPPHP
07 Introduction to PHP #burningkeyboards
07 Introduction to PHP #burningkeyboards07 Introduction to PHP #burningkeyboards
07 Introduction to PHP #burningkeyboards
Denis Ristic
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
Tiji Thomas
 
Php Tutorials for Beginners
Php Tutorials for BeginnersPhp Tutorials for Beginners
Php Tutorials for Beginners
Vineet Kumar Saini
 
Class 3 - PHP Functions
Class 3 - PHP FunctionsClass 3 - PHP Functions
Class 3 - PHP Functions
Ahmed Swilam
 
PHP
PHPPHP
PHP Web Programming
PHP Web ProgrammingPHP Web Programming
PHP Web Programming
Muthuselvam RS
 
Introduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHPIntroduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHP
wahidullah mudaser
 
PHP - Introduction to PHP - Mazenet Solution
PHP - Introduction to PHP - Mazenet SolutionPHP - Introduction to PHP - Mazenet Solution
PHP - Introduction to PHP - Mazenet Solution
Mazenetsolution
 
Class 2 - Introduction to PHP
Class 2 - Introduction to PHPClass 2 - Introduction to PHP
Class 2 - Introduction to PHP
Ahmed Swilam
 
PHP - Introduction to PHP
PHP -  Introduction to PHPPHP -  Introduction to PHP
PHP - Introduction to PHP
Vibrant Technologies & Computers
 

What's hot (20)

Open Source Package PHP & MySQL
Open Source Package PHP & MySQLOpen Source Package PHP & MySQL
Open Source Package PHP & MySQL
 
PHP Basic
PHP BasicPHP Basic
PHP Basic
 
Php basics
Php basicsPhp basics
Php basics
 
PHP POWERPOINT SLIDES
PHP POWERPOINT SLIDESPHP POWERPOINT SLIDES
PHP POWERPOINT SLIDES
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
 
PHP Variables and scopes
PHP Variables and scopesPHP Variables and scopes
PHP Variables and scopes
 
Dev traning 2016 basics of PHP
Dev traning 2016   basics of PHPDev traning 2016   basics of PHP
Dev traning 2016 basics of PHP
 
PHP
PHPPHP
PHP
 
07 Introduction to PHP #burningkeyboards
07 Introduction to PHP #burningkeyboards07 Introduction to PHP #burningkeyboards
07 Introduction to PHP #burningkeyboards
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
 
Php Tutorials for Beginners
Php Tutorials for BeginnersPhp Tutorials for Beginners
Php Tutorials for Beginners
 
Class 3 - PHP Functions
Class 3 - PHP FunctionsClass 3 - PHP Functions
Class 3 - PHP Functions
 
PHP
PHPPHP
PHP
 
PHP Web Programming
PHP Web ProgrammingPHP Web Programming
PHP Web Programming
 
Introduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHPIntroduction to PHP - Basics of PHP
Introduction to PHP - Basics of PHP
 
Php i basic chapter 3
Php i basic chapter 3Php i basic chapter 3
Php i basic chapter 3
 
Introduction to php basics
Introduction to php   basicsIntroduction to php   basics
Introduction to php basics
 
PHP - Introduction to PHP - Mazenet Solution
PHP - Introduction to PHP - Mazenet SolutionPHP - Introduction to PHP - Mazenet Solution
PHP - Introduction to PHP - Mazenet Solution
 
Class 2 - Introduction to PHP
Class 2 - Introduction to PHPClass 2 - Introduction to PHP
Class 2 - Introduction to PHP
 
PHP - Introduction to PHP
PHP -  Introduction to PHPPHP -  Introduction to PHP
PHP - Introduction to PHP
 

Similar to Web technology html5 php_mysql

Php Tutorial
Php TutorialPhp Tutorial
Php Tutorial
SHARANBAJWA
 
PHP
PHPPHP
PHP ITCS 323
PHP ITCS 323PHP ITCS 323
PHP ITCS 323
Sleepy Head
 
Php ppt
Php pptPhp ppt
Php ppt
Sasi Kumar
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
Sasi Kumar
 
Php notes
Php notesPhp notes
Php notes
Muthuganesh S
 
What should or not be programmed on the web
What should or not be programmed on the  webWhat should or not be programmed on the  web
What should or not be programmed on the web
Mohammad Kamrul Hasan
 
Php&amp;yii2
Php&amp;yii2Php&amp;yii2
Php&amp;yii2
RakhiBhojwani
 
Visual Studio .NET2010
Visual Studio .NET2010Visual Studio .NET2010
Visual Studio .NET2010Satish Verma
 
Php
PhpPhp
PHP - Introduction to PHP Fundamentals
PHP -  Introduction to PHP FundamentalsPHP -  Introduction to PHP Fundamentals
PHP - Introduction to PHP Fundamentals
Vibrant Technologies & Computers
 
Php
PhpPhp
PowerShell Zero To Hero Workshop!
PowerShell Zero To Hero Workshop!PowerShell Zero To Hero Workshop!
PowerShell Zero To Hero Workshop!
Daisy Stevens
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
karan saini
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
Microsoft Tech
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
Arpit Meena
 
Web 2 0 Requirements
Web 2 0 RequirementsWeb 2 0 Requirements
Web 2 0 RequirementsSreekanth K
 

Similar to Web technology html5 php_mysql (20)

Php Tutorial
Php TutorialPhp Tutorial
Php Tutorial
 
PHP
PHPPHP
PHP
 
PHP ITCS 323
PHP ITCS 323PHP ITCS 323
PHP ITCS 323
 
Php ppt
Php pptPhp ppt
Php ppt
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
Php notes
Php notesPhp notes
Php notes
 
What should or not be programmed on the web
What should or not be programmed on the  webWhat should or not be programmed on the  web
What should or not be programmed on the web
 
Php Ppt
Php PptPhp Ppt
Php Ppt
 
Php&amp;yii2
Php&amp;yii2Php&amp;yii2
Php&amp;yii2
 
Visual Studio .NET2010
Visual Studio .NET2010Visual Studio .NET2010
Visual Studio .NET2010
 
Php
PhpPhp
Php
 
PHP - Introduction to PHP Fundamentals
PHP -  Introduction to PHP FundamentalsPHP -  Introduction to PHP Fundamentals
PHP - Introduction to PHP Fundamentals
 
Php
PhpPhp
Php
 
PowerShell Zero To Hero Workshop!
PowerShell Zero To Hero Workshop!PowerShell Zero To Hero Workshop!
PowerShell Zero To Hero Workshop!
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
 
Chowdhury webtech
Chowdhury webtechChowdhury webtech
Chowdhury webtech
 
Web 2 0 Requirements
Web 2 0 RequirementsWeb 2 0 Requirements
Web 2 0 Requirements
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Web technology html5 php_mysql

  • 1. WEB TECHNOLOGY USING HTML5 WITH PHP AND MYSQL -BY N.DURAIARASAN CMS & CTS MADURAI
  • 2. NEED OF WEB APPLICATIONS  Web applications have revolutionized the way a business is conducted or day-to-day tasks are performed.  These applications enable organizations and individuals to share and access information from anywhere and at any time.  With the phenomenal advent of open source products owing to low development cost and customizable source code,  HTML5, PHP & MYSQL is fast emerging as the highly preferred scripting languages for developing Web Applications.
  • 3. HTML AND HTML 5  HTML is the markup language used by web developers to create web [ages. It is written in the format of HTML elements containing tags bracketed in angle brackets like ‘<html>’   HTML elements form the structure blocks of all websites.   Web browsers don’t display HTML tags and scripts, but use them to interpret the content of the page.    HTML5 is the fifth version of HTML and complete version of HTML standard of the WWW (World Wide Web Consortium)  The aim of HTML5 is to improve the language by support of latest multimedia while keeping it user friendly and easily readable by humans and consistently understood by computers and devices such as web browsers 
  • 4. WHAT IS IN HTML 5 These the portion include in the 5th version of HTML5. They are. HTML CSS JAVASCRIPT JQUERY CANVAS GEO LOCATION  HTML5 is attempting to discover and codify this error handling, so that browser developers can all standardize and greatly reduce the time and money
  • 5. CSS  Cascading Style Sheets (CSS) provide easy and effective alternatives to specify various attributes for the HTML tags.  Using CSS, you can specify a number of style properties for a given HTML element.  Each property has a name and a value, separated by a colon (:). Each property declaration is separated by a semi-colon (;). .amazing {border: 1px solid blue;} #surprizing {border: 1px solid blue;}
  • 6. JAVASCRIPT It is client side scripting language. Is used to add dynamism and interactivity to Web pages. Is an object-based language and treats every element as an object. Provides various types of built-in objects, which help to make a Web page dynamic and interactive.  A JavaScript will be included in HTML files using <script> tag. <script> function Hello() { alert("Hello, World"); } </script>
  • 7. JQUERY  Helps in finding, traversing, and manipulating HTML elements inside an HTML document.  Helps you to animate HTML elements, handle events, and make your applications rich and interactive. CONTROLS LIKE  Autocomplete  Datepicker  Accordion  Can be included by using the following syntax: <script type= "text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.js")"> </script>
  • 8. CANVAS  canvas element for 2D drawing. It is a vector graphics is integral part of HTML5   <canvas> - an area you can paint/render as you like. Mainly used for games.  <canvas> Tag : it is used for draw graphic on web page.  <!DOCTYPE>  <html>  <body>  <canvas id="canvasid" width="300" height="200" style="border:4px solid #F00;">  </canvas>  </body>  </html>
  • 9. GEOLOCATION  GeoLocation of user browsing any website especially if it comes to mobile devices.  GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it)  Up-to-date local information  Showing Points-of-interest near the user  Turn-by-turn navigation (GPS)  The getCurrentPosition() Method - Return Data for The latitude, longitude and accuracy properties are always returned.
  • 10. PHP LANGUAGE  PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994.  The PHP processor only parses code within its delimiters. Anything outside its delimiters is sent directly to the output and not parsed by PHP. The only open/close delimiters allowed by PSR-1[3]  are "<?php" and "?>" or <?= and ?>  Eg :  <?php echo “display it”; ?>
  • 11. PHP SYNTAX  PHP variables must begin with a “$” sign  Case-sensitive ($Foo != $foo != $fOo)  /* C-style comments  These can span multiple lines */  Syntax Perl- and C-like syntax. Relatively easy to learn.  Large function library  Embedded directly into HTML  Interpreted, no need to compile  Open Source server-side scripting language designed specifically for the web.
  • 13. PHP Control StructuresPHP Control Structures  Control Structures: Are the structures within a language that allow us to control the flow of execution through a program or script.  Grouped into conditional (branching) structures (e.g. if/else) and repetition structures (e.g. while loops).  Example if/else if/else statement: if ($foo == 0) { echo ‘The variable foo is equal to 0’; } else if (($foo > 0) && ($foo <= 5)) { echo ‘The variable foo is between 1 and 5’; } else { echo ‘The variable foo is equal to ‘.$foo; }
  • 14. FUNCTIONSFUNCTIONS  Functions MUST be defined before then can be called  Function headers are of the format  Note that no return type is specified  Unlike variables, function names are not case sensitive (foo(…) == Foo(…) == FoO(…)) function functionName($arg_1, $arg_2, …, $arg_n)
  • 15. FUNCTIONS EXAMPLEFUNCTIONS EXAMPLE <?php // This is a function function foo($arg_1, $arg_2) { $arg_2 = $arg_1 * $arg_2;   return $arg_2; } $result_1 = foo(12, 3); // Store the function echo $result_1; // Outputs 36 echo foo(12, 3); // Outputs 36 ?>
  • 16. MYSQL DATABASE  PHP can work with various database systems. MySQL is a popular open-source database system mostly work with PHP.  MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications  MySQL is very fast, reliable, and easy to use  MySQL uses standard SQL  MySQL compiles on a number of platforms  MySQL is free to download and use Eg: mysql> create table emp(eid int,ename char(43));
  • 17. MYSQL INSTALLING OS  MySQL runs on more than 20 platforms, giving users the kind of flexibility that puts them in control. Windows, Linux and Solaris are the most popular operating systems for running MySQL. Versions of MySQL are currently available for the following operating systems; • Windows (multiple) • Mac OS/X • SCO • Linux (multiple) • HP-UX • Open BSD • Solaris • IBM AIX • SGI Irix • FreeBSD • QNX • Novell NetWare
  • 18. PHPMYADMIN THIS IS THE IDE OF MYSQL WORKING
  • 19. MYSQL + PHP QUERY WITH CODING