How to design form inheritance -


i need design 20 forms various business processes. have 10 countries , need form of object prietnted approach because each country has different business rules , different bits of data. however, there common data between of these countries.

for example, have 5 bits of data, 4 common every country, 1 specific individual countries. eg common name, address, telephone, male/female eg bonus payment

it's question of how manage code changes in enterprise application without code being unwieldy?

it's not languages, driven config code lists names lables...but each form may have of it's design gloabl form , less local form, local specific country.

isn't there way build dynamic form on fly have 1 form processbonus every country, form inherits fields mainform, , checks configuration class in background build form dynamicaly each country?

i'm trying avoid having 10 form types , 100 local forms each country, on 1000 forms , unmanageable wouldn't it?

actually need achieve multiple inheritance. .net technologies , php, flex etc other languages doesn't support multiple inheritance. thus, interfaces used hack achieve multiple inheritance.

you can find implementation of interfaces in link.

http://www.codersource.net/microsoftnet/cbasicstutorials/cnettutorialinterfaces.aspx


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -