Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Order by with local view
Message
De
24/11/2021 14:06:20
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
23/11/2021 16:02:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682763
Message ID:
01682822
Vues:
53
>> It's that views are too limiting, that's all. They had their years, and used them well, IMO.

Fair enough, no point rehashing old debates... he says, before reminiscing that it was the RV that caused me to go VFP when incentivized to take a different direction in 1995. RV's automatic/free SQL Injection-proof parameterized queries were fabulous, as was multi-table updateable Views as long as you're careful. I agree the fixed SELECT, parameters and ORDER BY is limiting compared to SPT or even CursorAdaptor, but technically RV is just a wrapper around SPT so you can turn any SPT cursor into a pseudo-RV easily enough.

Anecdote: it's useful to be able to email or otherwise share encrypted database files for audit and other purposes, with the front end needing to hook into the portable database (rather than usual backend database) without an extra development path or a big installation rigmarole. In the end, Android's SQLLite was closest, though still needed an oddball ODBC driver; Microsoft's portable offerings were insecure and still are AFAIK. Anyway, we figured out how to create encrypted files that recreate a set of cursors (not dbfs) at the client and then create LVs against the cursors to mimic the backend. Mostly memory-resident, so reasonably secure- and no extra installation needed.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform