views:

509

answers:

4

Looking to create my first MVC application. Coming from WebForms I'm pretty excited to create an application that I can easily test.

I have looked into Kigg (the Digg clone done in MVC) and from the looks of it, it uses many of the best-practices in its architecture.

Having said that, would their approach be a good basis to base my web application (social networking site) on?

I would say I understand about 80% of the code and can probably remove all of the stuff I would not need (in terms of the business objects he uses along with business rules).

Would the benefit of having an architecture that uses best-practices in outweigh the cost of added complexity that perhaps "You Ain't Gonna Need It"?

+3  A: 

Hi Andy, I am the lead of KiGG, yes you are right that it has too many extension points, however I don't believe that 80% of code is just for extensibility. The goal of KiGG was to demonstrate that you can apply all of the best practices and yet be able to run an excellent application (DotNetShoutout.com). If need any clarification or if you think that we did some redundant things do let me know, I would be happy to help you.

kazimanzurrashid
Kazi, I was saying that I understand about 80% of the code, but I'm still unclear with the remaining 20% (EventAggregator). I have gone ahead and set up my own project, copying over the items from KIGG that I understand and know I will use.Quick question: I have previously used CSLA, which I'm hoping to use on this project for my Objects in place of your DomainObjects. Not sure if you see any problem with it.I will take you up on your offer to help if I have any questions.Thank you!
Andy
@Andy : I have blogged about the EventAggregator - http://weblogs.asp.net/rashid/archive/2009/03/05/use-event-aggregator-to-make-your-application-more-extensible.aspx, have you checked it? Not sure about the CSLA.net never used it.
kazimanzurrashid
+2  A: 

My suggestion for you is to start from scratch. Copy all the good things (pieces of code, patterns, good practices, etc) you see in KIGG if you like, but try to write/rewrite them yourself (if some class or piece of code is useful as it is, just copy/paste, there's no need to reach the extremes :P). That way you'll get the following benefits:

  • A solution that fits your exact needs (nothing more, nothing less).
  • You will learn a lot faster (and a lot more!) by writing your own code rather than just reusing others code.
  • You will feel comfortable with your own code standards which will make even easier to read the code.
  • You can personalize the stuff you like.
  • You probably will get a lot of errors or bugs if this is your first ASP.NET MVC app, but that is good, you'll learn a lot from these first mistakes.

That's the way I see it...

Gerardo Contijoch
A: 

Kazi anyway you could comment on my Kigg related post? I'd really appreciate your insight. (Love your app)

njappboy
A: 

hmm...

does anybody know how to deploy kigg to iis 7?

when I try to deploy it ,failed

my kigg version is kigg 2.5

coocle