Would you use the S#arp Architecture in a new comm

2019-03-09 14:21发布

The S#arp Architecture seems really cool, but do you think it's still too new to make the commitment to it in an important new project? (Let's assume the project appears to be a good fit for it at first glance.)

It all seems very good, I'm just concerned that the new project I'm working on is using all the newer technologies - WCF, ASP.NET MVC etc - and that if I add one more infant technology I'm going to end up with lots of problems and not enough technical skill or community support to figure them out...

It's just so hard to resist that demanding boy inside me: I wanna have the newest stuff!

(Disclaimer: I'm very new to the S#arp Architecture, so I'm mostly basing my optimistic opinion of it on the stated goals of the project, articles, bits of sample code etc.)

7条回答
干净又极端
2楼-- · 2019-03-09 14:48

I agree with John B: S#arp Architecture makes use of some well-known frameworks and patterns which, in their own right are largely battle tested and have a reasonable amount of community support to warrant commercial use, but there isn't enough S#arp specific community support or example projects out there to warrant the advantages the framework provides.

It's definitely great as a reference if you're wanting to use a couple of the techniques they've implemented in the framework though.

@leppie - what makes you want to avoid NHibernate?

查看更多
时光不老,我们不散
3楼-- · 2019-03-09 14:50

I would encourage you to experiment with it, and do some inhouse or hobby projects with it. For a commercial app, I would suggest a more mature framework. It will be more stable, better supported, and have a larger base of developers and sample code.

查看更多
疯言疯语
4楼-- · 2019-03-09 14:59

http://fancydressoutfitters.co.uk was built using:

  • Sharp Architecture (ASP.NET MVC, NHibernate, Fluent NHibernate),
  • Spark View Engine
  • AutoMapper
  • NHibernate Validator
  • xVal Validation Framework
  • N2CMS
  • PostSharp
  • Solr & SolrNet

and it worked very well indeed. We documented a lot of our learnings from this project as blogs which you can find here: http://delicious.com/howardvanrooijen/fdo-casestudy

We also decided that we wanted to give back to the various Open Source Communities who helped us, so we created a new Sharp Architecture Showcase Application called Who Can Help Me? The source is available from http://whocanhelpme.codeplex.com and a live demo can be found at http://who-can-help.me

查看更多
We Are One
5楼-- · 2019-03-09 15:00

the trouble with new technologies are:

  • no best practices discovered over time
  • no documentation/samples/community from others that you can google for
  • no 'case studies' of successful implementations to prove performance/scalability/etc
  • no 'features' discovered and documented, let alone fixed.

but someone's got to do it to get those things - it might as well be you, if you can afford for the whole thing to fail and be re-written.

If you can't afford the time to do it all over again (just in case it does prove to be useless or too difficult) then stick to established, proven technologies. In the end, its what you produce that matters, not how to produce it.

查看更多
啃猪蹄的小仙女
6楼-- · 2019-03-09 15:01

S#arp is a great starting point as has already been noted. It is easy to extend, decouple or change components as you go along depending on your requirements, however knowledge of its underlying frameworks would be a major advantage.

查看更多
叛逆
7楼-- · 2019-03-09 15:01

S#arp is a fantastic base but you really need to understand what's going on under the covers to extend your domain architecture. i use S#arp every opportunity i can.

查看更多
登录 后发表回答