Today I finally added support in Hormiga (your favourite Tracker ORM ((It is the only one. So it’s necessarily your favourite.))) for loading proxies providing a value for one of their properties. In short, this means that you can now do

var my_proxies = MyProxyClass.load_from_my_property ("my_value");

Following the previous example, you could now use the following code to load all the photos with tag “foobar”:

var tag_foobar = Tag.load_from_label ("foobar");
var photos = Photo.load_from_tag (tag_foobar);

The documentation was updated too.

Next step will be to allow direct SPARQL queries to load proxies, as I don’t intend to hide every SPARQL feature under the API (yes, I do think developers can learn SPARQL, come one, it’s easy).

3 Responses to “Progress on Hormiga: loading from properties”


  1. […] This post was mentioned on Twitter by Rob Taylor, Zuissi. Zuissi said: Planet Gnome: Adrien Bustany: Progress on Hormiga: loading from properties: Today I finally added support in Hormi… http://bit.ly/ajbbKY […]


  2. […] Planet GNOME You might also like: Adrien Bustany: Ants never die Except if you squash them1 I’ve been slowly but steadily making progress on Hormiga, the Tracker based ORM. I wish I had more time to dedicate to this project, but my work on Tracker and Buxus, the company I’m founding with a Chilean friend, have been keeping my rather busy. Still, … pQuery – jQuery-like fun in Perl I discovered pQuery the other day, and had been meaning to try it out. I got the chance to use it today, and I have to say, I’m impressed. I am, however, rather wary that the last release was nearly two years ago; I’m not sure I’d want to use … Your Minimal Desktop – Backgrounds and Icons Backgrounds/Wallpapers:In my experience, backgrounds that have only a few colors in their pallet tend to work better in terms of all around design. However, with that said, if you don't like the way a certain wallpaper looks, you can always change it. The motto I stick to when choosing a wallpaper … […]


Comments are closed.