digital signage with drupal and meteor - shrop · digital signage with drupal and meteor mark...

20
Digital Signage with Drupal and Meteor Mark Shropshire (@shrop)

Upload: others

Post on 26-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Digital Signage with Drupal and Meteor

Mark Shropshire (@shrop)

Page 2: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Digital Signage

Digital signage ues a combination of content management and playback software to display content on screens and displays of all sizes

Page 3: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Spectacle

• Open source digital signage publishing system

• Content management using Drupal https://drupal.org/project/spectacle

• Content playback using Meteorhttps://github.com/shrop/spectacle-frontend

• famo.us for layout and animations

Page 4: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Spectacle

• Spectacle is being developed in the open with partners through the Charlotte Drupal User Group and Meteor Charlotte

• Sponsored by

• Classic Graphics

• SUAR at UNC Charlotte

Page 5: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Spectacle Use Cases

• Event marketing and organization news

• Retail advertising

• Conference room event listings

• Interactive directories and maps

Page 6: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Why Meteor?

• Drupal is strong for content management. Let’s not try to recreate those capabilities in another system.

• Meteor is perfect for building realtime applications

• Allows us to use technologies like famo.us

Page 7: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Why Meteor?

“Meteor is an open-source platform for building top-quality web apps in a fraction of the time, whether you're an expert developer or just getting started.”

https://meteor.com

Page 8: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Why Meteor?

Seven Principles of Meteor

• Data on the Wire

• One language

• Database Everywhere

• Latency Compensation

• Full Stack Reactivity

• Embrace the Ecosystem

• Simplicity Equals Productivity

Source: http://docs.meteor.com/#sevenprinciples

Page 9: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Why Meteor?

Database Web server

Traditional web applications

DataClientHTTP

Request

Page 10: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Why Meteor?

Database Meteor server

Meteor web applications

DataClient

Initial package

Polling

Data updates

Local DB write (sync)DB writes (async)

Page 11: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

DDP(Distributed Data Protocol)

• Data on the wire

• RPC from client to server

• Client subscriptions to sets of documents

• JSON objects/EJSON field specifications

Page 12: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Creating a Meteor app

meteor create myNewAppmyNewApp: created.!To run your new app: cd myNewApp meteor

cd myNewAppmeteor

=> Meteor server running on: http://localhost:3000/

$

$$

[[[[[ ~/Sites/myNewApp ]]]]]

Page 13: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Spectacle Content Types

Term reference

Page 14: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Spectacle Templates

Page 15: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Template Concept

Page 16: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Template Concept

Page 17: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Template Concept

Page 18: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Template Concept

Page 19: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Demos!

• Drupal for content management

• Meteor for content playback

Page 20: Digital Signage with Drupal and Meteor - SHROP · Digital Signage with Drupal and Meteor Mark Shropshire (@shrop) Digital Signage Digital signage ues a combination of content management

Questions?

Monitor the Charlotte Drupal User Group and Meteor Charlotte for upcoming sprints

http://www.meetup.com/charDUG http://www.meetup.com/meteor-charlotte