"Ralph" <(E-Mail Removed)> wrote in
news:C2CDDA62-9863-4CE2-99C6-(E-Mail Removed):
> I'm looking at some code that uses the asp:LinqDataSource control for
> binding data to gridviews.
> Does anyone know of a site Someone's blog or something like that that
> compares the pros and cons of using asp:LinqDataSource
> as opposed to having data access in a data layer and simply binding to
> it. I never liked any of the aspdatasource controls,
> but I'd like some good evidence to show either way whether the data
> controls should be used or not.
> I admit they seem to make development move a little quicker,
> however I find that you lose a lot of control by using them.
I am not that fond of the DataSource controls overall. They constrict
you to a very tight box. In the cases where someone fits within that
box, they are nice, as you can drag and drop your entire application.
Outside of that box, you end up kludging way to much of your application
to fit the DataSource control.
If you are already tiering your applications, you will find the drag and
drop reduces the scalability of your applications and greatly reduces
the flexibility (extensibility).
I don't know of a site with the pros and cons. The major Pro I can see
is RAD (Rapid Application Development). But since I am adverse to the
idea of tightly coupled applications, the RAD will almost never outweigh
flexibility of coding an application that is properly tiered.
Peace and Grace,
Greg
--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************