Wat is Drupal
CMF (W)CMS
Content Management Content Management Systeem
Framework www.drupal.org
http://api.drupal.org www.drupal.com
hooks, callbacks & overrides www.drupal.be
I n f o r m a t i c s
3.
Situering: CMS concurrenten
Gesloten: Tridion, Sharepoint, Documentum,
Stellent
Open source
− Java: Alfresco, Liferay, OpenCMS
− Python: Plone (Zope webserver, ZODB)
− Php:
Joomla (Mambo)
Wordpress
Typo3
− Asp: Dotnetnuke
I n f o r m a t i c s
Gartner: Drupal in Visionair
quadrant
• Nikos Drakos, Research Director at
Gartner:
• "Drupal is in the Visionaries
quadrant because of its use of the
open source model to drive
adoption and popularity, while
providing enterprise services via
organizations such as Acquia. Its
strong contentcentric, community
and web application foundation is
being rapidly extended with
hundreds of modules, includiny for
collaboration and social interaction
support."
I n f o r m a t i c s
10.
Referenties
Media/Entertainment
• VRT, VTM, VT4, Vitaya, RTBF
th
• Sony BMG Music, Universal Music Group, Warner Bros, 20
Century Fox, Michael Jackson, Eric Clapton and Robbie
Williams, Grammy awards, Emmy awards
• The Examiner, The Economist, Le Figaro, Edipresse,
Infoworld, IFRA
• Studio Brussel, Radio Netherlands Worldwide, Australian
Broadcast Company, BBC, CNN, Reuters
• UitinVlaanderen, FARO
• Virgin, Slate, Monthy Python and Lucas Arts
I n f o r m a t i c s
11.
NGO, Gov & edu
• Human Rights watch, Amnesty
• World Food Programme, World Bank, United Nations, Europese Unie
•Witte Huis, New York state senate, US Department of Commerce,
Belgische Premier, Belgische Monarchie, FOD Financiën, the French
government, the Dutch government, the Australian Prime Minister and
the British Government, London en Athene.
• Universiteit Gent, Duke University, Strayer University, Portland
University, MIT, Stanford University and Harvard
• NASA (http://themis.asu.edu/)
• Linux Foundation, JAVA.net en Internet Systems Consortium
I n f o r m a t i c s
12.
Enterprises using Drupal
• Symantec, Nokia, AHOLD, Randstad, Sony
Ericsson, Mattel, Nvidia, Rackspace, AT&T,
FUJI film, General Motors, Intel, Fujifilm,
Fedex, IBM, Cap Gemini, Accenture, Procter
& Gamble en Google (mlab)
• Zenito (svmb/admb)
Meer referenties: http://www.buytaert.net/tag/drupalsites
I n f o r m a t i c s
13.
Voordelen Drupal
•
Open Source GPLv2: broncode vrij downloadbaar en aanpasbaar
•
Geen licentiekosten.
•
Geen Vendor LockIn. Veel bedrijven. Geen “eenmans” Open Source
CMS
•
Grote community & sterke groei: veel support, testen, activiteit (vgl
Plone)
•
Uptodate, mee met nieuwe ontwikkelingen
•
Php = meest gebruikte webprogrammeertaal
•
Uitvoerig getest: 3.2 miljoen keer/jaar gedownload, grote sites
gebruiken het
•
5500 Modules = Veel kostefficiënte uitbreidingen
http://drupal.org/project/Modules
I n f o r m a t i c s
14.
Troeven Drupal
● Kwaliteit code & modulaire uitbreidbaarheid
– Heel flexibel framework (CMF) met goede stabiele architectuur en code heel geschikt voor maatwerk
– Uitgebreide en uitvoerig gedocumenteerde API (api.drupal.org)
• Web 2.0 & Sociale aspecten
– “Online community” aspecten al vanaf het prille begin ingebouwd: taxonomie, user rollen, comments
– Volwassen functionaliteiten
• Volledig Open Source GPLv2 (geen “dual licence”)
Alle modules vrij downloadbaar (vgl. Joomla), community edition is full option (vgl. Alfresco, SugarCRM)
–
– Activiteit en info gecentraliseerd op www.drupal.org (vgl Joomla)
• Enterprise ready
Steeds meer grote referenties => uitvoerig getest, gedocumenteerde integratiemogelijkheden,
–
performance, scaling, caching
– Commerciële ondersteuning van het project Acquia, Drupal Association, Lullabot, Developmentseed, ...
• Community & ecosysteem
– Grote en open community gebaseerd op Open Source principes van samenwerken (vgl Joomla:
http://buytaert.net/joomlavsdrupalbusinessmodelsandcommercialecosystem).
– Veel ontwikkelaars, veel support.
• Made in Belgium
I n f o r m a t i c s
15.
Integratie Drupal
• DMS: Document management
– Beperkte reeks modules voor doorzoeken van pdf, word, excel
– Integratie met Alfresco via CMIS.
• CRM: Contact Relationship Management
– Integratie met CiviCRM, SugarCRM, …
• Knowledge Management Portal (Intranet)
– Open Atrium Distributie (Wereldbank Intranet) en LDAP integratie modules
• Project Management
– Drupal Modules: Storm, Casetracker, Project
• Webshop
– Ubercart/Drupalcommerce module of integratie met Magento
• Webservices
– SOAP, Rest, XMLRPC, Services module.
I n f o r m a t i c s
16.
Geschiedenis
1999 Dries Buytaert
Recente versies focus
− 4.7: Form API, admin interface
− 5: Mature & Stable, CCK, Views
− 6: Multilingual support, theming layer
− 7: Usability (image), Unit testing, php5.2.6,
Semantic web, fields API
− 8: Product vs Framework, staging,
http://buytaert.net/8stepsfordrupal8
I n f o r m a t i c s
17.
Omvang Drupal project
> 5500 Modules (= plugins, extensies)
> 880.000 pagina's en > 400.000 users op drupal.org
Drupal core werd 3.2 miljoen keer gedownload in 2009 en draagt
meer dan 300.000 actieve websites (http://drupal.org/project/usage)
Twee delen
− Core: >700 ontwikkelaars (D6), 62 duizend lijnen code (=15 persoonjaren
= 837 duizend dollar, bron ohloh.net).
− Contributed: >1300 ontwikkelaars, 2.6 miljoen lijnen code (=765
persoonjaren = 42 miljoen dollar, bron ohloh.net)
42 talen, >1000 gratis Themes (meer vb Templatemonster, ...)
2 jaarlijkse Drupalcons (SF: 3000 deelnemers),
wereldwijd regelmatig Drupalcamps (50500 deelnemers)
I n f o r m a t i c s
Community
• Internationaal
– www.drupal.org
– http://planet.drupal.org: Blogs
– http://groups.drupal.org: Werkgroepen
• België
– http://drupal.be/support: Bedrijven
I n f o r m a t i c s
Drupal 7: Usability & UX
• Wat?
– Gebruiksvriendelijkheid
“Given two functionally equivalent content management systems, the simplest
one should be selected.” (http://buytaert.net/ockhamsrazorprincipleof
contentmanagementsystems)
– Reactie op “van developers voor developers” imago & tests in 2008 van
University Minnesota (http://buytaert.net/firstresultsfromusabilitytesting)
– Mark Bolton: Redesign van drupal.org en UX Drupal 7.
– Drupal Gardens, hosted Drupal 7 van Acquia voor microsites (vgl
wordpress.com)
• Voordeel
– Makkelijker om met Drupal te werken
– The winners will be those who combine "reach" with "rich features":
marktuitbreiding naar lowend.
I n f o r m a t i c s
22.
Drupal 7: Database laag
• Wat?
– Drupal gebruikt nu de php pdo (php data objects)
database abstractielaag
• Voordeel?
– Drupal zal niet enkel op MySQL/PostGreSQL kunnen
draaien maar ook op MSSQL, Oracle, SQLite, …
– Microsoft (hoofdsponsor Drupalcon SF 2010) reageerde
positief en sponsorde alvast de afwerking van de MSSQL
pdo en de corresponderende Drupal module
– Master slave en transaction support
– Enterprise markt
I n f o r m a t i c s
23.
Drupal 7: Unit testing
• Wat?
– Automatische tests: http://drupal.org/node/363580#comment2665246
– 18202 tests automatisch uitgevoerd
– http://qa.drupal.org/pifr/test/35713
• Voordeel
– Mensen dienen triviale zaken niet meer te testen
– Stabieler en professioneler systeem (Enterprise markt)
– Snellere ontwikkeling van nieuwe zaken
I n f o r m a t i c s
24.
Drupal 7: Semantic web
• Wat?
– Het toevoegen van betekenis (semantiek) aan data door machines wordt
gedaan door deze met ontologieën, beschrijvingen van concepten en de
relaties daartussen, in metadata uit te breiden. Zo kunnen er automatisch
relaties tussen concepten gelegd worden. Het W3C heeft hiervoor onder
andere de RDFstandaard (Resource Description Framework) ontwikkeld.
– Automatisch toevoegen van RDFa data aan de html van Drupal:
auteursinformatie, indiendatum, ...
• Voordeel?
– Met SPARQL & FOAF verbanden leggen tussen data op internet
– Drupal bevat de recentste ontwikkelingen van het internet
– SEO: zoekmachines houden van RDF
I n f o r m a t i c s
25.
Drupal 7: Fields in core
• Wat?
– CCK in core, was een van de basiscomponenten van
uitgebreidere sites
• Voordeel?
– Stabielere basis
– Conceptueel geabstraheerd: fields op content,
taxonomie, users, elk object door module
gedefinieerd (hoeft niet in mysql te zitten)
– Vb The Examiner: MongoDB dank zij Fields API
– Combinatie met Views3 query builder is zeer
krachtig.s
I n f o r m a t i c s
26.
Drupal als Product
Distributies & Installatieprofielen
Probleem:
• Een basisinstallatie van Drupal heeft geen fulloption mogelijkheden
(lowend kritiek).
• Drupal mag niet te zwaar zijn, enkel noodzakelijke in core, moet vooral
bruikbaar zijn als framework (highend kritiek).
Oplossing: Distributies/Installatieprofielen aangepast aan doelgroep
• Open Atrium
• Acquia Drupal
• Pressflow
• Mediamosa
• Managing News
I n f o r m a t i c s
Systeemvereisten
Standaard Alternatieven
Lighttpd
Apache
IIS mits aanpassingen voor php
> MySQL 5.0.15
PostgreSQL
> Php 5.2 (+pdo)
MSSQL, Oracle via php PDO.
RAM > 30MB min
I n f o r m a t i c s
29.
Basisfunctionaliteiten
Zoekfunctie
RSS
Meertaligheid
Statistieken
Loginsysteem met rollen
Reactiesysteem
SEO vriendelijke urls
Taxonomie
I n f o r m a t i c s
30.
Basiselementen
Users
Nodes
Blokken
Menu
Taxonomy
CCK
Views
I n f o r m a t i c s