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.