advertisement

Drupal showcase Uit in Vlaanderen

67 %
33 %
advertisement
Information about Drupal showcase Uit in Vlaanderen
Technology

Published on February 9, 2009

Author: davyvdb

Source: slideshare.net

Description

Building an event site
Drupal site built on top of API (data not in Drupal)
Modules (contributed and custom)
Extending block visibility
Service attachments
Theming and performance tips
advertisement

Drupal showcase Davy Van Den Bremt dotProjects Monday, February 9, 2009

I am... • Davy Van Den Bremt • 2 years full time Drupal stubru.be, donna.be, p-magazine.com, idf.org, uzleuven.be, ... • drupalcoder.com • administration theme, instant search, thumb, dodge, ... Monday, February 9, 2009

What’s this about ? • Event site • Built on top of API (data not in Drupal) • Modules (contributed and custom) • Extend block visibility • Service attachments • Theming and performance tips Monday, February 9, 2009

introducing... uitinvlaanderen.be (under construction ;)) Monday, February 9, 2009

Browsing events Monday, February 9, 2009

Still browsing... Monday, February 9, 2009

... and filtering Monday, February 9, 2009

Get details Monday, February 9, 2009

Crosslinks Monday, February 9, 2009

Enriched info Monday, February 9, 2009

User interaction Monday, February 9, 2009

Editorial content Monday, February 9, 2009

Who was it built for? Monday, February 9, 2009

Cultuurnet Vlaanderen • Gathers events • Publishes events • To partners • On their own website (uitinvlaanderen.be) • Has an API now Monday, February 9, 2009

Who was involved? Monday, February 9, 2009

Team • Cultuurnet : concept / API • Amplexor : PM • Gonzales : graphical design and slicing • dotProject : Drupal integration • AG Consult : usability testing Monday, February 9, 2009

When was it built? Monday, February 9, 2009

Timing • Concept • Design + Usability • Drupal integration • Usability testing • Design + Drupal integration Monday, February 9, 2009

How it was built Monday, February 9, 2009

Feature 1 Editorial content and user interaction Monday, February 9, 2009

Editorial content • CCK • Views • Imagecache • FCKEditor • IMCE • Webform • Scheduler Monday, February 9, 2009

User interaction • Flag • Fivestar • Comment • LoginToBoggan • Forward • AddToAny (no module) Monday, February 9, 2009

Feature 2 Browsing events Monday, February 9, 2009

Cultuurnet API • Access to in-house events database • REST • Methods • Get list of events what, where, when + facets • Get details for event • Get detail for location Monday, February 9, 2009

PHP API on REST API • Provides PHP level functions cnapi_get_events(array(‘query’ => ‘Madonna’)); cnapi_get_events(array(‘zip’ => ‘9000’)); cnapi_get_event(array(‘cdbid’ => ‘123ABC’)); • Returns objects representing events • Built as Drupal module with administration interface Monday, February 9, 2009

Params • Canonical representation of request array(‘action’ => ‘events/search’, ‘query’ => array(‘zip’ => 9000, ‘query’ => ‘Animal Collective’)); • Get out quirks • Remove defaults • Arrays are easier to work with then strings Monday, February 9, 2009

URL translation • translation between • params • API url • Drupal url • clean url handling • counterparts for l and url • Get current context : cnapi_get_request_params Monday, February 9, 2009

Syncing events • To enrich events, we need them as nodes • Creating a node for each event • Offline syncing Every x hours incremental • Realtime syncing • As soon as requested • custom_url_rewrite Monday, February 9, 2009

Feature 3 Service attachments Monday, February 9, 2009

What was needed ? • Finding videos, photos, restaurants, ... on third party webservices • Youtube • Flickr • Wikipedia • Resto.be • .... Monday, February 9, 2009

What was developed ? • “Framework” • Define a service and its parameters • Define how to query a service for a “keyword” (one request only!) • Multiple “candidates” per node. Monday, February 9, 2009

Example : Wikipedia Monday, February 9, 2009

Defining service Monday, February 9, 2009

Defining request Monday, February 9, 2009

Walkthrough Monday, February 9, 2009

Run parameters Monday, February 9, 2009

Service without options Monday, February 9, 2009

Service with options Monday, February 9, 2009

Blacklisting candidates Monday, February 9, 2009

Per content type settings Monday, February 9, 2009

Candidates Monday, February 9, 2009

Results found Monday, February 9, 2009

How flexible is this ? Monday, February 9, 2009

