Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A database challenge
Message
De
26/02/2008 05:23:27
 
 
À
25/02/2008 16:33:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01295541
Message ID:
01296362
Vues:
17
Kevin
>One other point - generating SQL code inside of the application really hurts the chance of reusability in other applications hitting the same database.
>By placing the code in a stored proc, the level of difficulty in exposing this as an API to multiple applications does down.

Any layered approach should minimze the hurt<g>. The ease of testing you posted elsewhere on is for me a less of an issue as dynamic environments are easier testbeds.

For me this "challenge" resulted in the following tick points:

  • MS-Sql in this task was not "better" as much as another thread hinted at
  • Using enhancements of SQL makes sense from a coding difficulty POV
  • coding such enhancements mean at least partial lock-in, so one good approach to minimize damage would be to isolate such usage.
  • While not an arguement against SP per se, the above point is a strong argument in favor of either code generation or generated SP's.

    my 0.02 EUR

    thomas
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform