Week 6 Office Hours notesDrupal and WordPress
October 4, 9pm
HTMLHTMLjQueryCSS
PHP
SQL
Shared Characteristics:Shared Characteristics:
• Built with PHPBuilt with PHP• Use a MySql database
li jQ CSS h li• Deliver jQuery, HTML, CSS to the client browser
• Pluggable architectures• Open Sourcep
Shared Characteristics:Shared Characteristics:
• Have commercial “partners” started by theirHave commercial partners started by their founders –– Aquia (Drupal) Dries Buytaert – Drupal Gardens– Aquia (Drupal) Dries Buytaert – Drupal Gardens– Automattic (WordPress) Matt Mullenweg –WordPress com Wordpress tvWordPress.com, Wordpress.tv
• Very active user communitiesW dC h d l i– WordCamp.org, shared plug‐ins
– Drupal camp, shared modules
To get started you need:To get started you need:
• web server that runs PHP 5+web server that runs PHP 5+• MySQL database
f h d b• User name for the database• The program files
– http://wordpress.org/download– http://drupal.org/download
• Run the install process as per the instructions
Typical process:Typical process:
• Download the program file from the website as a o oad t e p og a e o t e ebs te as azip file archive
• Unpack it locally – upload the files to your web p y p yserver – either root or in its own folder
• As alternate can use TAR version and unTar it on the web server itself
• Create a database file• Know the user name and password• Run the installer
Many Webhosts offer installersMany Webhosts offer installers
Fantastico installer is commonly used with web hosting companies
Create a blank database – create a user – run the installer
Once InstalledOnce Installed
• LOOK ‐ Install and customize ThemesLOOK Install and customize Themes• FUNCTION ‐ Plugins (WordPress) or Modules (Drupal)(Drupal)
• Get the look and function you want:– Hack an existing theme or make your own– Hack an existing plugin/module or make you own
Create a blank database – create a user – run the installer
UPDATE!!! – no set‐n‐forget!UPDATE!!! no set n forget!
UPDATE!!! – no set‐n‐forget!UPDATE!!! no set n forget!Attention to a regular update policy is EXTREMELY important to avoid web site hacks endangering your site content AND your site visitors!