Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
X# examples - Hello world
Message
From
21/10/2019 18:06:31
 
 
To
20/10/2019 20:05:17
General information
Forum:
Visual FoxPro
Category:
VFP Compiler for .NET
Miscellaneous
Thread ID:
01671443
Message ID:
01671612
Views:
128
>Well no, not really, however X# also have an OOP dbf interface called DbServer, that encapsulates DBF/SQL[Connection|Select|Exec|Statement] etc commands in a class:
>
>Similarly there are also the same features in the SQL classes...
>
>So in conclusion, yes the aim is 100% VFP support, but one also need to look at "new" features provided by the language to move forward and have old dogs learn new tricks of the trade... :-) All I tried to highlight with the above, one can code in X# to remove ambiguity in code without having to wonder if it is a local "m." or M-> or is it actually Person->FieldName or Person.FieldName etc.

On the embolded: I had come to similar conclusion, hence my searches on Clipper / VO / Harbour / xHarbour / Vulcan.Net ( / xBase++ excluded, I had found their ideas interesting, but they still have not delivered).

On the tech side bullet points were RDDs, Forcing xBase-Access onto Servers, DBServer you explained and "SQL Classes". RDD - while opening some risks - clearly is an advantage vfp does not have. My guess is 80% benefit, 10% risk, 10% depending on the task at hand.
Forcing xBase onto Servers does have great benefits over remote tables - SMB2/oplock problems a thing of the past, security, most of the time backup, replication and other goodies. OTOH this translates into chatty usage of the data layer ("gimme next record"), where I often preach "chunky, not chatty" when crossing layer boundries. While always good to have more options, for me I see only uses in edge cases, server also on local machine or highspeed LAN, much existing code and tables going over 2GB.

On DBServer I now have an idea - thx. Any paper spelling out best usage, existing variations with pro/con, possible enhancements ?
What and where are those "SQL classes"?

On the vfp side I know there are lots of articles on vfp and bordering topics - I know I will look at West-Wind for Internet and Dotnet related stuff, Doug, Tamar and Rick have their session notes on the web, I have read about 80% of the vfp books - and there are quite a few above the "How To"-Level giving you mostly screenshots insteas of text.

Have not found such things for your side of xBase - one well organized site was

https://vivaclipper.wordpress.com/2013/07/25/c5dg-2-rdd-architecture/

but nothing on the best practices resulting from technical background / for the "special xBase" sauce of the Clipper heritage. (I am on p.300 odd on xSharp PDF and part 5 of a small series you know better than me...)

Any further pointers what to read (besides source...) ?

regards
thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform