Link to home
Start Free TrialLog in
Avatar of Number5ix
Number5ixFlag for Australia

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!
SOLUTION
Avatar of marklorenz
marklorenz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Number5ix

ASKER

Hmmm interesting.  I've got a couple of observations/questions there.  Because I'm writing the app using C# wouldn't trying to use MVC be a little tough?  MVC for .NET is still only in Beta after all and I've heard about .NET's architecture not really working with MVC for a couple of reasons, some of which are the viewstate model and the requirement for rewritten URLs.

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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.