T
Trapulo
I've a requirenment that maybe its too hard to have, but I hope someone has
a good suggestion...
Basically, I need to create some pluggable pages in an asp.net application.
The pages are simple data management related (search data, shows, edit, and
so on). The Business Entities, BLL and DAL layer have a pluggable system to
create personalization of some objects, and I need to create a GUI related
to the provider the application is using.
An example:
- I can have and order entity, with some properties
- I can have an asp.net layer that users use to retrieve (with filter
options on the existing properties), edit and save orders
- now I subclass the order entity and related classes (DAL methods to
save/retrieve, etc), to create a structure customized to a specific client.
I use a class factory with a configuration file to create all classes
related to order, as using a provider pattern. My app creates instances of
the subclasses items, and all can work (I think).
- now, how can I load the right GUI based on same configuration settings? I
need to mantain a single web application because there are a lot of
functions that are shared, but I need that my GUI "shows the right pages",
plugged as the logic is.
I hope it's clear...
Is there any pattern to have this goal?
thanks
a good suggestion...
Basically, I need to create some pluggable pages in an asp.net application.
The pages are simple data management related (search data, shows, edit, and
so on). The Business Entities, BLL and DAL layer have a pluggable system to
create personalization of some objects, and I need to create a GUI related
to the provider the application is using.
An example:
- I can have and order entity, with some properties
- I can have an asp.net layer that users use to retrieve (with filter
options on the existing properties), edit and save orders
- now I subclass the order entity and related classes (DAL methods to
save/retrieve, etc), to create a structure customized to a specific client.
I use a class factory with a configuration file to create all classes
related to order, as using a provider pattern. My app creates instances of
the subclasses items, and all can work (I think).
- now, how can I load the right GUI based on same configuration settings? I
need to mantain a single web application because there are a lot of
functions that are shared, but I need that my GUI "shows the right pages",
plugged as the logic is.
I hope it's clear...
Is there any pattern to have this goal?
thanks