Geeks With Blogs

News
www.flickr.com
This is a Flickr badge showing public photos from hammett1. Make your own badge here.

hamilton *hammett* verissimo Another special person... just like everyone else

Comment posted on Introducting Castle Part II:

I have to agree with you on this, Hamilton - even when I first started looking at Rails (a few months ago) and went, "oh boy, Castle's like Rails but on .NET... but what's this NVelocity thing?"... I was never worried about it being hard to use. If anything, it seems too simple, too procedural after working with server controls for years and years.

For me, it's taken a couple of months working with ERB in Rails to really appreciate its simplicity; I'd have to suspect that 98% of the time, something like NVelocity is more than sufficient for rendering needs. Looking back on it, I see just how awful a lot of my old server/user controls were in terms of separation of concerns, keeping to MVC, etc. Approaching an interface problem with nothing but encapsulation, encapsulation, encapsulation in my toolkit tends to inspire behemoth controls that only work where they were designed, or else I would spend half my time trying to predict how to make a 'reusable' control instead of getting the job done. I still have DataGrid derivatives which were designed for a particular type of data, automatically varying parameters on stored procedure calls to accomplish sorting, paging, editing, and so forth. Not that it's an inherently bad thing (when everything works right) - it can be really convenient - but wow; that's a model, view and controller all built into one. When encapsulating objects to make my code neater just encapsulates it into many-long-methods-per-class spaghetti controls, something's not working right.

Don't get me wrong - I've read comments from a lot of other people who don't fall prey to 'reuseaholism' like I do, so I'm not trying to generalize this to everyone. But when I remember my first days in .NET, when I just used Repeaters instead of DataGrids (for full customization) and Repeaters instead of DataLists (e.g. navigation menus)... I have to wonder if maybe it's all I need for 98% of the pages I create? Anyway, all that I know for sure is that NVelocity is a heck of a lot easier than crafting server controls for every rendering need. - Though I must admit you could argue they're too easy, they're too underpowered, to the point of inefficiency and procedural/spaghetti code when you're nesting loops within loops with conditions and conditions up the wazoo. But, hey, then you just use a WebForms page for those nasty bits, right?

Posted on Monday, March 13, 2006 2:40 PM Castle | Back to top


Comments on this post: Interesting comment on MonoRail usage of NVelocity

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
We focus on bring the best dell inspiron 1200 battery sales to our customers and strong desire http://www.batteryfast.com/dell/inspiron-1200.htm our customers can buy their satisfaction dell inspiron 1200 laptop battery. We are committed to providing customers with high-quality, high-capacity and low price inspiron 1200 laptop batteries.
Left by laptop battteries on Sep 02, 2008 5:37 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
the most convenient and cheap replacement battery online shop in uk. We specialize in http://www.batteryfast.com laptop batteries,laptop AC adapters. All our products are brand new, with the excellent service from our customer service team.
Left by laptop battery on Sep 16, 2008 12:13 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
I didn't know that we can use it for education as well.
Left by tiffany on Aug 01, 2009 8:25 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
good. looking forward your another articles.
web tasarım izmir
Left by web tasarım on Apr 18, 2010 4:47 PM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
It was very good idea! Keep bloging Thank you
Left by Firma Rehberi on Jun 04, 2010 4:59 AM

# Dell Servis, Dell Servisi, Dell Servisleri, Dell Yetkili Servis, Dell Teknik Servis
Requesting Gravatar...
Information is very useful and helpful.
Thanks for sharing.
Left by dell destek on Sep 24, 2010 7:29 AM

# lahmacun fırın ustası, pide fırını, simit fırnı, taş fırını ustası, kara fırın ustası, simit fırını ustası
Requesting Gravatar...
Fine was a work and full-time. Thank you.
Left by lahmacun firini on Oct 07, 2010 5:03 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
you have interesting articles
Left by bir milyon canlı para başvuru on Oct 29, 2010 11:14 PM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
very nice
Left by darkobit on Dec 05, 2010 6:01 PM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
HOBAAAAA :)))

öğretmen kemal
Left by öğretmen kemal on Dec 17, 2010 11:03 AM

# Welcome to my shoe store! Remember when I was young I am very fond of playing basketball, but at that time even did not have mon
Requesting Gravatar...
keep up!
Left by wholesale air force one on Apr 17, 2011 12:16 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
Thank you for sharing Bilglendirme ederim.Konular and very successful.
Left by kutu menfez on Apr 27, 2011 4:15 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
Resources like the one you mentioned here will be very useful to me!
Left by coach factory outlet store onlin on May 26, 2011 4:04 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
shares is very good, wish the continuity....
Left by tül perde on Jul 21, 2011 1:27 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
It’s very great article. I would like to appreciate your work and would like to tell it to my friends.Thanks!OK
Left by Cheap Burberry Bags on Aug 25, 2011 3:29 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
Great article and your blog template is so cool. Is this template free or not? If so, Where could i download this template? if not, how much does it cost? Thanks a lot!
Left by Tory Burch sale on Aug 28, 2011 10:06 PM

# Replica Tyron Smith Jersey Blue
Requesting Gravatar...
<P>Alex Smith is awful, and I'm sure 49ers fans would love to see rookie Colin Kaepernick(notes) take over as the Premier Tyron Smith Jersey White starter as quickly as possible.</P>
Left by Cowboys Tyron Smith Replica Jers on Sep 03, 2011 1:23 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
We are a professional trading company that specializes in high quality ugg boots.Mentioned UGG Boots Goedkope UGGS Clearance,what your first impression in your minds?It does not belong to the luxury category.Of course,it will not belong to the consumables category.Our UGG clearance is the necessities of life in a severe winter.
Left by aini01 on Oct 18, 2011 2:08 AM

# re: Interesting comment on MonoRail usage of NVelocity
Requesting Gravatar...
shares, shares enjoyed a very good site

I love the wonder
Left by njoy on Jan 27, 2012 9:14 AM

Your comment:
 (will show your gravatar)


Copyright © hamilton verissimo | Powered by: GeeksWithBlogs.net