in

ASP.NET Weblogs

Dave Burke - A freelance .NET Developer specializing in Online Communities

A freelance .NET Developer

Being abstact in the UI

Related to my UI<-->biz<-->data kick, I'm seeing a new simplicity in my code, primarily in the UI layer.  I should find a better term, but I will use the term "abstraction" to describe the following statement:

oUBizObj.DoSomething("thisstring", MethodReturnsAString(string) , id, enum.datatype))

It dynamically executes a SQL query which updates a field (thisstring) with a value (MethodReturnsAString(string)) for a given record (id), with the sql statement details built from the enum.datatype value. 

My point is that with a more sophisticated data layer backend, statements used frequently like this one which perform data processes can be entered easily and provide no indication whatsoever to what is actually happening in the backend.  To me, that is abstract.  And quite cool.

Published Jun 25 2003, 01:05 AM by daveburke
Filed under:

Comments

 

julie said:

Dave-
check out the Data Access application block and some of the other app blocks here:

http://www.microsoft.com/resources/practices/Audiences.asp#dev
June 25, 2003 1:38 AM
 

Dave Burke said:

Now that's a whole bunch of abstracts! :-)

Thanks for the reminder.
June 25, 2003 8:43 AM

Leave a Comment

(required)  
(optional)
(required)  
Add