getting started: the environment

24
Getting Started The Environment Mohammed Safwat 2 nd year Comm.& Elecs. Dept.

Upload: ibrahim-abdel-fattah-mohamed

Post on 15-May-2015

654 views

Category:

Technology


0 download

DESCRIPTION

Session by Mohamed Safwat (http://mohammedsafwat.wordpress.com/) in WordCamp Egypt 2009, discussing the environment WordPress is to be installed on.

TRANSCRIPT

Page 1: Getting Started: The Environment

Getting StartedThe Environment

Mohammed Safwat2nd year Comm.& Elecs. Dept.

Page 2: Getting Started: The Environment

Goals

➢ Why is it important to listen to me?➢ Our development environment.➢ Configuring this environment.

Page 3: Getting Started: The Environment

A Developer?

Working with a CMS like WordPress needs to attain a deep understanding of how to build and administrate your development environment.

Page 4: Getting Started: The Environment

Our Development Environment

PHP

Apache Web Server

MySQL database management system

Page 5: Getting Started: The Environment

What's a Web Server?

A computer program that is

responsible for accepting HTTP requests from clients and serving

them HTTP responses .

Page 6: Getting Started: The Environment

What's a Web Server? Path Translation

http://www.example.com/file.html

HTTP 1.1 request:GET /file.html HTTP/1.1Host: www.example.com

Page 7: Getting Started: The Environment

What's a Web Server?

Web server will append path to its

root directory

/var/www/file.html

Page 8: Getting Started: The Environment

HTTP responses contain optional

data contents, like web pages such as HTML documents and linked

objects (images, etc.).

What's a Web Server?

Page 9: Getting Started: The Environment

- HTTP & HTTPS support.- Logging info about client requests and server responses.- Authentication.- Static and Dynamic Contents.

What's a Web Server?

Some Common Features

Page 10: Getting Started: The Environment

Static Contents if they come from an existing file lying on the server's filesystem.

What's a Web Server?

Page 11: Getting Started: The Environment

What's a Web Server?

Dynamic Contentsif they are generated by a script or (API) called by the web server.

is Our Scripting Language..

Page 12: Getting Started: The Environment

PHP is a scripting language

originally designed for producing dynamic web pages.

About PHP

Page 13: Getting Started: The Environment

➢PHP was originally created by Rasmus Lerdorf in 1995.➢PHP is free software released under the PHP License.➢It is incompatible with the GNU General Public License (GPL).➢

About PHP

Page 14: Getting Started: The Environment

➢PHP is especially suited for web development & can be embedded into HTML.

➢It generally runs on a web server, taking PHP code as its input and creating web pages as output. ➢

About PHP

Page 15: Getting Started: The Environment

➢It can be deployed on almost every operating system.

➢PHP is installed on more than 20 million websites and 1 million web servers.➢

About PHP

Page 16: Getting Started: The Environment

➢ PHP originally stood for “Personal Home Page”.

➢It began in 1994 as a set of Common Gateway Interface binaries written in C by Rasmus Lerdorf.

About PHP

Page 17: Getting Started: The Environment

About PHP

➢ PHP now stands for “PHP Hypertext Preprocessor”.

➢ PHP focuses on server side scripting.

Page 18: Getting Started: The Environment

About PHP

<html><head><title>WordCamp</title></head><body><?php echo ' WordCamp' ; ?></body></html>

Page 19: Getting Started: The Environment

About MySQL

➢MySQL is a relational database management system (RDBMS).

➢MySQL was released on 23 May 1995 under GNU GPL.

➢It is written in C and C++.

Page 20: Getting Started: The Environment

About MySQL

You Can Administrate MySQL using:

➢ Command-line tools :”mysql & mysqladmin”.➢ GUI tools:” MySQL administrator & PHPMyAdmin”.

Page 21: Getting Started: The Environment

About MySQL

➢ MySQL acts as the database component of the LAMP, BAMP, MAMP, SAMP, and WAMP platforms.

➢ It's the database component for open- source bug tracking tools like Bugzilla.

Page 22: Getting Started: The Environment

About MySQL

➢ These High traffic websites use MySQL:

Page 23: Getting Started: The Environment

Next Session

Know more about using your web environment ..

Page 24: Getting Started: The Environment

Questions?Thanks!