15
BETA David de Boer Driebit Zotonic Community Day 6 Nov 2014 Z

Planidoo & Zotonic

Embed Size (px)

DESCRIPTION

How we used Erlang web framework Zotonic as a content backend for Planidoo, a PHP project.

Citation preview

Page 1: Planidoo & Zotonic

BETA

David de BoerDriebit

Zotonic Community Day6 Nov 2014

Z

Page 2: Planidoo & Zotonic
Page 3: Planidoo & Zotonic

Planidoo• Event organisation platform

• Help and inspire users

• Content owners

Page 4: Planidoo & Zotonic
Page 5: Planidoo & Zotonic
Page 6: Planidoo & Zotonic
Page 7: Planidoo & Zotonic

Architecture• Custom-built

• Silex/AngularJS frontend

• Symfony2 REST API

• Elasticsearch, Redis etc.

• Zotonic CMS and API

Page 8: Planidoo & Zotonic

Zotonic• Linked content

• Data fixtures

• Services for retrieval

Page 9: Planidoo & Zotonic

Limitations• Two APIs, two stacks

• Interconnected data

• Blocking HTTP requests

Page 10: Planidoo & Zotonic

Solutions• Elasticsearch as single data source?

• Zotonic as data store?

• Rebuild everything in Erlang?

Page 11: Planidoo & Zotonic
Page 12: Planidoo & Zotonic

PHP: quantity• Symfony: 9144 stars, 3502 forks

• Active community

• There’s a library for that

Page 13: Planidoo & Zotonic

PHP: quality• Loosely coupled components

• Coding standards and inspection

• Tests

• Documentation

• Dependency management

Page 14: Planidoo & Zotonic

Building a community• Plug and play

• Stability

• Beginner docs

Page 15: Planidoo & Zotonic

[email protected]://driebit.nlhttps://github.com/driebit https://github.com/driebit/puppet-zotonic https://github.com/driebit/mod_elasticsearch