SlideShare a Scribd company logo
1
Open Source
Programming
- Introduction to PHP
- PHP installation /wamp server
installation for PHP environment
- PHP syntax
- PHP variables
- PHP Strings
- PHP Operator
PHP
3
The Objectives:
• To be employable …
or – to become an employer/entrepreneur
4
The Objectives:
• To be employable …
or – to become an employer/entrepreneur
• OSP objectives:
• Students need specific technical skills!
• Students need to know Programming!
• Students need to know teamwork
• Students must be problem-solvers.
5
The Prerequisites:
• if u know HTML then ok else no problem
You need courage and time
• This will be an Intense course
6
What’s the course?
• Programming in PHP + mySQL
• “But ... I’m not a programmer!”
Right. That’s why you are here.
When we are done, you WILL be
a programmer.
7
The Goals:
• Problem-solving and debugging
• PHP language
• mySQL database design and language
• Improve your HTML skills
• Understand and use XML
8
What you’ll learn
Server-side scripting – PHP
Form processing
Cookies + Validation + Regular Expressions
Sessions + Authentication
File processing
Image libraries + APIs
Relational databases / MySQL
SimpleXML
Objects + Classes
Security
9
Expectations and Performance
Sound in programming
NOT ANY MORE.
If you don’t work hard in this course,
10
Computing Environment:
•Dreamweaver MX 2004 or better
edits PHP very nicely
(Or: Free: Notepad++, Codelobster...)
WAMP: Windows-Apache, MySQL, PHP
MAMP: Macintosh-Apache, MySQL, PHP
We demonstrate today, help you install.
www.wampserver.com
www.mamp.info
11
Two Tier Web Architecture:
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP
12
Two Tier Web Architecture:
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP .html
Files
13
Two Tier Web Architecture:HTML
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP .html
files
Response: HTTP/HTML
(or other doctypes:PDF,etc)
(client doesn’t see PHP)
14
Two Tier Web Architecture: PHP
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP
.php files help Apache
CREATE html
Tagged data
Response: HTTP/HTML
(or other doctypes:PDF,etc)
(client doesn’t see PHP)
15
Three Tier Web Architecture:MySQL
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP
Response: HTTP/HTML
(or other doctypes:PDF,etc)
(client doesn’t see PHP)
.php files ask MySQL
For info; put into
HTML form
Database
Mgt System:
MySQL
Request:SQL
Reply:ASCII
.frm, .MYD,
.MYI files
16
Three Tier Web Architecture:MySQL
Client:
e. g. FireFox
On your PC
Web Server:
e. g. Apache
On sulley.dm.ucf.edu
Request: HTTP
Response: HTML
(client doesn’t see PHP) .php files ask MySQL
For info; put into
HTML form
Database
Mgt System:
MySQL
Request:SQL
Reply:ASCII
.frm, .MYD,
.MYI files
Examples (what they call for:)
Customer:
- Shopping Cart
DB Administrator:
- PHPmyAdmin
Managers,etc:
- Specialized PHP code
WAMP
What is WAMP?
• WAMP = Windows+Apache+MySql+PHP
Note:WAMP5 does not work with Windows 98,Me
WAMP Installation
• A single installation file downloaded from
http://www.wampserver.com/en/download.php
After Installation
Application Service
• Apache
wampapache
• PHP
• MySQL database
wampmysql
WAMP’s Menu
Management Portals
• PHPmyadmin
• SQLitemanager
Note: A user has to click
on the icon tray to access
WAMP's menu.
WAMP’s Menu
• Configuration and
Settings
• Loaded Modules
• Directory Access
Shortcut
WAMP’s Menu
Services
• Apache
• MySQL
Note:
The icon tray reflects
the status of your
server.
Haiti Migration
Architecture
Windows Server
IIS
LDAP
PHP
SQL Server
Tomcat
Perl (Replication)
Login/off
Report
Windows Server
Apache
LDAP
PHP
MySQL
Tomcat
Perl (Replication)
Login/off
Report
Haiti Migration
New Applications
• Apache
HTTPS Setting
• MySQL
– DDL
– DML
– Data
– Data Migration
Haiti Migration
• DDL
For example,
MsSQL:
CREATE TABLE <TABLENAME> (
<TABLENAME>_id bigint IDENTITY (1, 1) NOT NULL
…
MySQL:
CREATE TABLE <TABLENAME> (
<TABLENAME>_id bigint NOT NULL AUTO_INCREMENT,
…
Haiti Migration
• DML
For example,
MsSQL:
select top 10 * from patient;
MySQL:
select * from patient limit 0,10;
Haiti Migration
• Data
MsSQL:
MySQL:
Haiti Migration
• Data Migration
We use ODBC to migrate data from the
MsSQL database to the MySQL database.
We use PHP to export data from the MySQL
database and then import the data into the
MySQL database.
Haiti Migration
• MsSQL and MySQL follow the SQL-
92 standard. However, each of them
have their own extensions.
Source Common Full Name Development
Name Method
ANSI SQL/PSM SQL/Persistent Stored Module Standard
IBM SQL PL SQL Procedural Language Proprietary
Microsoft/ T-SQL Transact-SQL Proprietary
Sybase
MySQL MySQL MySQL Open Source/
Proprietary
Oracle PL/SQL Procedural Language/SQL Proprietary
Affected Applications
• Question
Which applications will be affected if we install
WAMP?
Windows Server
Apache
LDAP
PHP
MySQL
Tomcat
Perl (Replication)
Login/off
Report
Windows Server
Apache
LDAP
PHP
MySQL
Tomcat
Perl (Replication)
Login/off
Report
Affected Applications
• PERL(Replication)
• PHP
• Tomcat
Affected Applications
• PERL (Replication)
It uses standard sql in inserting data.
Conclusion: It requires a little change during
the WAMP migration.
Overall
• WAMP is easy to install and it is free to
use.
• Migration from IIS/PHP/MsSQL to WAMP
is practical.
• The cost of migration is mainly to review
queries and change them based on the SQL
extension of MySQL.
35
35
35
35
35
FOR next week, WHAT?
what you SHOULD have done.
If you are fine,
If MAC, find and install MAMP
Else
If Win, find and install WAMP
Else
you're Linux, and cool already.
MAMP: Macintosh Apache, MySQL, PHP
www.mamp.info
WAMP: you get the picture.
www.wampserver.com

More Related Content

What's hot

JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
Jeff Fox
 
Video display devices
Video display devicesVideo display devices
Video display devices
shalinikarunakaran1
 
Web development with Python
Web development with PythonWeb development with Python
Web development with Python
Raman Balyan
 
Line Drawing Algorithms - Computer Graphics - Notes
Line Drawing Algorithms - Computer Graphics - NotesLine Drawing Algorithms - Computer Graphics - Notes
Line Drawing Algorithms - Computer Graphics - Notes
Omprakash Chauhan
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
Vikas Jagtap
 
Code generation in Compiler Design
Code generation in Compiler DesignCode generation in Compiler Design
Code generation in Compiler Design
Kuppusamy P
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
josemachoco
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
Iqra khalil
 
Object Oriented Technologies
Object Oriented TechnologiesObject Oriented Technologies
Object Oriented Technologies
Tushar B Kute
 
Operator Overloading In Python
Operator Overloading In PythonOperator Overloading In Python
Operator Overloading In Python
Simplilearn
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
Nidhi mishra
 
College Web Site HTML PROJECT
College Web Site HTML PROJECTCollege Web Site HTML PROJECT
College Web Site HTML PROJECT
Rai Saheb Bhanwar Singh College Nasrullaganj
 
Introduction to matplotlib
Introduction to matplotlibIntroduction to matplotlib
Introduction to matplotlib
Piyush rai
 
constructors in java ppt
constructors in java pptconstructors in java ppt
constructors in java ppt
kunal kishore
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
Timbal Mayank
 
Python Modules
Python ModulesPython Modules
Python Modules
Nitin Reddy Katkam
 
Constructors in java
Constructors in javaConstructors in java
Constructors in java
chauhankapil
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
Mohammed Sikander
 

What's hot (20)

JSON: The Basics
JSON: The BasicsJSON: The Basics
JSON: The Basics
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Web development with Python
Web development with PythonWeb development with Python
Web development with Python
 
php
phpphp
php
 
Line Drawing Algorithms - Computer Graphics - Notes
Line Drawing Algorithms - Computer Graphics - NotesLine Drawing Algorithms - Computer Graphics - Notes
Line Drawing Algorithms - Computer Graphics - Notes
 
Jsp ppt
Jsp pptJsp ppt
Jsp ppt
 
Code generation in Compiler Design
Code generation in Compiler DesignCode generation in Compiler Design
Code generation in Compiler Design
 
JAVA ENVIRONMENT
JAVA  ENVIRONMENTJAVA  ENVIRONMENT
JAVA ENVIRONMENT
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Object Oriented Technologies
Object Oriented TechnologiesObject Oriented Technologies
Object Oriented Technologies
 
Operator Overloading In Python
Operator Overloading In PythonOperator Overloading In Python
Operator Overloading In Python
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
College Web Site HTML PROJECT
College Web Site HTML PROJECTCollege Web Site HTML PROJECT
College Web Site HTML PROJECT
 
Introduction to matplotlib
Introduction to matplotlibIntroduction to matplotlib
Introduction to matplotlib
 
constructors in java ppt
constructors in java pptconstructors in java ppt
constructors in java ppt
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
Oops concept on c#
Oops concept on c#Oops concept on c#
Oops concept on c#
 
Python Modules
Python ModulesPython Modules
Python Modules
 
Constructors in java
Constructors in javaConstructors in java
Constructors in java
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
 

Similar to wamp.ppt

Php reports sumit
Php reports sumitPhp reports sumit
Php reports sumit
Sumit Biswas
 
working with PHP & DB's
working with PHP & DB'sworking with PHP & DB's
working with PHP & DB's
Hi-Tech College
 
Scaling 101
Scaling 101Scaling 101
Scaling 101
Chris Finne
 
Web programming
Web programmingWeb programming
Web programming
Ishucs
 
Php mysql-training online-by_php2ranjan
Php mysql-training online-by_php2ranjanPhp mysql-training online-by_php2ranjan
Php mysql-training online-by_php2ranjan
php2ranjan
 
php training in hyderabad
php training in hyderabadphp training in hyderabad
php training in hyderabad
php2ranjan
 
Lecture1 introduction by okello erick
Lecture1 introduction by okello erickLecture1 introduction by okello erick
Lecture1 introduction by okello erick
okelloerick
 
PHP Introduction ( Fedora )
PHP Introduction ( Fedora )PHP Introduction ( Fedora )
PHP Introduction ( Fedora )Kishore Kumar
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
Christopher Reding
 
Current state-of-php
Current state-of-phpCurrent state-of-php
Current state-of-php
Richard McIntyre
 
PHP Unit-1 Introduction to PHP
PHP Unit-1 Introduction to PHPPHP Unit-1 Introduction to PHP
PHP Unit-1 Introduction to PHP
Lariya Minhaz
 
Intro to advanced web development
Intro to advanced web developmentIntro to advanced web development
Intro to advanced web development
Stevie T
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessor
adeel990
 
DB2 and PHP in Depth on IBM i
DB2 and PHP in Depth on IBM iDB2 and PHP in Depth on IBM i
DB2 and PHP in Depth on IBM i
Alan Seiden
 
Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i  Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i
Zend by Rogue Wave Software
 
Php Interview Questions
Php Interview QuestionsPhp Interview Questions
Php Interview Questions
UmeshSingh159
 
PHP MySQL Workshop - facehook
PHP MySQL Workshop - facehookPHP MySQL Workshop - facehook
PHP MySQL Workshop - facehook
Brainware Consultancy Pvt Ltd
 

Similar to wamp.ppt (20)

Php reports sumit
Php reports sumitPhp reports sumit
Php reports sumit
 
working with PHP & DB's
working with PHP & DB'sworking with PHP & DB's
working with PHP & DB's
 
Scaling 101 test
Scaling 101 testScaling 101 test
Scaling 101 test
 
Scaling 101
Scaling 101Scaling 101
Scaling 101
 
Web programming
Web programmingWeb programming
Web programming
 
Php mysql-training online-by_php2ranjan
Php mysql-training online-by_php2ranjanPhp mysql-training online-by_php2ranjan
Php mysql-training online-by_php2ranjan
 
php training in hyderabad
php training in hyderabadphp training in hyderabad
php training in hyderabad
 
Lecture1 introduction by okello erick
Lecture1 introduction by okello erickLecture1 introduction by okello erick
Lecture1 introduction by okello erick
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
PHP Introduction ( Fedora )
PHP Introduction ( Fedora )PHP Introduction ( Fedora )
PHP Introduction ( Fedora )
 
Lamp
LampLamp
Lamp
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
 
Current state-of-php
Current state-of-phpCurrent state-of-php
Current state-of-php
 
PHP Unit-1 Introduction to PHP
PHP Unit-1 Introduction to PHPPHP Unit-1 Introduction to PHP
PHP Unit-1 Introduction to PHP
 
Intro to advanced web development
Intro to advanced web developmentIntro to advanced web development
Intro to advanced web development
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessor
 
DB2 and PHP in Depth on IBM i
DB2 and PHP in Depth on IBM iDB2 and PHP in Depth on IBM i
DB2 and PHP in Depth on IBM i
 
Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i  Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i
 
Php Interview Questions
Php Interview QuestionsPhp Interview Questions
Php Interview Questions
 
PHP MySQL Workshop - facehook
PHP MySQL Workshop - facehookPHP MySQL Workshop - facehook
PHP MySQL Workshop - facehook
 

Recently uploaded

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 

Recently uploaded (20)

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 

wamp.ppt

  • 2. - Introduction to PHP - PHP installation /wamp server installation for PHP environment - PHP syntax - PHP variables - PHP Strings - PHP Operator PHP
  • 3. 3 The Objectives: • To be employable … or – to become an employer/entrepreneur
  • 4. 4 The Objectives: • To be employable … or – to become an employer/entrepreneur • OSP objectives: • Students need specific technical skills! • Students need to know Programming! • Students need to know teamwork • Students must be problem-solvers.
  • 5. 5 The Prerequisites: • if u know HTML then ok else no problem You need courage and time • This will be an Intense course
  • 6. 6 What’s the course? • Programming in PHP + mySQL • “But ... I’m not a programmer!” Right. That’s why you are here. When we are done, you WILL be a programmer.
  • 7. 7 The Goals: • Problem-solving and debugging • PHP language • mySQL database design and language • Improve your HTML skills • Understand and use XML
  • 8. 8 What you’ll learn Server-side scripting – PHP Form processing Cookies + Validation + Regular Expressions Sessions + Authentication File processing Image libraries + APIs Relational databases / MySQL SimpleXML Objects + Classes Security
  • 9. 9 Expectations and Performance Sound in programming NOT ANY MORE. If you don’t work hard in this course,
  • 10. 10 Computing Environment: •Dreamweaver MX 2004 or better edits PHP very nicely (Or: Free: Notepad++, Codelobster...) WAMP: Windows-Apache, MySQL, PHP MAMP: Macintosh-Apache, MySQL, PHP We demonstrate today, help you install. www.wampserver.com www.mamp.info
  • 11. 11 Two Tier Web Architecture: Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP
  • 12. 12 Two Tier Web Architecture: Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP .html Files
  • 13. 13 Two Tier Web Architecture:HTML Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP .html files Response: HTTP/HTML (or other doctypes:PDF,etc) (client doesn’t see PHP)
  • 14. 14 Two Tier Web Architecture: PHP Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP .php files help Apache CREATE html Tagged data Response: HTTP/HTML (or other doctypes:PDF,etc) (client doesn’t see PHP)
  • 15. 15 Three Tier Web Architecture:MySQL Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP Response: HTTP/HTML (or other doctypes:PDF,etc) (client doesn’t see PHP) .php files ask MySQL For info; put into HTML form Database Mgt System: MySQL Request:SQL Reply:ASCII .frm, .MYD, .MYI files
  • 16. 16 Three Tier Web Architecture:MySQL Client: e. g. FireFox On your PC Web Server: e. g. Apache On sulley.dm.ucf.edu Request: HTTP Response: HTML (client doesn’t see PHP) .php files ask MySQL For info; put into HTML form Database Mgt System: MySQL Request:SQL Reply:ASCII .frm, .MYD, .MYI files Examples (what they call for:) Customer: - Shopping Cart DB Administrator: - PHPmyAdmin Managers,etc: - Specialized PHP code
  • 17. WAMP
  • 18. What is WAMP? • WAMP = Windows+Apache+MySql+PHP Note:WAMP5 does not work with Windows 98,Me
  • 19. WAMP Installation • A single installation file downloaded from http://www.wampserver.com/en/download.php
  • 20. After Installation Application Service • Apache wampapache • PHP • MySQL database wampmysql
  • 21. WAMP’s Menu Management Portals • PHPmyadmin • SQLitemanager Note: A user has to click on the icon tray to access WAMP's menu.
  • 22. WAMP’s Menu • Configuration and Settings • Loaded Modules • Directory Access Shortcut
  • 23. WAMP’s Menu Services • Apache • MySQL Note: The icon tray reflects the status of your server.
  • 24. Haiti Migration Architecture Windows Server IIS LDAP PHP SQL Server Tomcat Perl (Replication) Login/off Report Windows Server Apache LDAP PHP MySQL Tomcat Perl (Replication) Login/off Report
  • 25. Haiti Migration New Applications • Apache HTTPS Setting • MySQL – DDL – DML – Data – Data Migration
  • 26. Haiti Migration • DDL For example, MsSQL: CREATE TABLE <TABLENAME> ( <TABLENAME>_id bigint IDENTITY (1, 1) NOT NULL … MySQL: CREATE TABLE <TABLENAME> ( <TABLENAME>_id bigint NOT NULL AUTO_INCREMENT, …
  • 27. Haiti Migration • DML For example, MsSQL: select top 10 * from patient; MySQL: select * from patient limit 0,10;
  • 29. Haiti Migration • Data Migration We use ODBC to migrate data from the MsSQL database to the MySQL database. We use PHP to export data from the MySQL database and then import the data into the MySQL database.
  • 30. Haiti Migration • MsSQL and MySQL follow the SQL- 92 standard. However, each of them have their own extensions. Source Common Full Name Development Name Method ANSI SQL/PSM SQL/Persistent Stored Module Standard IBM SQL PL SQL Procedural Language Proprietary Microsoft/ T-SQL Transact-SQL Proprietary Sybase MySQL MySQL MySQL Open Source/ Proprietary Oracle PL/SQL Procedural Language/SQL Proprietary
  • 31. Affected Applications • Question Which applications will be affected if we install WAMP? Windows Server Apache LDAP PHP MySQL Tomcat Perl (Replication) Login/off Report Windows Server Apache LDAP PHP MySQL Tomcat Perl (Replication) Login/off Report
  • 33. Affected Applications • PERL (Replication) It uses standard sql in inserting data. Conclusion: It requires a little change during the WAMP migration.
  • 34. Overall • WAMP is easy to install and it is free to use. • Migration from IIS/PHP/MsSQL to WAMP is practical. • The cost of migration is mainly to review queries and change them based on the SQL extension of MySQL.
  • 35. 35 35 35 35 35 FOR next week, WHAT? what you SHOULD have done. If you are fine, If MAC, find and install MAMP Else If Win, find and install WAMP Else you're Linux, and cool already. MAMP: Macintosh Apache, MySQL, PHP www.mamp.info WAMP: you get the picture. www.wampserver.com