Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

INDUSTRIAL TRAINING

PRESENTATION

SUBMITTED BY-PARMOD KUMAR(170610207020)


NANDINI THAKUR(170610207016)
IT 5TH SEMESTER (3RD YEAR)
INTRODUCTION
HTML
CSS
JAVA SCRIPT
PHP
State management
HTML:
HTML is stand for HYPER TEXT
MARKUP LANGUAGE.
It is used for create and design the
web pages.
HTML is set of tags.
It is not a programing language it is
a set of markup language .
CSS

• CSS STANDS FOR CASCADING STYLE SHEETS


• CSS is a language that describes the style of
an HTML document.
• CSS describes how HTML elements should be
displayed.
JAVA SCRIPT:

JAVA SCRIPT is client side scripting language.


It is invented by Brendan Eich in 1995.
JavaScript is easy to learn.
JavaScript is scripting language.
JavaScript is usually embedded into HTML
page.
PHP:
PHP is stand for HYPER TEXT PRE-PROCESSOR.
PHP is developed by Rasmus Lerdorf in 1995.
The old name of PHP is Personal Home Page.
WHAT IS PHP:
PHP is server site scripting language.
It is a open source software.
PHP support many database(Oracle,
MySql).
PHP is server site scripting language
that runs on the web server and use
for web development.
EXAMPLE OF PHP:
<html>
<body>
<?php
echo “Hello World!”; OUTPUT:
?> Hello World!
</body>
</html>
VARIABLE IN PHP:
 A variable name cannot start with a NUMBER PHP
 a variable is start with the $ sign , followed by the name of the
variable.
 umber.
 A variable name can only contain alpha-numeric characters and
underscores(A-Z,0-9,_).
 A variable name must start with a letter or the underscore
(_)character.
 Variable names are case sensitive.
DECLARING PHP VARIABLE:

• <?php
• $txt=“Hello World!”;
• $x=5;
• $y=10.5;
• ?>
GET METHOD:
 GET method is used for transfer the data from one page to
next page.
 But within the GET method when we transfer the data,
data is show in the URL bar.
 In the GET method we can transfer limited amount of
data.
 The data transfer speed is fast as compare to POST
method.
POST METHOD:
 POST method is also used for transfer the data from one
page to next page.
 But within the POST method data is not show in the URL
bar.
 In the POST method we can transfer unlimited amount of
data.
 The data transfer speed is slow as compare to GET method.
STATE MANAGEMENT:
• To manage the state of stateless pages we use state management technique.

Types of State management:


1. Client side state management.
2. Server side state management.
COOKIES:
To store data in text files and that text file resides on the client machine. We can store only string
values not objects.

Scope:
• By default cookies are temporary and temporary cookies are stored on the
browser memory.
• We can specify expiry date/time for cookie.
• Initial size of cookie is 50 bytes.
• Maximum size of cookie 4kb/4096bytes.
• Maximum no of cookies per website=20.
QUERY STRING:
• Data concatenate with URL .
• We can store only string data not object.
• Scope of query string is Next page.
• Maximum size of URL is 2086 character.

Drawbacks:
• Size limitation.
• Not secure.
HIDDEN:
• It is similar to Query String.
• In hidden control we can store only string data not object.
• Scope of hidden control is Next Page.
• Performance wise Query String is better than Hidden
Control.
SERVER SIDE STATE MANAGEMENT:

• To use the server Resources.


• Performance by slow as compared to client side State
management.
Type :
 Session.
DATABASE CONNECTIVITY :
DATABASE Connectivity queries
• Database is basically used for permanent $con= mysqli_connect() for create the
storage of data. connection between PHP and Database
• Within the DB all the data store in form of • It contain the following parameters: Server
table name , username, password , DB name.
• It contain DB name, table name , field name
etc.
• CREATING DATABASE : Enter the database
name->click on create button->table name-
>no. of fields->click on GO->enter field
name->select the type-> save->browse
THANK
YOU

You might also like