Hi Zachary,

We are working on a erlang ORM kind off system.

https://github.com/erldb/erldb

Right now it is in early early phase. :) But we will try to get some
adapters up and so. But the idea is to have a better model then how it
works in boss_db.

A not working branch on a mongodb adapter
https://github.com/erldb/erldb_mongodb

We are gladly to get some more input on this.

We will add some documentation on how you write models for erldb.

- Daniel


2014-01-29 Zachary Kessin <[email protected]>

>  Hi everyone
>
> I have been working on the inner bits of boss_db of late, you may have
> seen a lot of commits come across that project. However I really want to
> change the way that Models work. The current version relies on a lot of
> "Magic" in the form of parse transforms. I dislike this  for several
> reasons.
>
>
>    - The transform code is a very hard to work with
>    - It makes it much harder to understand what your code is doing
>    - It creates a bunch of functions that have no source code, so they
>    are hard to understand
>     - it does not feel very "erlangish" in style.
>
> What I am proposing is that we change models to be a behavior, to create a
> model you would just create a model that implemented the gen_model behavior
> and specify how things work via a record.
>
> You can take a look at what I am thinking in this gist:
>
> https://gist.github.com/zkessin/8686881
>
> I look forward to your comments.
>
> Note also that the existing code will not go away, just we will slowly
> migrate to the new structure
>
> --Zach
>
> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/52E8F414.9000708%40gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CAL793oSW_tEUZH12sqvSQ7pHxS2pYEsb32qga%3DHtbVnCMsQo4w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to