Number5ix
asked on
Design Patterns and nTier for n00bs - WTF?
Hi all,
I'm currently writing an application using the .NET Platform (C# 3.5). I"m not a professional developer but I can code at an intermediate level - let's get that out of the way first. I want to try and 'architect' the application properly from the start but unfortunately that means probably doing things that I don't know exist ... enter design patterns.
Can anyone offer any advise on design patterns for someone like me? Which one would be the best to use for a site that, for the sake of example, is like Flickr? There are members, there are photos etc.
Also, if the application as a UI and then needs to update member information, should the UI talk to a model layer which, in turn, talks to a data layer? Or is it ok for the UI to talk directly to the database?
I realise these might be entry-level questions for a pro dev but they're pretty mind-boggling for someone like me. :)
Thanks!
I'm currently writing an application using the .NET Platform (C# 3.5). I"m not a professional developer but I can code at an intermediate level - let's get that out of the way first. I want to try and 'architect' the application properly from the start but unfortunately that means probably doing things that I don't know exist ... enter design patterns.
Can anyone offer any advise on design patterns for someone like me? Which one would be the best to use for a site that, for the sake of example, is like Flickr? There are members, there are photos etc.
Also, if the application as a UI and then needs to update member information, should the UI talk to a model layer which, in turn, talks to a data layer? Or is it ok for the UI to talk directly to the database?
I realise these might be entry-level questions for a pro dev but they're pretty mind-boggling for someone like me. :)
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Not exactly what I was after but this was a question without one "correct" answer. I'm splitting the points as I believe marklorenz helped somewhat when nobody else would but no single response was the exact solution.
ASKER
I understand the value of class/sequence/state diagrams but I would've though they were more aimed towards commercial/professional applications where the various layers and interactions are going to be looked at by different teams that aren't necessarily in contact and working together the entire time.