Search code examples
theoryn-tier-architecturelayered

What are the good practices in layered programming?


I have searched a lot on "What are the good practices in layered programming?" but was not able to find a good link. I use java, and hibernate to connect to database.

Thanks


Solution

  • You can refer to following links

    http://resources.infosecinstitute.com/good-programming-techniques/
    http://msdn.microsoft.com/en-us/library/aa260844(v=vs.60).aspx#cfr_bestprac
    

    you should understand separation of concern in your application;how you can make each part of code reusable(at least to some extent);and inversion of control principle

    http://en.wikipedia.org/wiki/Inversion_of_control