Media service (1) Problem: Gathering more info on nodes from RSS feeds. Newspapers, magazines, blogs, ... Monday, February 9, 2009

Media service (2) • Solution • Second site(uhm... drupal) • feed_aggregator (contributed module!!!) • service_attachments • OpenSearch Feed (contributed module!!!) • hook_service_attachments Monday, February 9, 2009

Related nodes • Find relations between nodes • Define a service that does a query via drupal search • So it’s not limited to remote services Monday, February 9, 2009

Feature 4 Block visibility Monday, February 9, 2009

Block visibility (1) • Show a block only on event listings that have parameter X • Example Show a block “Popular events in Brussel” only if someone has filtered on “Brussel” Monday, February 9, 2009

Block visibility (2) • Candidate Drupal solutions • PHP block visbility (too hard) • Hooks (not available this time) • Solution • Some jQuery magic • hook_form_alter • multiple submits Monday, February 9, 2009

Block visibility (3) Monday, February 9, 2009

Feature 5 API Views Monday, February 9, 2009

Cultuurnet API Views • Allows editors to create listings of events • Pages and blocks • NOT built on THE views module • Works directly on API, not on nodes Monday, February 9, 2009

Monday, February 9, 2009

Monday, February 9, 2009

Monday, February 9, 2009

Some tips & tricks Monday, February 9, 2009

Theming • Ask for a PHP click through model • Allows to test if regions/blocks are well understood • Get a head start on theming • Discover HTML mistakes Monday, February 9, 2009

Performance detection • Devel • Detect slow queries • Detect queries you hadn’t expected • YSlow • Client side optimisations • Profiler • Detect slow parts • Detect weird flows Monday, February 9, 2009

Performance optimisation • cache_set, cache_get • page cache and block cache • mod_deflate (only on css, js, ...) • page compression • opcache • mod_expires Monday, February 9, 2009

What got contributed? Monday, February 9, 2009

Contributed modules • Administration theme • Thumb • Service attachments (coming soon) Monday, February 9, 2009

The end Monday, February 9, 2009

Questions ? Monday, February 9, 2009

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Fosdem 2009 - The final Drupal Devroom schedule | Drupal ...

Drupal Showcase: Uit in Vlaanderen / Cultural Activities in Flanders ... Drupal (multilingual) web projects are among Connexion's specializations.
Read more

Out in Flanders - UiTinVlaanderen | Drupal Showcase

UiTinVlaanderen.be: making powerful marketing more personal UiTinVlaanderen.be (Out In Flanders) is the most complete diary of cultural events and ...
Read more

Out In Flanders - UiTinVlaanderen.be | Drupal.org

UiTinVlaanderen.be ... Featured showcase; Community showcase; ... Wunderkraut started by migrating the whole website to Drupal 7, ...
Read more

Welkom op drupal.be | Nederlandstalige Drupalgemeenschap

Welkom op drupal.be. ... Werkelijk iedere beetje professionele site in Vlaanderen en Nederland wil zijn content in het Engels en Nederlands aanbieden.
Read more

CultuurNet showcase - Technology - documents.mx

Share CultuurNet showcase. ... What CultuurNet does• How and where they use Drupal• How the reusable ... UiT in Vlaanderen ...
Read more

museums using Drupal | Drupal Groups

Museums using Drupal. ... UiT in Brussel: http://www.uitinbrussel.be/ ... Muzikaal Erfgoed in Vlaanderen: http://www.muzikaalerfgoed.be/
Read more

andere publicatiekanalen - CultuurNet Vlaanderen | (meer ...

UiT in de media. CultuurNet Vlaanderen levert de vrijetijdsdata uit de ... Showcase: Het Nieuwsblad heeft ... ISB maakt met deze Drupal-website als eerste ...
Read more

www.goudengids.be

1 resultaat in de omgeving van Oost-Vlaanderen Koop deze gegevens Verfijn uw zoekopdracht Sorteer meest relevante eerst A-Z ...
Read more

Joomla! nieuws, informatie en blogs | JoomlaCommunity.eu

Het is nog onbekend voor wanneer 3.7 uit zal komen. Joomla showcase. ... vr 21 oktober Gebruikersgroep regio Vlaanderen di 25 oktober ...
Read more

Google

Advertising Programmes Business Solutions +Google About Google Google.com © 2016 - Privacy - Terms. Search; Images; Maps; Play; YouTube; News; Gmail ...
Read more