Dynamic model using XML
-
Hi, I'm designing a framework for an enterprise application. I have done this earlier but I used to define model (properties, methods, events…) inside framework itself. Programmer writes codes based on the model defined in framework, in other words interface that is created inside framework later implemented by the programmer. Now I would like to isolate model definition from framework and define the model in a separate XML file so that framework will extract model definition from XML file dynamically. How do I achieve this ? Advance Thanks ! Regards, aB. :doh:
-
Hi, I'm designing a framework for an enterprise application. I have done this earlier but I used to define model (properties, methods, events…) inside framework itself. Programmer writes codes based on the model defined in framework, in other words interface that is created inside framework later implemented by the programmer. Now I would like to isolate model definition from framework and define the model in a separate XML file so that framework will extract model definition from XML file dynamically. How do I achieve this ? Advance Thanks ! Regards, aB. :doh:
well... i think this can be done using codeDOM. http://www.cswl.com/default.html Here There is a nice wPaper on "Interface Creation and Deployment at Runtime". please share your experience on codeDOM. Thanks, aB:rolleyes: