Sunday, September 09, 2007

drupal 2 session barcampBrighton

drupal

open source, free, impressive support, modular and themeable, wordpress plus, plus


Why choose? need to byspoke SME clients.

themes:bocks, and regions, you can ask the drupal engine.

beware, end website all look like drupal websites. UI needs more differenciation. This is now happening, more needed.


how to build

starting a theme
garland, default drupal theme. good XHTML layout, non tabular. Then striped of styling, as much as you can do.

removed CSS, chopped modular includes
removed what you can not use.

PHP template files underpin templates. nodes on page related to templates.php files.
Need to hardcode, to fix whole page look. PHP coded directly.


Site structure:
drupal good at flaksonomic or flat sites.
poor structured sites
one standard stcure, neu heirarch

can use category module. Had to create duplicate much core menu code. To make your own menu drop downs.


Content Construction kit
get more complex form from standard page or story page format

adds content hooks to node workflow
then create submenus, add extra fields, declare and create widgets and eit them

contributed code, NOT CORE. but well supported.

Forms, used plug in standard modules, signup etc.


Hacking the core.
NEVER EVER DO IT. core keeps moving


multiple development on the site, use subvertion to manage code base. use seperate files for each developer

No comments: