S#arp Lite ...thoughts?

137 views
Skip to first unread message

Billy

unread,
Nov 12, 2011, 2:26:43 PM11/12/11
to S#arp Architecture
I would be very interested in getting feedback from the group, for
better or worse, concerning the release of S#arp Lite:

* http://devlicio.us/blogs/billy_mccafferty/archive/2011/10/26/s-arp-lite-like-beer-but-better.aspx
* http://devlicio.us/blogs/billy_mccafferty/archive/2011/11/11/s-arp-lite-the-basicss.aspx

I've talked to the S#arp Architecture team about this but wanted to
let the rest of the group know, and get your feedback, questions,
concerns, complaints, rebuttals, curses, and/or anything else you feel
like throwing my way.

Thank you,
Billy McCafferty

Craig van Nieuwkerk

unread,
Nov 13, 2011, 6:32:24 PM11/13/11
to sharp-arc...@googlegroups.com
Have had a look at this and it looks fantastic, just how I would expect S#arp Arch to work. One question, it heavily promotes Linq as the method of writing queries. I used Linq in the NHibernate 3.0 release and it was still pretty shaky. Is the 3.2 release improved to the extent it could be relied upon for most (90%) of queries? Or are developers likely to be pulling their hair out and dropping back to ICriteria/HQL/QueryOver pretty regularly?

Could ask this in the NH groups as well, but I think this group is a step removed and I might get a better answer.

Craig.


--
You received this message because you are subscribed to the Google Groups "S#arp Architecture" group.
To post to this group, send email to sharp-arc...@googlegroups.com.
To unsubscribe from this group, send email to sharp-architect...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sharp-architecture?hl=en.


Erno Newman

unread,
Nov 14, 2011, 12:14:03 PM11/14/11
to sharp-arc...@googlegroups.com
I haven't had a chance to fully look at it yet, life got in the way I'm afraid.

I am however half-way through the second blog post and it does look very promising to me, exactly what I was looking for when I started looking at S#arp Arch.

I did have one minor issue though. I have the ASP.NET MVC 4 preview installed on my PC and there seems to be a problem with the Dependency Resolver in MVC4 so I couldn't get the sample to run intitially. The fix was of course simply, just specify that the project should specifically use MVC3 and everything was fine. I wasn't able to confirm that they problem was indeed with MVC by testing it on a second machine so I didn't want to suggest that maybe this should be fixed in the interim until MS fixes whatever the problem with MVC4 is.

-Erno

Billy

unread,
Nov 14, 2011, 4:47:42 PM11/14/11
to S#arp Architecture
Hi Craig,

With NH 3.2, I've had very little need (yet) for resorting to
ICriteria on my current project work. With that said, I'm starting a
new accounting-related system soon which will have some very complex
querying. It'll be interesting to see how bomber the LINQ
capabilities are.

But even if the 80%/20% rule applies to LINQ/ICriteria, it's still a
big code saver.

Billy McCafferty


On Nov 13, 4:32 pm, Craig van Nieuwkerk <crai...@gmail.com> wrote:
> Have had a look at this and it looks fantastic, just how I would expect
> S#arp Arch to work. One question, it heavily promotes Linq as the method of
> writing queries. I used Linq in the NHibernate 3.0 release and it was still
> pretty shaky. Is the 3.2 release improved to the extent it could be relied
> upon for most (90%) of queries? Or are developers likely to be pulling
> their hair out and dropping back to ICriteria/HQL/QueryOver
> pretty regularly?
>
> Could ask this in the NH groups as well, but I think this group is a step
> removed and I might get a better answer.
>
> Craig.
>
>
>
>
>
>
>
> On Sun, Nov 13, 2011 at 6:26 AM, Billy <wmccaffe...@gmail.com> wrote:
> > I would be very interested in getting feedback from the group, for
> > better or worse, concerning the release of S#arp Lite:
>
> > *
> >http://devlicio.us/blogs/billy_mccafferty/archive/2011/10/26/s-arp-li...
> > *
> >http://devlicio.us/blogs/billy_mccafferty/archive/2011/11/11/s-arp-li...

Billy

unread,
Nov 14, 2011, 4:57:02 PM11/14/11
to S#arp Architecture
Erno,

I saw your branch to address this at https://github.com/ernonewman/Sharp-Lite
...thanks for making this available. On a related note, it kills me
that they introduced DependencyResolver at all (which requires a
dependency to the MVC DLL) vs. using the stand-alone
CommonServiceLocator which introduces nothing web-specific at all.
I've seen the arguments for and against this, but it seems like a step
backwards to me.

I need to take some time to check out the MVC 4 preview...I spent a
lot of time trying to keep up with previous previews, which was a
major headache at times (when using them on real project work). So
I'll probably wait for a beta to give a whirl.

Thanks again for the branch for those interested in using S#arp Lite
with MVC 4.

Billy McCafferty


On Nov 14, 10:14 am, Erno Newman <ernonew...@gmail.com> wrote:
> I haven't had a chance to fully look at it yet, life got in the way I'm
> afraid.
>
> I am however half-way through the second blog post and it does look very
> promising to me, exactly what I was looking for when I started looking at
> S#arp Arch.
>
> I did have one minor issue though. I have the ASP.NET MVC 4 preview
> installed on my PC and there seems to be a problem with the Dependency
> Resolver in MVC4 so I couldn't get the sample to run intitially. The fix
> was of course simply, just specify that the project should specifically use
> MVC3 and everything was fine. I wasn't able to confirm that they problem
> was indeed with MVC by testing it on a second machine so I didn't want to
> suggest that maybe this should be fixed in the interim until MS fixes
> whatever the problem with MVC4 is.
>
> -Erno
>
> On 13 November 2011 23:32, Craig van Nieuwkerk <crai...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Have had a look at this and it looks fantastic, just how I would expect
> > S#arp Arch to work. One question, it heavily promotes Linq as the method of
> > writing queries. I used Linq in the NHibernate 3.0 release and it was still
> > pretty shaky. Is the 3.2 release improved to the extent it could be relied
> > upon for most (90%) of queries? Or are developers likely to be pulling
> > their hair out and dropping back to ICriteria/HQL/QueryOver
> > pretty regularly?
>
> > Could ask this in the NH groups as well, but I think this group is a step
> > removed and I might get a better answer.
>
> > Craig.
>
> > On Sun, Nov 13, 2011 at 6:26 AM, Billy <wmccaffe...@gmail.com> wrote:
>
> >> I would be very interested in getting feedback from the group, for
> >> better or worse, concerning the release of S#arp Lite:
>
> >> *
> >>http://devlicio.us/blogs/billy_mccafferty/archive/2011/10/26/s-arp-li...
> >> *
> >>http://devlicio.us/blogs/billy_mccafferty/archive/2011/11/11/s-arp-li...

Craig van Nieuwkerk

unread,
Nov 14, 2011, 5:14:18 PM11/14/11
to sharp-arc...@googlegroups.com
Thanks Billy.

I will upgrade my system from NH 3 to 3.2 soon as I know a lot of Linq issues were fixed and hopefully it all goes well. 

Erno Newman

unread,
Nov 15, 2011, 8:46:55 AM11/15/11
to sharp-arc...@googlegroups.com
Hi Billy.

I agree with you that trying to keep up with the preview releases is a bit of pain so I didn't really fix the problem with MVC4. All I have done for now is force the example app to run using V3 of System.Web.Mvc to avoid any problems if you have the MVC4 preview installed.

I found some time to have a quick test at work and this does only seem to be a problem when the MVC4 preview is installed.

Perhaps you can just add a note or a "Known issues" section on the readme that tells people if you have the MVC4 preview installed and you run into problems then you should change the reference to  System.Web.Mvc  in the MyStore.Init & MyStore.Web to be for a specific version.

Erno
Reply all
Reply to author
Forward
0 new messages