I am curious to find out the progress of these changes. Is this something 
that people are still working on? Where can i go to find out more and 
review what is currently done?


On Wednesday, January 29, 2014 5:29:08 AM UTC-7, Zachary Kessin wrote:
>
>  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/d7535152-4e09-469b-b160-317edb30c4b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to