Top Banner
Midgard2 Content repository for desktop and the web
30

Midgard2 Content Repository at FSCONS 2009

Dec 25, 2014

Download

Technology

Henri Bergius

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Midgard2 Content Repository at FSCONS 2009

Midgard2

Content repository for desktop and the web

Page 2: Midgard2 Content Repository at FSCONS 2009

Midgard has been a CMS

Page 3: Midgard2 Content Repository at FSCONS 2009

...but isn't just a CMS

Page 4: Midgard2 Content Repository at FSCONS 2009

The Midgard Project• Free software project

since 1999

• Midgard1 was just a CMS

• Midgard2 is a content repository

• Contributors from most European countries

• Synchronized release model, every 6 months

• Linux, Mac, Maemo

Page 5: Midgard2 Content Repository at FSCONS 2009

Content Repository

Common rules for data access

Page 6: Midgard2 Content Repository at FSCONS 2009

Content Repository

Signals about changes

Page 7: Midgard2 Content Repository at FSCONS 2009

Content Repository

Objects instead of SQL

Page 8: Midgard2 Content Repository at FSCONS 2009

Content Repository

Objects instead of SQL

http://xkcd.com/327/

Page 9: Midgard2 Content Repository at FSCONS 2009

Content Repository

Data model is scriptable

Page 10: Midgard2 Content Repository at FSCONS 2009

Content Repository

Synchronization and sharing

Page 11: Midgard2 Content Repository at FSCONS 2009

Midgard2Generic Content Repository

• Relational content storage based on MgdSchema ontologies

• Object-Relational Mapping, Query Builder

• Usable as library in C, Objective-C, Python and PHP

• Built with C, glib, libgda

• D-Bus signals for interprocess communications

• LGPL v2 licensing

Page 12: Midgard2 Content Repository at FSCONS 2009

Coming to a mobile device near you

Page 13: Midgard2 Content Repository at FSCONS 2009

...or maybe even into your finger

Page 14: Midgard2 Content Repository at FSCONS 2009

Midgard2

Objects are defined in MgdSchema files

Page 15: Midgard2 Content Repository at FSCONS 2009

Midgard2

Using Midgard (G)objects

Page 16: Midgard2 Content Repository at FSCONS 2009

Midgard2

Query Builder

Page 17: Midgard2 Content Repository at FSCONS 2009

Midgard2

Tree access

• Parent-child relations• get_parent()• list_children()

• Access via named paths• get_by_path()

Page 18: Midgard2 Content Repository at FSCONS 2009

Midgard2

Conboy can use Midgard as a content repository

Page 19: Midgard2 Content Repository at FSCONS 2009

Midgard MVC

Put your content repository on the web

Page 20: Midgard2 Content Repository at FSCONS 2009

Midgard MVC

• Very efficient MVC framework for PHP

• Python and D-Bus for background processing

• Gettext + intl i18n• TAL templating• Full WebDAV support• Git for packaging and

deployment

Page 21: Midgard2 Content Repository at FSCONS 2009

Midgard MVC

Qaiku: Microblogging with Midgard

Page 22: Midgard2 Content Repository at FSCONS 2009

Midgard MVC

Tomboy web synchronization with Midgard

Page 23: Midgard2 Content Repository at FSCONS 2009

Midgard MVC

CouchDB replication protocol

Page 24: Midgard2 Content Repository at FSCONS 2009

Midgard2 9.09 Mjolnir

Page 25: Midgard2 Content Repository at FSCONS 2009

Mjolnir

Database views

Page 26: Midgard2 Content Repository at FSCONS 2009

Mjolnir

Extending storage

Page 27: Midgard2 Content Repository at FSCONS 2009

Midgard2 Runtime

Page 28: Midgard2 Content Repository at FSCONS 2009

Mjolnir +1

• Vala• RDFa & Tracker• Gobject Introspection

• XMPP replication • Runtime for Linux• Spring 2010

Page 29: Midgard2 Content Repository at FSCONS 2009

Forget about SQL, use a content repository

Page 30: Midgard2 Content Repository at FSCONS 2009

Start by installing Midgard2 now

midgard2.org #midgard on FreeNode