Midgard Gathering in Gothenburg IT University
posted to #midgard Lindholmen 04.11.2010 (en)
Plan for making OpenPSA installable:
First phase: running OpenPSA on Ratatoskr instead of Ragnaroek
Second phase: running OpenPSA under MVC instead of MidCOM/org/openpsa/core instead of org.openpsa.core)
Just installed Midgard3. You need latest Vala to build it, but later we'll publish tarballs with the Vala-generated C so that won't be necessary.
Midgard3 API explanations from @piotras
ObjectModels are not needed for creating persistent objects, but ObjectModels are persistent by themselves, so you can share the definitions of your Objects between application processes. So in nutshell: ObjectModel is a class definition, and StorageModel is a serialization recipe for objects.
This means we can in the future implement other StorageModels than just SQL. Want to talk to some NoSQL database, LDAP, or even just flat files?
Simplified example of the Midgard3 concepts:// Class would correspond to an ObjectModel
class person
{
// ObjectPropertyModels for the ObjectModel
public $firstname = '';
public $lastname = '';
}
// Since we have a model we can instantiate it
$person = new person();
$person->firstname = 'Vali';
// file_put_contents would in this case be a ContentManager as it knows how to store and access content
// "/tmp/foo" would be a configuration of a StorageModel, and serialize() the way StorageModel deals
// with serializing objects into the store
file_put_contents('/tmp/foo', serialize($person));
@tepheikk yep, though run through injector instead of an instance. It is there already but needs a lot of love: https://github.com/bergie/midgardmvc_... (ping @rambo, fork this)
It is interesting in general to see that the trend has really been to create tools for data storage rather than CMS as it used to be still some 3-4 years ago. I wish we would one day still build the CMS around and I think that the problem is that we are often reaching for too much at once (at least when we have been doing planning) – even if we really have been scratching the surface.
Come to think of it, Midgard3 is on its way and I haven't ever even used Midgard2 for anything. I think I am too comfortable in the solid grounds of Ragnaroek and need to get rid of those bounds. At least for now the end of the year seems relatively calm so I'd love to participate in some daytime hacking sessions for Midgard2 or Midgard3.
@adrenalin I just got OpenPSA running on top of Midgard2, so there certainly is a migration path forward :-)
@adrenalin if beginning of December works for you, we have quite a bit to do with MVC and Aloha before the demo in the IKS Amsterdam workshop can happen.
@piotras @indeyets this semantic feature comparison table might be useful when prioritizing Midgard3 RDF features.
@adrenalin There is one more advantage if you think about MidgardCR (Midgard 3). Thanks to GObject Introspection, you can run some app on top of Midgard and provide own implementation if it's needed. Full or partial.
Some additional status reports:midgard_person to midgard_user
I spent second half of today, trying to build MidgardCR using built-from-sources latest released versions of gobject-introspection, vala and libgda.
Stuck with libgda vs introspection issue: http://paste2.org/p/1075417
ok. that's actually seems to be a typo in libgda. after fixing, I get error reported by someone here:
http://groups.google.com/group/archli...
cause of the problem — nested type. see here: http://paste2.org/p/1075440
Copyright Rohea Oy 2010 | Mobile version | Feedback | API | Terms of Service | Applications and tools