1 / 14

Creating WordPress Websites

Creating WordPress Websites. Creating a site on your computer. Local server Local WordPress installation Setting Up Dreamweaver. Installing a Local server. For WordPress an AMP type server is needed A – Apache is the HTTP server M – MySQL is the database server

elke
Download Presentation

Creating WordPress Websites

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. Creating WordPress Websites

  2. Creating a site on your computer • Local server • Local WordPress installation • Setting Up Dreamweaver

  3. Installing a Local server • For WordPress an AMP type server is needed • A – Apache is the HTTP server • M – MySQL is the database server • P – PHP (also includes Python and Perl) is the application server • Windows installation – WAMP • Macintosh installation – MAMP • Linux installation - LAMP

  4. HTTP message traffic • Client sends an HTTP request (a url for the webpage to be displayed) • URL includes PHP files so send a request to application server • PHP file includes requests for data from database so send request to database server • Database server sends back the data that is requested Apache (HTTP server) PHP Application Server MySQL database server 1 2 3 4 6 5 HTML web page (5) Application process the database info and PHP code – sends back Result to HTTP server as HTML (6) HTTP server sends HTML pages and assets back to client (Web Browser)

  5. Apache – HTTP server • Apache is an HTTP server which works with all Operating Systems (OS) • Job of the HTTP server is to receive requests from clients (web browsers) • Static web pages (made up of HTML files and associated files) – all info collected and sent back to client as a HTTP response • Dynamic web pages (such as php files) sent to application server for processing

  6. Application Servers • There are multiple types of application servers • ASP – Active Server Pages - Windows only • ASP.NET – also Active Server Pages – Windows • PHP server – part of the AMP family • PHP Application server parses (reads) the PHP code and dynamically constructs the HTTP response. All PHP commands are executed on the server and the results are part of the HTTP response sent back by HTTP server

  7. Database Server • AMP’s database server is MySQL • Others available – Oracle, Microsoft SQL • PHP code may use a database to get and store information within its code. The SQL commands are sent to the database server which process the request and sends the results back to the Application server which can then continue

  8. Local site setup • Install the AMP server (it’s free) • MAMP -> http://www.mamp.info/en/mamp/index.html • WAMP -> http://www.wampserver.com/en/download.php • LAMP -> Linux installation

  9. Start Local Servers • Start AMP (in my case MAMP)

  10. Create a database

  11. Where is it?

  12. Install WordPress • Download WordPress from WordPress.orghttp://wordpress.org/download/ • Look at previous slide and see that it is installed under MAMP and database – called blog in my directory

  13. Create a Dreamweaver Site • Now create a new site in Dreamweaver. • Define the folder to point to the same Applications/MAMP/htdocs/explore_ca (for example) • Connect Dreamweaver to the local server

  14. Working on a real server • You can also work on an actual domain using a real WordPress installation and a working remote server • http://nkybluejays.org • http://merderdesigns.com

More Related