Hi All, New to php freaks and also fairly new to PHP. Here is what im up to; Im creating a fairly beefy application that involves probably around 60% updating to 40% querying of a database. What I dont currently know is the best practices' I should be applying to this application. My experience of Java and JSP, OO design etc has brought me to this. The Three layers Top: Displaying of objects to user - basic objects that display info in the way a user would expect Middle: Holding Classes that are used to maintain information for specific instance of classes - these classes only really have getters and setters, nothing fancy. Bottom: Database interaction, queries and updates - each of these classes is used to create instances of the Middle layer class associated to it. For example TemplateSQL is used to create a Template instance class. Am I on the right track with this? Is this poor design? If anyone can give some hints, tips, books/articles that relate to this type of thing it would be much appreciated. Hopefully as I get some more experience with this and further projects I can start helping other people rather than just turning up here and asking away! TIA, Simon