![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
From this list of keys, it takes a lot of processing to extract the data needed to populate your hypothetical web page. |
#3
| ||||||
| ||||||
|
|
It's interesting that you say "..while we can get a lot of different result sets in an SQL query, we cannot get a single web page of data if said data includes lists." You go on to say "The inability to get a view that is not normalized is a failure of SQL-DBMS tools" Whether or not I agree with the above sentiment is not the point of my reply. Instead, I wonder if you are implying that MV databases are any better in this regard? |
|
I would say they are not. I am not currently aware of an MV implementation with a query processor capable of returning a result set at all. AFAIK, the only thing possible a MV query can return is a list of record keys. |
|
From this list of keys, it takes a lot of processing to extract the data needed to populate your hypothetical web page. |
|
Leaving MV out of it, I can't understand how you think that the inability of a database tool to provide you with all the information you need to populate your hypothetical UI via a single query is somehow inept. |
|
Where do you draw the line when it comes to complexity? |
|
At some point, a UI web page for example, will be sufficently complex that no data tool/query will be able to satisfy it with a single result set. |
#4
| |||
| |||
|
|
Did that clarify? --dawn |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Kevin Powick wrote: It's interesting that you say "..while we can get a lot of different result sets in an SQL query, we cannot get a single web page of data if said data includes lists." |
|
The question I'm asking is how you model data in the s/w development process for all sorts of purposes -- for UI's, web services or any other interface. Whether a screen view "comes from" a database is not the point -- the point is about what the model looks like. Can it be modeled using the RM (that's where I brought in SQL although I know that SQL is not exactly the RM). Did that clarify? --dawn |
#7
| |||
| |||
|
|
Kevin Powick wrote: It's interesting that you say "..while we can get a lot of different result sets in an SQL query, we cannot get a single web page of data if said data includes lists." ..... The question I'm asking is how you model data in the s/w development process for all sorts of purposes -- for UI's, web services or any other interface. Whether a screen view "comes from" a database is not the point -- the point is about what the model looks like. Can it be modeled using the RM (that's where I brought in SQL although I know that SQL is not exactly the RM). Did that clarify? --dawn I'm not sure where to put this or even if it's germane. Maybe my head is still swimming with .NET commentary. .NET components, especially with v2.0, have a datasource property to which you can assign any object which implements an appropriate interface. (In English: you can hook data to a lot of controls.) This isn't new by any means but the neat thing is the diversity of objects which qualift as a valid data source. You can create a SQL datareader, hook it to a control, then pass it a command and fill it. That same object can be the source for a listbox, grid, etc. Because .NET is so strictly data-typed, as is the RM, if you connect a SQL resultset to a grid, the grid automatically renders using appropriate controls - so a Boolean value will render as a checkbox, for example. Maybe this is the sort of thing you've been looking for? In addition, you can use XML (or Web Services returning XML) as the source of a grid with the same results. And you can specify a custom class as an ObjectDataSource, which means you can define a class any way you want, populate it any way you want, and at rendering time all of the properties are polled and properly rendered. Of course all auto handling can be overridden. Is this any closer to what you're looking for? HTH T |
![]() |
| Thread Tools | |
| Display Modes | |
| |