Drupal introductie - GoalGorilla - Oxilion Lunch & Learn
Click here to load reader
Transcript of Drupal introductie - GoalGorilla - Oxilion Lunch & Learn
1
Lunch & Learn
Maart 2011
2
• 3 jaar ervaring met Drupal• >30 projecten• User centred view• Kennis van site optimalisatie & marketing
GoalGorilla in het kort
3
Drupal learning curve
Learning curve overview:Level 1: Drupal core + basic fieldsLevel 2: Intermediate fields + basic ViewsLevel 3: Intermediate Views + complex single-purpose modulesLevel 4: The outside world
Level 5: Module combinations + basic Rules + basic Panels/Page ManagerLevel 6: Access configuration + complex Rules and Panels/Page managerLevel 7: The secret ninja domain
http://tiny.cc/drupallearningcurve
4
Drupal systeem lagen
5
• Wireframes• Photoshop (.psd)• Slices + omzetten naar HTML & CSS
Twee manieren:1. Copy-past drupal tags2. Gebruik Zen als basis
Templates of Themes
6
• Bepaal vooraf gebruikersrollen• Bepaal vooraf/tijdens/na
gebruikersrechten
User roles & permissions
7
• Primair• Secundair• Footers etc.
Menus
8
Blocks
+ Panels + Rules
9
GoalGorilla’s standaard (contrib) Modules• Admin Menu• Views • CCK • Backup and migrate • Imagecache • Node form columns • Pathauto • Token • Captcha/Mollom • Update status aggregator • Pagetitle
• Imagefield, Filefield en veel andere uitbreidingen op CCK
• Auto nodetitle • Nodewords • Xmlsitemap • Search404 • Google Analytics• IE6nomore • wysiwyg • Webform
10
Aanvullende (contrib) modules
Ontwikkeling• Devel • Zenophile
Veel gebruikt• Rules • Content Profile • Features • Better formats • Better exposed
11
Custom modulesWanneer?1. Nieuwe functionaliteit2. Samenvoegen van functionaliteit 3. Weghalen van standaard functionaliteit
Hoelang?Dit kan variëren van 10 minuten tot dagen, zelfs weken.
HooksMomenten & functies waar op je eigen functionaliteit kunt programmeren. Bijvoorbeeld eenvoudig een menu item toevoegen of data veranderen wanneer het de database in of uit komt.
Lagen (layers)Database laag > Core > Modules > Theme Never Hack Core!
Documentatie: http://api.drupal.org/api/drupal
12
Data
• Nodes• Content types
– Blog / Nieuws– Profiel– Portfolio onderdeel– Etc.
• CCK = data invoer• Views = data uitvoer
13
Custom Construction Kit (CCK)
• Manage fields:
14
Views – Display Content
15
Basis Workflow• Personas / User Stories -> Doelen• Requirements and Use Cases• Rapid Prototype• Web design• Drupal development (OTAP)• Hosting• Technische acceptatietest (CMS + performance)• Functionele acceptatietest• LIVE!
16
Server specificaties
• Minimale benodigdheden:
– Server met 1GB RAM minimum; 2GB aanbevolen– PHP settings max_execution_time minstens 120
seconden– memory_limit minstens 128MB (190MB aanbevolen)– Up-to-date *AMP Stack
• PHP 5.2. en MySQL 5.x
17
Prestaties
• Standaard in Drupal:– Caching– Javascript en CSS optimalisatie
• Verder, bijv.– YSlow voor plaatjes
• Bottlenecks:– Apache is gelimiteerd qua bandbreedte– PHP qua CPU en– MySQL qua geheugen
18
Drupal schalen http://tiny.cc/drupalschalen
19
Features
• Aantal Drupal entiteiten voor één use case
• Als normale module maar dan inclusief (CCK velden, Vieuws, Context etc.)
1. Export2. Manage versies3. Import
20
Features
21
Installation profiles
• Features & Functionaliteiten voor specifiek type website in één download
• Bijvoorbeeld:– Open Atrium
• (Intranet) - http://openatrium.com– Drupal Commons
• (Social Business Software) - http://commons.acquia.com
http://drupal.org/project/installation+profiles
22
Drupal 7 en 8
• D7: Beschikbaar sinds februari 2011• Focus op Usability - http://drupal.org/drupal-7.0
• Drupal 8 (start maart 2011)– Multi-device publishing (aka mobile)– Interopability and integration with cloud services– Delightful experience– Configuration management– Content staging
http://www.archive.org/details/keynote_dries
23
Drupal Bronnen
• Sites:– Drupal.org / Drupal.be
• Api.drupal.org• Groups.drupal.org
– DevelopmentSeed.org– Lullabot.com
• Boeken:– Pro Drupal Development (VanDyk)– Front End Drupal (Hogbin & Kåfter)– Cracking Drupal (Knaddison)
24
Kritiek op Drupal?
• Recent: ‘Drupal niet geschikt voor grote sites’• CMS versus Framework (als RoR)
http://tiny.cc/drupalkeuze
Contact informatie
Neem voor meer informatie contact op met:
Taco Potze
Managing partner webdevelopment
E-mail: [email protected]
Telefoon: 053 711 3691
Website: www.goalgorilla.com
Dank voor uw aandacht!Het GoalGorilla Team