Scott Wojan

DotRant BLOG
posts - 18, comments - 63, trackbacks - 5

My Links

News

Archives

Post Categories

Image Galleries

BLINQ? You’re kidding me right?

So I'm signed up to receive ".NET Insight", the newsletter from the guys over at FTPOnline, and I get a recent one with “Generate Data-Based Web Sites With Blinq” as a news title.  My first thought is “greeeat... another blahLINQ technology to add to all the xLINQ confusion....”.  Hesitantly, I click the link and begin to read about BLINQ... blah, blah, blah... “Blinq.exe is a deceptively simple command-line tool—similar to SqlMetal.exe for LINQ to SQL—that auto-generates a complete, fully navigable Web site for viewing, editing, adding, or deleting data in a SQL Server database.”... ERRRRRRT!!! (insert deer in headlights look here)... In a haze I kind of make out “autogenerate...” “25-page ASP.NET Web site...” “NorthWind...”.  I finally come to and continue reading to the next page when I hit “Each table generates a TableName.aspx page with a paged GridView control, TableNameDetails.aspx page with a DetailsView control, and a NewTableName.aspx page with a DetailsView that defaults to Insert mode. Users navigate the site with SiteMap buttons and breadcrumbs, as well as HyperLinkField objects in GridView and DetailsView controls.”.  Next thing I know, I'm waking up on the floor and my dog is licking my face.  I gracefully get back into my chair and resume reading the article and yes, the product/tool truly is as horrible as it reads.

 

Why does Microsoft do this to people?  Does anyone remember Microsoft Access?  Didn't everyone learn that auto-generated apps from tables are inflexible and hard to maintain?  Even the most simple database designs have numerous intersection tables and this thing is going to create 3 screens plus all the plumbing for each of those?  What happens if I have a database schema, generate the whole app using this tool, tweak it for look and feel, remove the useless stuff like intersection table screens and then... gasp... I have to make a schema change like add a new table or pull a column out into a lookup table.  What then?  I have to regenerate the whole thing again, tweak the look and feel, and delete all the useless stuff again?  How is that productive?  How is this helping anyone Microsoft?   The people that would even use a product/tool like this are exactly the ones that shouldn't be using a tool like this it's going to get abused, get them in trouble and then they are going to have to call in consultants to help them redo the whole thing properly...

.... 

....

So as I was saying... this new BLINQ tool sounds like the real deal business people, you don't need developers, you can do it all yourself!  Go BLINQ!

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Wednesday, June 28, 2006 9:58 PM | Filed Under [ Rants ]

Feedback

Gravatar

# re: BLINQ? You’re kidding me right?

BLINQ uses standard ASP.NET server controls for UI (GridView, DetailsView, etc) and uses an ObjectDataSource to bind against a DLINQ data layer.

What this means is you can use the full page and data designers within VS to tweak UI, customize layouts, add/remove pages, insert validation code, and change schemas.

The goal is to enable you to quickly provide default UI for common scenarios and get you going in the right direction. LINQ enables the data code to be very tight and flexible (far more so than ADO.NET today).

I'd recommend checking out this post here to learn more about LINQ/DLINQ and its uses with ASP.NET: http://weblogs.asp.net/scottgu/archive/2006/06/04/Using-DLINQ-with-ASP.NET-_2800_Part-2-of-my-LINQ-series_2900_.aspx

Hope this helps,

Scott
6/28/2006 6:23 PM | scottgu
Gravatar

# re: BLINQ? You’re kidding me right?

Scott,

I appreciate the fact that you can edit all of it in VS but my point is what happens when a scenario like this happens: It’s decided that two tables each need to have a column pulled out and put into lookup tables, you also notice that you inadvertently pluralized one of the table names and you need to make it singular to match the convention you used for the rest of your tables.

You just spent a week changing the look/feel, stripping out the unwanted stuff (like screens for intersection tables) so now what? Are you going to re-generate the screens and spend the next week putting your changes in? Is this a cycle you really want to get into?

Code generation is ok (insert gagging sound here), but once you touch the code that’s been generated you cannot regenerate the code or you will loose your changes… or worse, have to spend time retrofitting work that you’ve already done into the newly generated code.

Microsoft does stuff like this for one purpose: Marketing. It’s really neat to be able to presentations and say “All you have to do is point and click, and then your application will magically appear…” This type of technology will inherently be abused. If you were around in the late 90s and saw Access proliferate in the business world, you know what I’m talking about.
6/29/2006 4:35 AM | Scott Wojan
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: