Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP had LINQ back in 1995
Message
De
01/11/2009 00:56:51
 
 
À
31/10/2009 23:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01432190
Message ID:
01432550
Vues:
97
I think we are talking about different things here. As you know, in VFE we always worked with objectified data in the sense that a cursor was an object, including the fields.

I am talking about the data model itself. When Jim Booth gave his presentations in '95 or so explaining "objects" there would be talk of a "Customer object" etc but that was never explained as it related to normalized tabular data. We just did not organize our data as "objects" which by their nature were denormalized. That's what I believe is meant by the "impedance mismatch" and was certainly the drive behind ORM.

I don't see where objectifying data as I believe you are describing - and which I think is what I've been doing for ten years in VFP/VFE - addresses that issue at all.


>Hi Charles,
>
>if I have to create objects to operate against data, and that requires mapping, I have an impedance mismatch. It's conceptual only given an assumption: that objects are statically typed.
>
>In VFP, I assign a controlsource, and the typing of the fields is done for me, because the fields are not statically typed. This is taken a step farther in the VFP Compiler for .Net, where the cursor itself is entirely an object, including the fields. And there is no mapping required.
>
>The impedance mismatch is, then, conceptual, in the sense that the concept of a statically typed language creates the problem.
>
>Hank
>
>>>Hi Mike,
>>>
>>>indeed. If you read the MSDN overview on the Entity Framework, it talks about solving the "impedance mismatch" (their term) between data and objects. And the MVC framework is yet another attempt at the same thing. Just as Linq was. Just as ADO.Net was. VFP has no impedance mismatch, of course.
>>
>>I assume that is tongue in cheek as you know the "impedance mismatch" has nothing to with language but is rather a question of conceptual modeling. One of the first WTF's I encountered as OOP was explained with VFP 3.0 was that the "objects" that were being described did not map to the normalized relational database model we had grown up on. If that "impedance mismatch" was magically solved by our magic Fox I must have missed the memo <s>
>>
>>And I am sure you know enough about Linq to know it goes way beyond the idea of doing sql select statements against tables to get cursors.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform