Llblgen V3 - Editing the model through plugins and other questions

Posts   
 
    
Walter Almeida avatar
Posts: 150
Joined: 27-Aug-2007
# Posted on: 24-Nov-2009 14:42:08   

About Llblgen V3, and the model first approach, I am wondering the following:

Will it be possible in V3 to dynamically add entities or manipulate other parts of an existing model through API call? Idea is to see if it possible to develop plugins that add great value to LlblgenPro, and enrich the model. In my understanding, you can do this kind of things with V2.6 but probably not down to adding entities (since entities can only be created from database tables)

I guess answer should be yes, as the model will somehow be decoupled from DB, with model first approach. And anyway the project being saved to XML, I guess it is even possible to modify the model by modifying the project XML file? (or is the XML too complex to be manipulated?)

I am looking at developping pluggins for Llblgen and am looking forward to the V3 for this purpose. This is the reason for my question.

Other question: can you easily mix model first and database first approaches on same project?

Last one: Do you have a way on V3 to make model partitions, for big models? at the moment (2.6) there is no structuration of model, all entities are at same level. Could be nice to have a way to organise the model let say by activity, or fonctionnality or any other relevant breakdown.

Thanks in advance

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 24-Nov-2009 20:06:32   

Walter wrote:

About Llblgen V3, and the model first approach, I am wondering the following:

Will it be possible in V3 to dynamically add entities or manipulate other parts of an existing model through API call? Idea is to see if it possible to develop plugins that add great value to LlblgenPro, and enrich the model. In my understanding, you can do this kind of things with V2.6 but probably not down to adding entities (since entities can only be created from database tables)

I guess answer should be yes, as the model will somehow be decoupled from DB, with model first approach. And anyway the project being saved to XML, I guess it is even possible to modify the model by modifying the project XML file? (or is the XML too complex to be manipulated?)

I am looking at developping pluggins for Llblgen and am looking forward to the V3 for this purpose. This is the reason for my question.

Yes, you can easily add entities, fields etc.

Other question: can you easily mix model first and database first approaches on same project?

yes, we designed the designer for being able to do that. It has a consequence of course, if you want to refresh, the model has to be valid, so it's not 'free for all', as that would just create a mess and you won't be able to determine what's correct.

Last one: Do you have a way on V3 to make model partitions, for big models? at the moment (2.6) there is no structuration of model, all entities are at same level. Could be nice to have a way to organise the model let say by activity, or fonctionnality or any other relevant breakdown.

Yes simple_smile The project has 'groups'. You can use these as grouping constructs, so everything is a big model and connections between groups are possible, or you can set it to separate projects, which forces th validator to check if connections are present between groups, and it also generates per group a separate project. Still you share 1 meta-data store for all groups simple_smile

You also have model views, which are simple views on the model, e.g.: http://i.imgur.com/KzWXQ.png simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Walter Almeida avatar
Posts: 150
Joined: 27-Aug-2007
# Posted on: 24-Nov-2009 20:18:03   

Hello Frans,

Thank you for the triple-Yes, what else can I ask for, except trying the beta when availablesimple_smile

Kind Regards, Walter Almeida