1 / 9

PHP and MySQL

PHP and MySQL. Eng. Mohamed Ahmed Black. Week#1 Course Plan. Introduction to Dynamic Web Content. Setting Up Development Server. Introduction to Dynamic Web Content HTTP and HTML:.

ady
Télécharger la présentation

PHP and MySQL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PHP and MySQL Eng. Mohamed Ahmed Black Week#1 Course Plan. Introduction to Dynamic Web Content. Setting Up Development Server

  2. Introduction to Dynamic Web ContentHTTP and HTML: • HTTP is the communication standard that governs requests and responses taking place between Web Clients and Web Servers. • Server/ Client use the Internet to send information. • Webserver can handle more than one request at a time. • And it keeps listening all the time.

  3. Introduction to Dynamic Web ContentRequest/Response Procedure

  4. PHP MySQL Request/Response Procedure

  5. Dynamic Web Components • PHP. • MySQL. • JavaScript. • Ajax. • And Webserver

  6. So, What Is PHP? • Server-side, Scripting Language. • Scripting language runs in response to some event. • Is interpreted not compiled, so code is not Binary. • Is designed for use with HTML. • Provides moreflexibility than HTML alone. • PHP: Personal Home Page Tools. • PHP: PHP Hypertext Preprocessor. • PHP versions: 1, 2, 3, 4, 5 (now in use)

  7. Why Use PHP? • Open Source / Free software. • Cross Platform to Develop and to Deploy. • Web Development Specific. • Powerful, Robust and Scalable. • Object Oriented (Version5). • Rich Documentation: www.php.net/docs.php • Large Active Community. • Community examples: Joomla, Wordpress, Phpvb.

  8. Setting Up Development ServerEnvironment: • WAMP: Windows Apache MySQL PHP. • LAMP: Linux Apache MySQL PHP. • MAMP: Mac Apache MySQL PHP. • You can install each component individually. • Or can get one package containing all the components.

  9. Setting Up Development ServerWhat you need? • Webserver (Apache 2.2.17). • PHP (5.3.5). • Database (MySQL 5.5.8). • Text Editor (Notepad++, Editra or Komodo). • Web Browser (Firefox). Let Us Set a Development Environment And Test it.

More Related