Presentation on theme: "PHP and MySQL Week#1 Course Plan. Introduction to Dynamic Web Content. Setting Up Development Server Eng. Mohamed Ahmed Black 1."— Presentation transcript:
PHP and MySQL Week#1 Course Plan. Introduction to Dynamic Web Content. Setting Up Development Server Eng. Mohamed Ahmed Black 1
Introduction to Dynamic Web Content HTTP 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. 2
Introduction to Dynamic Web Content Request/Response Procedure 3
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 more flexibility than HTML alone. PHP: Personal Home Page Tools. PHP: PHP Hypertext Preprocessor. PHP versions: 1, 2, 3, 4, 5 (now in use) 6
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. 7
Setting Up Development Server Environment: 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. 8
Setting Up Development Server What 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). 9 Let Us Set a Development Environment And Test it. Let Us Set a Development Environment And Test it.