Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why design patterns are easier in dynamic languages
Message
De
10/02/2008 15:22:30
 
 
À
10/02/2008 14:34:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01291156
Message ID:
01291247
Vues:
15
Sounds cool though I have to admit it will take me a bit to wrap my brain around picturing the implementation. I do get the idea of using XML to persits metadata though as we do that in VFE apps when we want to check metadata for a view into source control ( using Vault )

What your talking about in this Java framework seems to be a factory pattern for class instantiation, which is a familiar concept as well.


>The main app i'm working with know is a thick client Java app. All the meta data is done thru XML.
>
>There's a very popular framework in Java ( a port was done to .net) called Spring. It has the concept of injection. An xml file at the lower level indicates which class to load in a given scenario. The top most file will indicate which file to load at the lower level given a particular code.
>
>XML files are also used to describe columns and their properties for a given table (grid).
>
>>I definitely don't want to get in the middle of a pie throwing contest between you and Walter <g> ( I have the good sense never to try to punch above my weight class ) but I am interested in the idea of meta-data. I am a .net novice but love SQL as a data store and use it exclusively in my VFP apps. (thanks to the Feltmans - pretty sure I'd find it tedious without the strength of the framework) Having DBCX available on the VFP side is very powerful.
>>
>>Anyway, I am very used to having a metadata store and data-driving a lot of stuff in VFP and have been looking for places in .Net where that would be appropriate. i realize classes are instantiated differently so some of factory patterns that are used in VFE might not be relevant. I use Strataframe in .NET and there is an ongoing discussion there, often fueled by Fox people, about encouraging Microfour to expand their Data Deployment Toolkit ( which uses smo to deploy and synch sql schemas ) to be more of a general metadata store. They already implement something like msgsvc as part of the framework.
>>
>>I realize this is kind of an amorphous question, but any thoughts you have ( or references to things you or others may have written on the subject ) about metadata in .Net would be most welcome.
>>
>>( also was rereading your excellent Bakers Dozen on SQL 2005 yesterday and think about the usefulness of OUTPUT with newsequentialid but I'll save that for a seperate thread ... )
>>
>>
>>>Yawn.
>>>
>>>Walter, last year you kept criticizing my statement about how stored procs can be flexibile - NULL handling was part of your argument. Well, I demonstrated to everyone how you can use sprocs for updates that handle NULLs as well as "change-tracking". I know that a few people wound up using what I posted.
>>>
>>>
>>>I have zero interest in debating someone who states the following:
>>>
>>>I'm convinced we should be so arrogant in proclaiming that we are one of the few who knows how to handle data. From what I've seen in the .NET world (but also the java world) and also from the .NET experts here, there really is a lack of realism what the power of data is and how data should be done.
>>>
>>>Some of your notions, specifically embedded meta-data in EXEs, are more hacked-out solutions, and hardly scalable (not only in the obvious sense, but also for the size of the development teamm). I really get the feeling from many of your posts that you often work on very small teams, or teams of one.
>>>
>>>Now...if someone else wants to jump in with a relevant example that can be realistically compared, I'll consider a comparison.


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