Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Framework for .NET
Message
 
 
À
23/03/2007 18:07:20
Information générale
Forum:
ASP.NET
Catégorie:
Migration
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01207607
Message ID:
01208150
Vues:
36
Bonnie,

>
>I know this was addressed to Einar, but I didn't think you'd mind my $.02 as well. <g>
>
>One thing that we did on the UI side was to start out by sub-classing all the "main" control objects into one class library file ... you know, things like TextBox, ComboBox, CheckBox, etc. At first these classes had no extra code in them. As we "played" around and experimented with how to do things (this was back in the early days of 2002), we discovered either missing functionality that we put into our classes or functionality that would not be considered missing, but perhaps a different way of doing things than the Microsoft way and we needed to add that functionality to our classes as well.
>
>I'm not saying that this is a good or a bad way to create your own Framework, but this is the way we started out many years ago.
>

Thank you for your input. I will follow your road (look at what it brought you: all the fame and fortunes <g>). Seriously, I am "listening".

Here is what I decided to do. I will create a "Hello World" framework of my own. (Of course, the long term plan is to expand it, make it commercial and put MM and StrataFrame out of business <g> and become as rich as famous as you are <g>).

Here is how I envision my "Hello World" framework. I will describe it from how the imaginary user would "see" the application based on this framework.

User will enter something (say, Customer ID or Location City, State) click on a button and all rows matching the selection will be displayed on the form. User will be able to navigate these rows and make changes. Once she makes a change and clicks on the Save button, the information is saved back to the DB.

So to accomplish this task I will need DA object - some class that will retrieve rows based on the user criteria and put this rows into a typed dataset, right?

Then the typed dataset is passed to the BO, right?

Then form controls are bound to this dataset, right?

Is this somewhat a correct scenario of how the 3-tier app would work?

Thank you all for any input or suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform