drupal intro 2010

38
I n f o r m a t i c s Drupal CMS Hans Rossel - www.koba.be

Upload: hans-rossel

Post on 10-Dec-2014

6.019 views

Category:

Technology


0 download

DESCRIPTION

General introduction to Drupal and Drupal 7 for IT managers

TRANSCRIPT

Page 1: Drupal intro 2010

I n f o r m a t i c s

Drupal CMSHans Rossel ­ www.koba.be

Page 2: Drupal intro 2010

I n f o r m a t i c s

Wat is Drupal

CMFContent Management 

Framework

http://api.drupal.org

hooks, callbacks & overrides

CMFContent Management 

Framework

http://api.drupal.org

hooks, callbacks & overrides

(W)CMSContent Management Systeem

www.drupal.org

www.drupal.com

www.drupal.be 

Page 3: Drupal intro 2010

I n f o r m a t i c s

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

Page 4: Drupal intro 2010

I n f o r m a t i c s

Bron: Cmswire Open Source CMS Market Share Report (2009)

Page 5: Drupal intro 2010

I n f o r m a t i c s

Page 6: Drupal intro 2010

I n f o r m a t i c s

Page 7: Drupal intro 2010

I n f o r m a t i c s

Trends Open Source CMSwww.google.com/trends en www.indeed.com/jobtrends 

Page 8: Drupal intro 2010

I n f o r m a t i c s

Page 9: Drupal intro 2010

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  content­centric,  community and  web  application  foundation  is being  rapidly  extended  with hundreds of modules,  includiny  for collaboration and social  interaction support."

Page 10: Drupal intro 2010

I n f o r m a t i c s

Referenties Media/Entertainment

• VRT, VTM, VT4, Vitaya, RTBF

• Sony BMG Music, Universal Music Group, Warner Bros, 20th 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

Page 11: Drupal intro 2010

I n f o r m a t i c s

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

Page 12: Drupal intro 2010

I n f o r m a t i c s

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/drupal­sites

Page 13: Drupal intro 2010

I n f o r m a t i c s

Voordelen Drupal

• Open Source GPLv2: broncode vrij downloadbaar en aanpasbaar• Geen licentiekosten. 

• Geen Vendor Lock­In. Veel bedrijven. Geen “eenmans” Open Source CMS

• Grote community & sterke groei: veel support, testen, activiteit (vgl Plone)

• Up­to­date, 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

Page 14: Drupal intro 2010

I n f o r m a t i c s

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/joomla­vs­drupal­business­models­and­commercial­ecosystem). 

– Veel ontwikkelaars, veel support.

• Made in Belgium

Page 15: Drupal intro 2010

I n f o r m a t i c s

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.

Page 16: Drupal intro 2010

I n f o r m a t i c s

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/8­steps­for­drupal­8 

Page 17: Drupal intro 2010

I n f o r m a t i c s

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 (50­500 deelnemers)

Page 18: Drupal intro 2010

I n f o r m a t i c s

Groei

Page 19: Drupal intro 2010

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 

Page 20: Drupal intro 2010

I n f o r m a t i c s

Drupal 7: Nieuw

• Betere installer• Paswoord encryptie: betere bescherming 

van rainbow tables• Ingebouwde automatische module en 

theme installer en updater• Verbeterde meertaligheid• Verbeterde tijdzone support• PHP stream wrappers• Javascript overlays (jquery ui in core)

Page 21: Drupal intro 2010

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/ockhams­razor­principle­of­content­management­systems)

– Reactie op “van developers voor developers” imago & tests in 2008 van University Minnesota (http://buytaert.net/first­results­from­usability­testing) 

– 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 low­end.

Page 22: Drupal intro 2010

I n f o r m a t i c s

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

Page 23: Drupal intro 2010

I n f o r m a t i c s

Drupal 7: Unit testing

• Wat? – Automatische tests: http://drupal.org/node/363580#comment­2665246

– 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

Page 24: Drupal intro 2010

I n f o r m a t i c s

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 RDF­standaard (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

Page 25: Drupal intro 2010

I n f o r m a t i c s

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

Page 26: Drupal intro 2010

I n f o r m a t i c s

Drupal als ProductDistributies & Installatieprofielen

Probleem: 

• Een basisinstallatie van Drupal heeft geen full­option mogelijkheden (low­end kritiek).

• Drupal mag niet te zwaar zijn, enkel noodzakelijke in core, moet vooral bruikbaar zijn als framework (high­end kritiek).

Oplossing: Distributies/Installatieprofielen aangepast aan doelgroep

• Open Atrium

• Acquia Drupal

• Pressflow

• Mediamosa

• Managing News

Page 27: Drupal intro 2010

I n f o r m a t i c s

Drupal 7 Demo

Page 28: Drupal intro 2010

I n f o r m a t i c s

Systeemvereisten

Standaard Apache > MySQL 5.0.15 > Php 5.2 (+pdo) RAM > 30MB min

Alternatieven Lighttpd

IIS mits aanpassingen voor php

PostgreSQL

MSSQL, Oracle via php PDO. 

Page 29: Drupal intro 2010

I n f o r m a t i c s

Basisfunctionaliteiten Zoekfunctie RSS Meertaligheid Statistieken Login­systeem met rollen Reactiesysteem SEO vriendelijke urls Taxonomie

Page 30: Drupal intro 2010

I n f o r m a t i c s

Basiselementen Users Nodes Blokken Menu Taxonomy CCK Views

Page 31: Drupal intro 2010

I n f o r m a t i c s

Page 32: Drupal intro 2010

I n f o r m a t i c s

Page 33: Drupal intro 2010

I n f o r m a t i c s

CCK Fields

Page 34: Drupal intro 2010

I n f o r m a t i c s

Page 35: Drupal intro 2010

I n f o r m a t i c s

Page 36: Drupal intro 2010

I n f o r m a t i c s

Page 37: Drupal intro 2010

I n f o r m a t i c s

Navigatie

Page 38: Drupal intro 2010

I n f o r m a t i c s

Bedankt voor uw [email protected]

www.koba.be