lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-dev] CFC's Model-View-Presenter architecture
Date Wed, 14 Mar 2012 08:49:47 GMT
Marvin Humphrey wrote on 3/13/12 8:03 PM:
> Greets,
> 
> Logan and I were discussing on IRC that CFC roughly follows a
> Model-View-Presenter design pattern[1].
> 
>   * The parser reads in the source code files and builds a model of the class
>     hierarchy.
>   * The "Core" view traverses the model and generates per-class C header
>     files [plus some stuff].
>   * The "Perl" view traverses the model and generates Lucy.xs, "typemap",
>     etc. -- which contain per-class binding code [plus some stuff].
> 
> To reflect this architecture, I think it makes sense to do a slight
> reorganization of the CFC class hierarchy.

+1

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message