Got the ASP.NET DataObject compilation running
Hmm.. Step by step I am coming to a definitive solution for my dynamic framework.
Now I can define the objects with fields, fieldtypes and editortype. These object definition is stored serialized in the database. These definied objects are then parsed through a CodeSmith script. The final sourcecode is then parsed through the CodeDom.Compiler. The references the final dll should have are defined along with the script for CodeSmith in a webform with a winform control in front.
Now I can define, generate and compile the objects with references to the framework. DataAccess is done by deklarit components so the data of the objects will be stored in xml serialized format (this so that indexing services can stilll do it's job).
Or should I use a runtime O/R mapper in between? This is something I will persue at a later stage. Now I am gonna concentrate on reusing the generated components in socalled Modules. Just a CodeSmith script with HTML presentation and calling the loading of the objects and restoring it's data to become presentable in the next stage. The Page template, nothing more than a collection of modules and perhaps 1 or 2 dataobjects.
Hmm things I still need to think about:
Runtime O/R Mapping to generate the database to store data.
Personalisation of the content, modules and pages.
A poll and last but not least a survey module. This last one can still be tricky as I want to lay out the questions based on the given answers. offcourse analysis of the given answers is needed and possibly needed to be reused in the profile of the customer. I am thinking of a desktop app to do the definitition of this complex questionaires, this so we can draw lines from an answer to the next question ..
It all seemed to be a simple site..