getting started: the environment
DESCRIPTION
Session by Mohamed Safwat (http://mohammedsafwat.wordpress.com/) in WordCamp Egypt 2009, discussing the environment WordPress is to be installed on.TRANSCRIPT
Getting StartedThe Environment
Mohammed Safwat2nd year Comm.& Elecs. Dept.
Goals
➢ Why is it important to listen to me?➢ Our development environment.➢ Configuring this environment.
A Developer?
Working with a CMS like WordPress needs to attain a deep understanding of how to build and administrate your development environment.
Our Development Environment
PHP
Apache Web Server
MySQL database management system
What's a Web Server?
A computer program that is
responsible for accepting HTTP requests from clients and serving
them HTTP responses .
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
What's a Web Server?
Web server will append path to its
root directory
/var/www/file.html
HTTP responses contain optional
data contents, like web pages such as HTML documents and linked
objects (images, etc.).
What's a Web Server?
- HTTP & HTTPS support.- Logging info about client requests and server responses.- Authentication.- Static and Dynamic Contents.
What's a Web Server?
Some Common Features
Static Contents if they come from an existing file lying on the server's filesystem.
What's a Web Server?
What's a Web Server?
Dynamic Contentsif they are generated by a script or (API) called by the web server.
is Our Scripting Language..
PHP is a scripting language
originally designed for producing dynamic web pages.
About PHP
➢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
➢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
➢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
➢ 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
About PHP
➢ PHP now stands for “PHP Hypertext Preprocessor”.
➢ PHP focuses on server side scripting.
About PHP
<html><head><title>WordCamp</title></head><body><?php echo ' WordCamp' ; ?></body></html>
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++.
About MySQL
You Can Administrate MySQL using:
➢ Command-line tools :”mysql & mysqladmin”.➢ GUI tools:” MySQL administrator & PHPMyAdmin”.
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.
About MySQL
➢ These High traffic websites use MySQL:
Next Session
Know more about using your web environment ..
Questions?Thanks!