Skip to: content | sidebar | login

Midgard Gathering in Linkoping

Posted on 2009-03-21 13:31:28 CET. | View blog reactions | Bookmark this on Delicious

This weekend we have another Midgard Gathering hosted by Smallone in a beautyful countryside near Linkoping, Sweden.

Yesterday we (me nad Piotras) spent almost whole day to get there. Unfortunately, even travelling by plane you need a lot of time to get there. In the evening we had a lovely time at Smallone's tasting delicoius TexMex food prepared by Eva.

Today we followed the agenda guys have written and so far we managed to accept the design for a new Midgard Schema feature - views. From now on, views will be implemented and managed by Midgard core. All you will have to do is add a MgdSchema definition like

<view name="groups_with_coord">
<property name="guid" from="midgard_group:guid" />
<property name="official" from "midgard_group:official" />
<property name="lat" from="org_routa_positiononing_location:lat" />

<join direction="left" left="midgard_group:guid" right="org_routa_positiononing_location:parentguid" />
<join direction="inner" left="midgard_group:id" right="midgard_member:gid" />

<where property="midgard_group:owner" constraint=">" value="0" />
</view>

And this will make MgdSchema to create an object that you will use like regular schema object:

<?php

$qb = new midgard_query_builder("groups_with_coord");
$qb->add_constraint("official","=","My Group");
$rst = $qb->execute();

?>

We also decided about Midgard 9.09 codename which is now "Mjolnir". Mjolnir is Thor's holy hammer, so next Midgard release is expected to be smashing.

Before lunch we had a group photo:

Linkoping2009 019.jpg

More photos are in my photo stream.

Back


Return to top