odiseh
odiseh

Reputation: 26517

net: business entity?

hi all I would like to know that what considerations we need to do when designing business entities as a software architect?

Any reference or help is appreciated.

Upvotes: 0

Views: 302

Answers (1)

Jagmag
Jagmag

Reputation: 10356

Its a very broad question but some high level topics that i think you must look at include:-

  • Concurrency - how your objects will handle it
  • Caching of Business objects and how it will be done.
  • Persistence / Retrival of business objects - If you use will use an ORM - Decision as to what ORM best fits your needs
  • Business rules validation and how it will work
  • Parent-child relationship management
  • N-level undo
  • Databinding Support
  • Transactions Support
  • Serialization of the business objects
  • Utilities like cloning (deep copy) of objects

    In addition, there will be various patterns that you need to consider based on what suits your requirements best

    1. What kind of responsibility pattern will they have. Eg: Expert Business objects
    2. Will the objects incorporate patterns like lazy loading their data or not.

    I think it would be good to explore some ORM like NHibernate or business object framework like Rockford Lhotka's CSLA as a starting point.

    This should give you a pretty fair starting point and even help you decide if these frameworks meet your specific needs or you need something else.

    Upvotes: 3

  • Related Questions