Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

1

Share

Download to read offline

BUILDING A FULL-FLAVORED EVENT SITE IN 5 MINUTES

Download to read offline

With Drupal 7 and the CultureFeed Kickstart Drupal install profile, the CultureFeed Event Module Suite and the Culturefeed Bootstrap theme.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

BUILDING A FULL-FLAVORED EVENT SITE IN 5 MINUTES

  1. 1. 1 BUILDING A FULL-FLAVORED EVENT SITE IN 5 MINUTES CULTUREFEED- KICKSTART CULTUREFEED CULTUREFEED_BOOTST RAP &
  2. 2. CultuurNet (CultureNet): “relationship agency” that mediates between events and participants Mission: “(more) people (more) enthusiasm (more) culture” Who are we? 2
  3. 3. through broad cultural communication and marketing How we do this? 3
  4. 4. First of all we aggregate all cultural and other events How we do this? 4
  5. 5. Products? 5
  6. 6. Previous situation So how we do this? 6 API API The events (SAPI 1) The participants (UiTiD) CnAPI (CultuurNet API) Module Suite CultureFeed Module Suite Drupal
  7. 7. New situation So how we do this? 7 API Events (SAPI2) + participants CultureFeed Module Suite Drupal
  8. 8. And who is doing this? 8 10 developers, pm‟s, solution architects, etc M-Studio (2DotsTwice)
  9. 9. API • custom search solution, exposed over HTTP • did not allow for more complex, composite queries • example: give me all events with minimum age 3 in a range of 30 kilometers from Herent - OR - with the theme „music‟ in a range of 60 kilometers from Herent • limited faceting support, needs a second HTTP request • LINK example search • LINK example report CLIENT • PHP client library: non-existing • logic stuck in a Drupal module (cnapi), hardly reusable outside of Drupal Back in time: Search API v1 9
  10. 10. Based on Apache SOLR • REST-like HTTP API, based on Apache Lucene • faceting • spellcheck • LINK complex query for Vlieg • DOC http://tools.uitdatabank.be/docs/search-api-zoeken On top of that • OAuth • custom business logic • PHP client library: modern approach use existing tools and libraries • Composer • Guzzle • Symfony Event Dispatcher Search API v2 10
  11. 11. PHP libraries 11 CultuurNetCdb Fluent PHP library for manipulating, serializing and deserializing data present in CultuurNet's CdbXML 3.2 format https://github.com/cultuurnet/cdb CultuurNetSearch Php library for creating SOLR queries (basic SOLR queries and custom business logic) https://github.com/cultuurnet/Search CultuurNetAuth •the consumer-side of the authentication flow of CultuurNet's UiTiD, which is based on OAuth 1.0a Core •solid base for consumers of various OAuth-protected resources provided by CultuurNet https://github.com/cultuurnet/Auth USE IT IN YOUR WORDPRESS, EE, JOOMLA OR CUSTOM PHP
  12. 12. So what is this kickstart thing? 12 CULTUREFEED-KICKSTART = DRUPAL INSTALL PROFILE “Installation profiles provide specific site features and functions for a specific purpose or type of site.” https://drupal.org/developing/distributions Build.sh Install.php • drupal core (7.26) • drupal contribs (bootstrap 3.0) • culturefeed • culturefeed_bootstrap • composer install • guzzle/… • symfony/event-dispatcher • vendor/cultuurnet/cdb • vendor/cultuurnet/auth • vendor/cultuurnet/search • lessphp
  13. 13. So what is this kickstart thing? 13
  14. 14. culturefeed-kickstart 14 Modules that will be enabled: • culturefeed_ui • culturefeed_search • culturefeed_search_ui • culturefeed_agenda • culturefeed_social • culturefeed_search_views Blocks: check block page after installation
  15. 15. Culturefeed-kickstart 15 Prerequisites • full LAMP stack • git installed • drush installed • composer installed (http://getcomposer.org/doc/00-intro.md#downloading- the-composer-executable) • You download the kickstart in one folder but build the install in another! • Please check script output!
  16. 16. culturefeed_search culturefeed_agenda culturefeed_search_ui culturefeed_search_vie ws culturefeed_devel culturefeed_entry_ui culturefeed_pages The modules… cuturefeed 16 culturefeed_ui culturefeed_social culturefeed_mailing culturefeed_messages culturefeed_roles culturefeed_userpoints_ui culturefeed_uitpas LOTS OF DEPENDENCIES, PLEASE CHECK .INFO FILE FIRST! culturefeed
  17. 17. culturefeed core 17 Core of the module suite and is required by the other modules. It provides the settings form where you can enter the API Information. The api settings consist of the following elements: •The API Location •The application key •The shared secret •The Entry api path •the HTTP client timeout Caching! This information will be configured to show only the events that are relevant for your project. DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed
  18. 18. culturefeed_search 18 Base framework to enable searches on your site. Out of the box this module doesn't provide any interface elements! (Use Culturefeed Search UI and Culturefeed Agenda) •Caching •Drush commands DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-Search
  19. 19. culturefeed_agenda 19 Provides a Culturefeed search page available on agenda/search and detail pages! •The blocks provided by Culturefeed Search UI are intended to extend the agenda/search •The blocks provided by this module can be used to extend the detail pages of events, actors and productions. •Includes also a simple search form DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-Agenda
  20. 20. culturefeed_search_ui 20 Basic elements needed to build up an event search (such as provided by Culturefeed Agenda). •basic search form with type selector in the front (can be extended) •sort block •active filters •facets DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-Search-UI
  21. 21. culturefeed_search_views 21 Views integration to list events, actors or productions. To create culturefeed views, create a new view and configure it to show Cdb items. Once the view is created, following handlers can be set: •Fields •Filters •Sort DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-Search-UI
  22. 22. culturefeed_devel 22 Performance site = performance API (+/-) Writes to screen or to watchdog: •requests to SOLR •requests to UiTiD Threshold > watchdog DOC to write …
  23. 23. culturefeed_entry_ui 23 Functions to do a CRUD on events are already in library, but we are building a form to create, update and delete events in our UiTdatabank as well. In development, first case www.artsflanders.be, release next weeks DOC to write …
  24. 24. culturefeed_pages 24 User can create a page (locations, performers, families, schools, …) or become member and follower Will be relevant when actors become pages (expected september 2014) DOC to write …
  25. 25. culturefeed_ui 25 Provides a collection of pages and blocks to enhance the user pages with culturefeed information. To do this it will override and/or enhance the default Drupal user pages. • edit profile page • edit account page • search users page • caching • teaser (formerly connect) • most active user • login (formerly profile box) • profile menu • e-mail confirmation reminder • search users • profile summary (formerly My UiTiD) DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-UI
  26. 26. culturefeed_social 26 All „social‟ features: likes, comments, attends, etc. DOC to write (april)
  27. 27. culturefeed_mailing 27 To create mailings with search results from event (based on lifestyleprofile, Vlieg weekendflash, …). Not yet available for partners. culturefeed_messages Send messages to other users (most likely page owners), interesting when actors become pages. culturefeed_userpoints_ui Collect on line userpoints (for specific actions like writing reviews) and claim promotions (Vlieg). culturefeed_roles Pre-assign roles to UiTID users that have not logged in yet. Drush integration. DOC to write …
  28. 28. culturefeed_uitpas 28 Integration with the UiTPAS card system. It contains multiple pages and blocks that can be used to build an interface that allows: •easy access to the advantages and promotions a passholder has access to, •possibility to register your UiTPAS, •highlights of promotions and actions. DOC https://github.com/cultuurnet/culturefeed/wiki/Culturefeed-UiTPAS
  29. 29. Tutorials! 29 So if you don‟t use culturefeed-kickstart or you need more documentation, read one of our tutorials which guide you in setting up specific things step by step! •Set up a search page •Set up an UiTiD integration (todo - april) •Integrate UiTPAS DOC https://github.com/cultuurnet/culturefeed/wiki/Tutorials
  30. 30. Culturefeed_bootstrap theme 30 Culturefeed Bootstrap is a responsive, mobile first subtheme of the Bootstrap Framework. With some basic theme settings: • branding colors • font-family • border-radius • … • Subtheme of Bootstrap 3 • Uses LESS (SASS is coming!) • (almost) fully responsive! • Font Awesome 4.0.3 • Example see http://mons.culturefeed.be/ THE USE OF THIS THEME WILL SPEED UP YOUR DEVELOPMENT… A LOT!
  31. 31. SEO optimalisations 31 • NOINDEX-strategy “Googlebot found an extremely high number of URLs on ...” • URL-rewriting (slugs) • XML Sitemap • Breadcrumbs • Page title • Document outline (on going) • Rich snippets (on going)
  32. 32. Next steps: multilingual 32 For all modules (culturefeed_entry_ui in development) See http://acc.culturefeed.be (first case www.artsflanders.be, release next weeks)
  33. 33. Demo + examples 33 Two demo sites • acc.culturefeed.be > acc (test.uitdatabank.be) + pages + entry + devel + multilingual • www.culturefeed.be > www (www.uitdatabank.be) Examples • www.uitmetvlieg.be • www.cultuurkuur.be • www.uitpas.be • www.muntpunt.be • www.starttoswim.be • ???
  34. 34. Resources 34 • kickstart: http://www.github.com/cultuurnet/culturefeed- kickstart • module suite: www.github.com/cultuurnet/culturefeed WIKI! • bootstrap theme: www.github.com/cultuurnet/culturefeed_bootstrap
  35. 35. Other questions 35 •Please use GIT ISSUE LIST as much as possible •sven@cultuurnet.be •Where into contribution! Please do use GIT PULL REQUESTS ? come and talk… :-) ? soon available on github!
  • timgu

    Apr. 2, 2014

With Drupal 7 and the CultureFeed Kickstart Drupal install profile, the CultureFeed Event Module Suite and the Culturefeed Bootstrap theme.

Views

Total views

868

On Slideshare

0

From embeds

0

Number of embeds

31

Actions

Downloads

4

Shares

0

Comments

0

Likes

1

×