Introduction to Drupal 6

Embed Size (px)

Citation preview

Introduction to Drupal Development

Drupal Development
Part I

Why?

Purpose?

RAD?

Size?

OSS?

UI?

Resources?

Technology Stack

Linux/Windows/Mac OS X/BSD.

Apache/Lighttpd: CGI/Fast CGI/Mod.

MySQL/PostgreSQL/SQLite/MSSQL/Oracle.

PHP 4/PHP 5.

GNU/Linux

The distros: Ubuntu.

File Structure: what is where?

Services.

Shell/SSH.

Basic commands: man, cp, scp, mv, chmod, chown, cat, less/more, tail.

Intermediate commands: grep, sed.

Apache

Configiuration.

Debian tools: a2enmod, a2ensite.

CGI, mod_php, mod_python.

mod_rewrite: .htaccess

MySQL

MySQL/PostgreSQL.

MyISAM, InnoDB, SleepyCat, Falcon.

Command line: mysql, mysqldump.

GUI: phpMyAdmin.

PostgreSQL?

PHP

Interpreted.

Syntax: Perl/C style.

Features.

Modules: GD.

Q & A

Drupal Development
Part II

Drupal Concepts

CMS/CMF?

Drupal hooks.

Where to get help?

How to install?

The Dos and donts

Be there.

Search first, then write.

Search first, then ask.

Compare first, then choose.

Think big, code small.

Code style.

Drupal lego

Get as much functionality as possible with the least possible code.

Skeleton of a Drupal module

.info file

.module file

Other optional files.

Q & A

Muokkaa otsikon tekstimuotoa napsauttamalla

Muokkaa jsennyksen tekstimuotoa napsauttamalla

Toinen jsennystaso

Kolmas jsennystaso

Neljs jsennystaso

Viides jsennystaso

Kuudes jsennystaso

Seitsems jsennystaso

Kahdeksas jsennystaso

Yhdekss jsennystaso