Best Practices for N-Tier

4 posts, 0 answers
  1. Kevin
    Kevin avatar
    9 posts
    Member since:
    Mar 2009

    Posted 23 Feb 2010 Link to this post

    Hi,

    I faced some difficulties on mapping my desired domain model to persistent object using OA. Then i found an article in the knowledge base, talking about wrap persistent object (generated by OA) to business object.

    Northwind N-Tier Web Demo Application 


    Is this the best practice to use for n-tier web development? What are the disadvantages of doing this?

    Thanks,
    Kevin

  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 25 Feb 2010 Link to this post

    Hi Kevin,

    Yes, we recommend that the persistent objects are not used in all layers of the application but only in the data access layer and in the layer that contains the business logic and handles the reading / writing of persistent objects. This way you get stronger separation of concerns and if necessary you can replace more easily the different layers of the application.
    The disadvantage at the moment is that  you have to write manually the additional wrapper objects. We will provide an option for automatic generation of such objects in one of the future releases.

    Regards,
    Alexander
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Michael Josiah
    Michael Josiah avatar
    92 posts
    Member since:
    Nov 2007

    Posted 26 Feb 2010 Link to this post

    Hi

    If you could bump this feature (wrapper generator) to Q1 or an out of band release, then I would be pretty greatful. Right now for convenience we are literally passing iqueryable data within the UI and business tiers. It makes the system very flexible but im sure its not the best way to do things.
  5. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 28 Feb 2010 Link to this post

    Hello Michael Josiah,

    I am afraid that this functionality will not make it for the Q1 release. However, I hope that we will be able to provide it in one of the service packs before Q2.

    Best wishes,
    Alexander
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top