This document summarizes a presentation on web technologies including HTML, CSS, JavaScript, PHP, and databases. A team of 4 students - Navpreet Kaur, Amit Sandhu, Manpreet Singh, and Lovepreet kaur - presented on the basics of each technology to Oceana Tech Company at Sant Baba Bhag Singh University. The presentation covered common elements of each language like tags, selectors, variables, functions, and queries as well as how to set up and use supporting software like XAMPP and text editors. The goal was to provide an overview of the key concepts for each web development topic.
Mohali Training Presentation by Oceana Tech Company
1. PRESENTATION OF MOHALI TRAINING
OCEANA TECH COMPANY
SANT BABA BHAG SINGH UNIVERSITY
Submitted To:
Mr. Munish Sharma
Submitted by:
Navpreet Kaur 20015012
Amit Sandhu 20015026
Manpreet Singh 20015066
Lovepreet kaur 20015083
6. JavaScript
Include JavaScript :-
<script src =“a.js”></ script>
Alert Keyword
For Output :-
document.write() or console.log()
To print Variable :-
var or let (declare variable )
8. Loops
Infinite loop
While loop
Positive or Negative
Switch Statement
Events
9. PHP
Open source :- It means no need to
purchase any Liceance and all
software are freely download from
internet.
Runs :- It runs on all operating
systems. Like:- Window, Linux, Unix,
Mac, Sunsolaris etc.
API (Application Program interface)
10. Difference between OOPS4 v/s OOPS5.
OOPS4:- It does not supports OOPS. Developed in
1994.
OOPS5:- It supports OOPS. Offically declared in
2006.
XAMPP:- PHP runs on XAMPP server. Fullform of
XAMPP:
X- Extensible
A- Apache
M- MySQL
PP- Hypertext Preprocessor
11. Text Editor:- Visual Studio, Notepad, Notepad++
etc.
To run PHP file:-
Type localhost/foldername/a.php in browser.
Save File:- My Computer-> C drive-> XAMPP->
htdocs-> create folder-> save all files.
Printing anything in PHP:-
echo “Hello”;
Variable declaration ($):-
$a=“abcde”;
echo $a;
12. File handling
Make directory:-
$a=mkdir(“abc”);
Remove directory:-
$a=rmdir(“abc”);
Create file:-
$a=f open(“a22.php”,”W”);
Unlink():- Used to delete a file.
$a=unlink(“a22.php”);
13. Databasess
Database is a collection of related tables
or collection of data objects.
For database we use XAMPP.
To create local web server on your
computer.
We learn MySQL for database.
Select Queries:-
SELECT_QUERIES is
used to fetch the data from the MySQL
database.
14. Primary Key
Unique Key
Foreign Key
Create database
Drop database
Update
Function