PHP and MySQL by Example - Brookdale Community College

Download Report

Transcript PHP and MySQL by Example - Brookdale Community College

PHP and MySQL by Example
COMP268-800YL
Professor Mattos
Chapter 1 - Introduction
• From Static to Dynamic WebSite
• Process of creating dynamic Web sites
“Old Way” – Common Gateway Interface
Browser - (http) - Server – (CGI) – Perl Script – DataBase
“New Way” – PHP embedded in Web Page
Browser – (http) – Server/(PHP) – DataBase
• Open source -> makes software source code
freely available with limited restrictions.
PHP – Hypertext Preprocessor
PHP – Personal Home Page
• PHP -> simple, fast, portable scripting language well
suited for database-enable Web sites
• Official site: http://www.php.net
Introductory Tutorial
Online Manual
Current Version 5.5.3 (supplied with book ->
5.1.6)
MySQL
• MySQL -> Open source Relational DataBase
Management System
• Fast, reliable and easy to use
• Official site: http://www.mysql.com
• Current version 5.6.13 (supplied with the book
-> 5.0.24a)
Advantages of MySQL and PHP
•
•
•
•
•
•
•
High Performance
Built-in Libraries
Extensibility
Relatively Low Cost
Portability
Developer Community
Ease of Learning