LLBLGen Custom Framework Settings

Jun 19, 2011 at 10:16 PM
Edited Jun 19, 2011 at 10:21 PM

LLBLGen ANGTE works this way: you create a custom file (say Northwind.llblgengui) that holds the GUI information, that is how you want the GUI to be generated. To refer to LLBLGen objects you specify the name of the object. Example:

<EntityDefinition Name="Employee" DescriptiveField="LastName" ... />

This has a downside: if you rename the Employee entity in your  LLBLGen Pro Project, the GUI templates won't find the GUI information in the .llblgengui file, so you have to rename it in the .llblgengui file as well. The same applies to entity fields, TypedViews and TypedLists. This process could be cumbersome if you constantly rename objects in your project.

Another way to do it would be to use the new LLBLGen feature Custom Framework Settings. This way we can define the GUI information structure in a .frameworksettings file so the data is always stored inside the objects in the LLBLGen project file (.llblgenproj). Doing this is not fun either as you have to select every object (entity, field, navigator, typed view, etc) in order to set the new GUI settings values. To do this in a practical way we should write a LLBLGen plugin that edit the GUI settings in your project.

I don't know how this plugin should look like and how it should work. Maybe a new way of editing the setting values should exist in the  LLBLGen Pro tool.

What do you thing about this? We want to hear your thoughts.