This talk, presented at Drupal Global Training Days Montreal - September 2016 walks through features of Drupal 8, examples of sites built with Drupal, an introduction to the Drupal community and topics for learning Drupal theming and module development.
Drupal 8 Quick Start: An Overview of LightningAcquia
Lightning is a a solid Drupal starterkit, that enables developers to create great authoring experiences and empower editorial teams. Lightning provides users with a lightweight framework for building working solutions in Drupal.
In our upcoming webinar, we will examine each component of Lightning and demonstrate how to leverage its features in any Drupal build. Topics included will review the use cases for each of the functional areas (layout, media, workflow, and preview) as well as the three development principles (security, automated testing, and integration). We’ll also give a summary of recent findings from the authoring experience summit at BADCamp and how they will affect the development timeline for Lightning.
Attendees will learn:
- How to significantly cut build time on advanced Drupal 8 projects using Lightning
- How Lightning improves the accuracy of your development estimates
- How you can contribute to the Lightning project
- Our 3 year vision for Lightning
Drupal 7 vs. Drupal 8: A Contrast of Multilingual SupportAcquia
Unfortunately, the live event for this webinar has passed.
No need to worry! We always post the recorded webinar and slides within 24 hours of the event. Check back soon!
As you likely know, creating multilingual websites in Drupal 7—with its web of modules and dependencies—is not for the faint of heart. What takes Drupal 7 20+ contrib modules to support is now part of core in Drupal 8. Its 4 multilingual core pillars—Language, Interface, Content, Config—make Drupal 8 a relieving contrast to Drupal 7’s old patchwork of multilingual afterthought.
In this Tech Talk, we will:
-Review the Drupal 7 multilingual landscape in contrast to Drupal 8’s core multilingual capabilities
-Demonstrate how to properly prepare a Drupal 8 website for multilingual support
-Show the traditional process of translating Drupal 8 websites
-Explore how Acquia and Lingotek can help with the translation process for Drupal 8 websites
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...Acquia
The Drupal community has been anxiously awaiting the official release of Drupal 8 since it was announced in 2011. To IT professionals and Drupal developers, the improvements and benefits are clear. The advanced Symfony2 framework leverages some of the best and most scalable technologies available.
But what about from a business perspective? Even if a major redesign was not on your short-term horizon, we highly recommend educating yourself on what the release of Drupal 8 means to your organization from a digital investment standpoint. In our upcoming webinar, we partner with Mediacurrent to outline the key features Drupal 8 contains to help meet your business and brand objectives.
In this webinar, you will learn about:
- How Drupal 8 is helping Marketing Departments leverage their website as the most powerful branding and lead generation tool.
- The advancements Drupal 8 provides to improve costly security breaches and maintenance challenges.
- Drupal 8’s improvements to Accessibility and Internationalization, allowing corporations to reach all segments of their customer base with personalized content.
- What key decision-making criteria you should use as you decide when to migrate to Drupal 8.
Are you looking at Drupal as your new CMS?
This presentation gives an overview of Drupal and some common use cases.
Targeted at IT managers looking to chose a new CMS or who just want to get more familiar with Drupal.
Acquia Cloud Extend: une offre exclusive pour héberger vos sites Drupal en Fr...Acquia
Compte-rendu du séminaire de présentation de l'offre Acquia Cloud Extend, par Cyril Renhard d'Acquia et Stéphane Vincent d'Alter Way. Pour plus d'infos, rendez-vous sur http://ow.ly/peZ7V
Drupal + Open Atrium bij de Vlaamse ErfgoedbibliotheekDavid Coppoolse
In 2010 koos de Vlaamse Erfgoedbibliotheek voor de bouw van haar organisatiewebsite voor het opensourceproduct Drupal. Op basis van dit contentmanagementsysteem slaagde de vzw erin om op een snelle en kostefficiënte manier een site met uitgebreide mogelijkheden te realiseren. Daarvoor werd samengewerkt met een gespecialiseerde firma. In deze presentatie overlopen we de redenen om voor Drupal te kiezen en de gevolgde aanpak bij de realisering van de site, met de nodige 'do's en don'ts'. Ook de op Drupal gebaseerde opensourcetoepassing Open Atrium komt aan bod. Dit samenwerkingsplatform wordt door de Vlaamse Erfgoedbibliotheek gebruikt om documenten en informatie te delen binnen haar (netwerk-)organisatie.
This talk, presented at Drupal Global Training Days Montreal - September 2016 walks through features of Drupal 8, examples of sites built with Drupal, an introduction to the Drupal community and topics for learning Drupal theming and module development.
Drupal 8 Quick Start: An Overview of LightningAcquia
Lightning is a a solid Drupal starterkit, that enables developers to create great authoring experiences and empower editorial teams. Lightning provides users with a lightweight framework for building working solutions in Drupal.
In our upcoming webinar, we will examine each component of Lightning and demonstrate how to leverage its features in any Drupal build. Topics included will review the use cases for each of the functional areas (layout, media, workflow, and preview) as well as the three development principles (security, automated testing, and integration). We’ll also give a summary of recent findings from the authoring experience summit at BADCamp and how they will affect the development timeline for Lightning.
Attendees will learn:
- How to significantly cut build time on advanced Drupal 8 projects using Lightning
- How Lightning improves the accuracy of your development estimates
- How you can contribute to the Lightning project
- Our 3 year vision for Lightning
Drupal 7 vs. Drupal 8: A Contrast of Multilingual SupportAcquia
Unfortunately, the live event for this webinar has passed.
No need to worry! We always post the recorded webinar and slides within 24 hours of the event. Check back soon!
As you likely know, creating multilingual websites in Drupal 7—with its web of modules and dependencies—is not for the faint of heart. What takes Drupal 7 20+ contrib modules to support is now part of core in Drupal 8. Its 4 multilingual core pillars—Language, Interface, Content, Config—make Drupal 8 a relieving contrast to Drupal 7’s old patchwork of multilingual afterthought.
In this Tech Talk, we will:
-Review the Drupal 7 multilingual landscape in contrast to Drupal 8’s core multilingual capabilities
-Demonstrate how to properly prepare a Drupal 8 website for multilingual support
-Show the traditional process of translating Drupal 8 websites
-Explore how Acquia and Lingotek can help with the translation process for Drupal 8 websites
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...Acquia
The Drupal community has been anxiously awaiting the official release of Drupal 8 since it was announced in 2011. To IT professionals and Drupal developers, the improvements and benefits are clear. The advanced Symfony2 framework leverages some of the best and most scalable technologies available.
But what about from a business perspective? Even if a major redesign was not on your short-term horizon, we highly recommend educating yourself on what the release of Drupal 8 means to your organization from a digital investment standpoint. In our upcoming webinar, we partner with Mediacurrent to outline the key features Drupal 8 contains to help meet your business and brand objectives.
In this webinar, you will learn about:
- How Drupal 8 is helping Marketing Departments leverage their website as the most powerful branding and lead generation tool.
- The advancements Drupal 8 provides to improve costly security breaches and maintenance challenges.
- Drupal 8’s improvements to Accessibility and Internationalization, allowing corporations to reach all segments of their customer base with personalized content.
- What key decision-making criteria you should use as you decide when to migrate to Drupal 8.
Are you looking at Drupal as your new CMS?
This presentation gives an overview of Drupal and some common use cases.
Targeted at IT managers looking to chose a new CMS or who just want to get more familiar with Drupal.
Acquia Cloud Extend: une offre exclusive pour héberger vos sites Drupal en Fr...Acquia
Compte-rendu du séminaire de présentation de l'offre Acquia Cloud Extend, par Cyril Renhard d'Acquia et Stéphane Vincent d'Alter Way. Pour plus d'infos, rendez-vous sur http://ow.ly/peZ7V
Drupal + Open Atrium bij de Vlaamse ErfgoedbibliotheekDavid Coppoolse
In 2010 koos de Vlaamse Erfgoedbibliotheek voor de bouw van haar organisatiewebsite voor het opensourceproduct Drupal. Op basis van dit contentmanagementsysteem slaagde de vzw erin om op een snelle en kostefficiënte manier een site met uitgebreide mogelijkheden te realiseren. Daarvoor werd samengewerkt met een gespecialiseerde firma. In deze presentatie overlopen we de redenen om voor Drupal te kiezen en de gevolgde aanpak bij de realisering van de site, met de nodige 'do's en don'ts'. Ook de op Drupal gebaseerde opensourcetoepassing Open Atrium komt aan bod. Dit samenwerkingsplatform wordt door de Vlaamse Erfgoedbibliotheek gebruikt om documenten en informatie te delen binnen haar (netwerk-)organisatie.
Tijdens het Drupal webinar lichten we Drupal toe: wat zijn de belangrijkste outlines? Meer info: http://eduvision.info/drupal
Dit webinar wordt je aangeboden door Eduvision Opleidingen
Eduvision verzorgt opleidingen binnen een groot aantal sectoren. We hebben o.a. gewerkt voor KLM, DTG, BNN-VARA, ING, de Belastingdienst, Gemeente Amsterdam, Interpolis, Nuon en de Atlant Zorggroep. Eduvision heeft als missie om actuele kennis te delen. Niet alleen in de vorm van cursussen, maar ook met webinars, whitepapers en blogs.
Sinds 2015 is Eduvision Opleidingen aanbieder van officieel gecertificeerde Big Data opleidingen (ISO 9001 & 17024). De Big Data Academy is de plek waar jij en/of jouw werknemers opgeleid worden tot gecertificeerd Big Data specialist.
Tijdens alle cursussen van Eduvision Opleidingen staan jouw wensen en informatiebehoefte centraal. Je past de kennis toe op jouw praktijkcase en zowel Eduvision als de docenten staan volledig tot jouw beschikking.
Voordeel halen uit zoekmachines en semantic webBart Hanssens
Hoe kan gestructureerde, semantische opmaak en machineleesbare content ervoor zorgen dat zoekmachines websites beter gaan "begrijpen".
Presentatie tijdens het "Make your website great again" event.
8. Open source besturingssysteem
Begonnen als hobbyproject in 1991
Alternatief voor dure Unix systemen
Van kleine tot grote systemen
Modem / routers (BeBox)
Smartphones / tablets (Android)
PCs
Supercomputers
p. 8
Linux
Larry Ewing, http://commons.wikimedia.org/wiki/File:Tux-shaded.svg
9. p. 9
Apache HTTPd
Open source webserver
Serie patches NCSA in 1995
Draait op Linux, Windows, BSD, OS X, ...
Ooit door 70% van alle sites gebruikt (nu 30%)
Erg veelzijdige server
Allerlei modules: proxy, beveiliging, scripts, logging, …
Deel van Apache Software Foundation
10. MySQL
Open source relationele database
Ontstaan in 1995
Draait op Linux, Windows, BSD …
C, Java, .Net, PHP, Python, Ruby … connectors
Firma gekocht door Sun (nu Oracle) in 2008
Product blijft open source...
… daarnaast ontstaan varianten zoals MariaDB, Drizzle
p. 10
WebScaleSQL
Facebook, Twitter, LinkedIn (Google)
11. Script taal voor webpagina's
Begonnen in 1995 (“Personal Home Page”)
Draait op Linux, Windows, BSD …
Joomla, WordPress, phpMyAdmin, phpBB, ...
Nu meer aandacht voor performantie
APC, Zend Opcache / Optimizer+ … opcode cache
Facebook HipHop / HHVM compiler
p. 11
PHP
14. Drupal
(Web) Content Management Systeem
p. 14
Ontstaan in 2001
Open source (GPL)
1000-en modules
Workflow, integratie, beheer, e-shop, ...
Meestal op LAMP
Draait soms ook op BSD, MacOS X, MS-Windows
… op nginx, IIS webserver
… Postgres, MS SQL Server / Azure database
15. Sterke punten
Actieve gebruikersgroepen
Geen licentiekosten
Veel documentatie
p. 15
Handboeken, online
Zeer veel mogelijkheden
Uitbreiden functionaliteit, wijzigen lay-out
Zeer populair
Veel kleine en grotere Drupal-bedrijven
16. 100-en overheidssites in België
ZuinigMetStraling, OFO-IFA, HRJ, Civiele Veiligheid ...
Overheidssites in het buitenland
WhiteHouse.gov, maar ook in Australië, Frankrijk, ...
StuBru, Vier, VTM, Kinepolis
Amnesty Int, UNICEF.be, Greenpeace UK
Carrefour, Essent, Tesla Motors
p. 16
Zeer populair
17. Standaard zoekmotor is beperkt
Geen autocomplete, wildcard, search in documenten
=> Oplossing is Apache Solr / Lucene + Tika (Java)
Meerdere talen op 1 site is soms lastig
Extra modules en configuratie nodig
=> Eindelijk “out-of-the-box” in Drupal 8
Mix van content- / configuratiebeheer
Zeer moeilijk om enkel content / config te kopiëren
=> Drupal 8
p. 17
Zwakke punten
18. Elke major release heeft andere API
Modules moeten vaak opnieuw ontwikkeld worden
Niet bedoeld voor documentbeheer
Wel integratie met bijvoorbeeld Alfresco mogelijk
p. 18
Zwakke punten (2)
20. Drupal en Solr search
File (extractie PDF,...)
p. 20
Solr server
(Java)
Drupal
(PHP)
Apache Solr
Modules
Tika
Lucene
(index)
Content
21. p. 21
Snel van start
Website
http://drupal.org
Online site bouwen (gratis maar wat beperkt)
http://simplytest.me/
http://www.drupalgardens.com/
http://www.acquia.com/acquia-cloud-free
22. Snel van start (eigen machine)
Oracle VirtualBox (desktop)
Open source virtualisatie
MacOS X, Linux, MS-Windows
https://www.virtualbox.org/
p. 22
Virtuele machines
http://www.turnkeylinux.org/
LAMP stack voor MacOS / Windows / Linux
Goed voor development, niet voor productie
https://www.apachefriends.org/index.html
24. Beheer op drupal.org, voordelen
“Project” voor themes, modules, ...
Referentie (klanten / werkgevers)
Gratis + bespaart werk
Automatisch aanmaken downloads
Bij correct gebruik: link bug ticket naar fix in code
Automatische tests mogelijk
Statistieken aantal sites die module gebruiken
Enkel sites die “Update” module hebben geactiveerd
Enkel totalen, geen gedetailleerde lijst van sites
p. 24
26. Projectpagina: functies
p. 26
Algemene informatie
Beschrijving, lijst ontwikkelaars, downloads
Statistieken, laatste activiteit
Eventueel link naar gelijkaardige projecten, documentatie
Issue tracker
Bugs, vragen, aanvraag nieuwe functies
Iedereen mag commentaar geven / patches sturen
27. Ontwikkeld door Linus Torvalds
Oorspronkelijk om versies Linux kernel te beheren
Beschikbaar voor Linux, Windows, MacOS X...
“Wie” heeft “wat” “wanneer” gewijzigd
Terugkeren naar vorige versie is mogelijk
Commentaar toevoegen “waarom”
Link met projectpagina op Drupal.org
Git “Issue #12345 ...” wordt gelinkt aan ticket 12345
p. 27
Git versiebeheer
29. Zelf project maken drupal.org
Iedereen kan sandbox project aanmaken
Projectpagina, git, …
(Nog) geen unieke projectnaam (enkel nummer)
Full projects door “goedgekeurde” developers
Unieke naam op drupal.org
“Promotie” sandbox => full is mogelijk
Mogelijkheid om anderen toegang te geven
Beheren tickets, beheren projectpagina, ...
p. 29
30. Eenmalige developer / code review
Niet vereist om patches op te sturen
Voor wie zelf modules... op d.o. wil beheren
Doel: verhogen kwaliteit modules
Eenmalige review door andere drupal.org developers
Nakijken correct gebruik Drupal API, documentatie...
Kan helaas weken / maanden duren (vrijwilligers)
Nadien onbeperkt aanmaken projecten
p. 30
31. Marketplace
Lijst van Drupal-bedrijven
Training, hosting, ontwikkeling, …
Gekoppeld aan activiteiten / projecten op d.o.
p. 31
Lijst van Drupal-boeken
33. Module Module Profile Theme Library
Module Module Theme
p. 33
Distributie
Van module tot distributie
Module Module Theme
Core
Module Module
Library
34. p. 34
Themes
Layout
2 000+ gratis themes
Mix van HTML / CSS / Javascript en/of PHP
Subthemes mogelijk
Gebaseerd op / variant van bestaand theme
Sneller te ontwikkelen, vaak al “mobile”, “responsive”
Populaire “base themes”: Zen, Omega
35. Modules
Core modules (standaard in Drupal)
p. 35
Blog, Page, ...
Contrib modules
25 000+ gratis modules
Wisselende kwaliteit en ondersteuning
Verbetering functies / extra mogelijkheden
Integratie Google / Facebook / Twitter … diensten
Workflow, eCommerce, beheer content / gebruikers, ...
36. Libraries
Geschreven in PHP en/of Javascript
Visuele effecten / opmaak
p. 36
Jquery Cycle, SuperFish, ...
Integratie met andere diensten
OpenLayers, MailChimp, ...
Online HTML editor
Zit niet standaard in D6 / D7 (wel in D8)
CKEditor, TinyMCE
37. (Installation) profiles en distributies
p. 37
Installation profiles
Keuze (enkel) bij installatie
Verzameling modules, themes, libraries
Gescripte configuratie van deze modules
800 distributies
Core + installation profile(s), modules, themes …
Commerce Kickstart, OpenFed, Acquia Commons, ...
40. Zelf een module bouwen ?
p. 40
Bestaat
er al een
module ?
Actieve
ontwikkeling
(Co-)
maintainer
worden ?
Patch
mogelijk ?
Eigen module
J
N
J
N N
N
J
Patch
J
41. Bestanden van een module
p. 41
<module>.info
Naam, versie van module, afhankelijkheden
<module>.install
Code installatie / upgrade / verwijderen module
<module>.module / <module>.inc
Eigenlijke module en include files
<module>.test
SimpleTest bestanden
42. p. 42
.info voorbeeld
name = Date
description = Makes date/time fields available.
project = "date"
version = "7.x-2.8"
package = Date/Time
core = 7.x
Php = 5.2
dependencies[] = date_api
files[] = date.migrate.inc
files[] = tests/date_api.test
files[] = tests/date.test
43. Drupal API
Lijst van Drupal functies, constanten
Form API / builder
p. 43
Formulieren
Hooks
Installatie / verwijderen module
Toevoegen / verwijderen content / gebruikers / menu's
Menu's, fields, ...
54. (Veel) extra modules nodig
i18n, i18nviews, entity translation
Vertaling niet altijd 1-op-1
Vb: NL + FR site met beperkte vertaling naar EN + DE
Wat met menu's ? Pagina's die enkel in 1 taal bestaan ?
Vertaling gebeurt op verschillende plaatsen
Ook verschillende rechten nodig
p. 54
Aandachtspunten
55. Vertaling van inhoud
p. 55
Drupal 6
Vertaling per “node”, elke vertaalde node een andere ID
=> wat met bijvoorbeeld “likes” (vertaalde of alle nodes ?)
“Synchroon” houden auteur, datum … ? (i18nsync)
Drupal 7
Vertaling per node, zoals in D6
Of per veld (entity translation)
=> zelfde ID, maar werkt niet altijd met alle modules
57. Simpletest module
Standaard in D7 (“Testing”) module
p. 57
Aparte module in D6
Testen van functies tijdens ontwikkeling
Niet verplicht, wel sterk aan te raden
Testen kunnen ook automatisch draaien op d.o.
58. Simpletest voorbeeld
p. 58
<?php
public function setUp() {
parent::setUp('simpletest_demo');
$this->privileged_user = $this->drupalCreateUser(
array('create simpletest_demo', 'edit own simpletest_demo'));
$this->drupalLogin($this->privileged_user);
}
public function testSimpleTestDemoCreate() {
$edit = array();
$edit['title'] = 'SimpleDemo';
$edit['body'] = $this->randomName(80);
$this->drupalPost('node/add/simpletest-demo', $edit, t('Save'));
$this->assertText(t('SimpleDemo has been created.'));
}
?>
68. Gebaseerd op Symfony 2
Release: eind 2014 ??
Hergebruik PHP framework
http://symfony.com/blog/symfony2-meets-drupal-8
http://cipix.nl/understanding-drupal-8-part-1-general-structure-framework
p. 68
Voordelen
Interessanter voor niet-Drupal (PHP) developers
Laat toe om nieuwe functies sneller te ontwikkelen
Nadelen
Leercurve voor ervaren Drupal developers
Herschrijven modules en themes
69. Grote verbeteringen
Configuration Management
Gescheiden houden content en inhoud
p. 69
(REST) Web Services
Makkelijker om feeds te maken / data binnen te halen
Meer functionaliteit standaard aanwezig
Meertaligheid, HTML Editor, Views
HTML5 / Mobile / Accessibility
Geen ondersteuning meer voor IE8
71. Configuration Management
Configuration API
Uitwisselen via YAML files
Vb: van development naar productie-omgeving
(Oorspronkelijk niet in database, sinds kort wel)
p. 71
72. p. 72
Andere APIs
Validation API
Niet enkel meer voor formulieren (vb ook voor REST)
Voorbeeld: controle maximum waarde
State API
Niet verwarren met Configuration API
Voorbeeld: laatste keer dat cron uitgevoerd werd
In D6 / D7 meestal bijgehouden in Variable
Tour API
Gebaseerd op Joyride.js
73. p. 73
Twig themes
Voordelen
Niet Drupal-specifiek
Ontwikkeld door de makers van Symfony 2
Leesbaarder
Geen PHP code meer in templates (= veiliger)
Nadeel
Leercurve voor ervaren Drupal themers
74. p. 74
Twig voorbeeld
{#
This is a comment
#}
<div>{{ 'List'|t }}</div>
<ul>
{% for choice in menu %}
<li>{{ choice.name }}</li>
{% endfor %}
</ul>
75. Wat met bestaande Drupal sites ?
Drupal 7 blijft ondersteund
Drupal 6 ?
Ondersteuning eindigt 3 maanden na release D8
https://www.drupal.org/node/2288521
Heel wat sites draaien nog op Drupal 6 !
Upgrade naar D7 / D8 kan lastig zijn
Niet alle modules al beschikbaar / stabiel
=> (betalende) ondersteuning door Drupal-bedrijven
p. 75
“Backdrop” fork ?
76. https://drupal.org/drupal-8.0
https://www.drupal.org/update/modules/7/8
https://www.acquia.com/blog/d8migrate
https://groups.drupal.org/core/twidc
https://www.drupal.org/node/2127611
p. 76
Meer informatie