Reputation: 61242
Is anyone out there still using DataFlex? If so, what are you favorite tips and tricks for this venerable 4GL?
Upvotes: 1
Views: 3862
Reputation: 485
long time no see!
Yes, DataFlex is still alive and well and being used by lots of people and organisations.
The current version is the "Visual" form (i.e. Widows GUI): Visual DataFlex (VDF) 14.1, although v15.0 is just about to release (I've been using alphas, betas and RCs for development for a few months now).
The character mode product (now v3.2) is still around as well, for DOS, Unix and Linux.
VDF now has good support for Web Applications, web services (since about v10), an Ajax library (which will come "in the box" with 15.0), CodeJock controls for nicer UI design, a development environment (VDF Studio) that has for some time (since v12.0) been so complete that I rarely step outside it any more (I even code my JavaScript in it, when doing that for VDF projects). It also comes with a free CMS called Electos (now itself in v4.0 with VDF 15.0).
It has connectivity kits in the box for Pervasive, MS SQL Server, DB2 and ODBC databases, with Oracle, MySQL and other drivers provided by Mertech Data Systems (Riaz Merchant's company: www.mertechdata.com).
You can download a free "Personal" edition (for non-commercial use) from here - it is a fully-featured product, but if you make money from it you are required to buy a kosher licence. Give it a whirl! ;-)
Good to hear from you again!
Mike
(Still fighting with the b4stard descendants of your thrice-damned DataSets!!! ;-) )
Upvotes: 3
Reputation: 13550
The new Data Access World Wide forums!
http://support.dataaccess.com/forums/
Upvotes: 4
Reputation: 5693
It all depends on the version of DF you're using, but here's a couple:
I've got loads more. But I'm just going to have to go and lie down. I can't believe someone asked a dataflex question.
clear orders
move const.complete to orders.status
find ge orders by index.2
repeat
if orders.status ne const.complete indicate finderr true
if (not(finderr)) begin
send doYourStuffHere
find gt orders by index.2
end
until (finderr)
Upvotes: 4
Reputation: 5936
My "working language" (i.e. what I am working on as an employed developer) is Visual Dataflex, currently on version 14.0. It's not the best language/environment available, but it certainly isn't the worst either.
My number 1 tip would be, to quote Steve McConnell's Code Complete: "Program into your language, not in it. Don't limit your programming thinking only to the concepts that are supported automatically by your language. The best programmers think of what they want to do, and then they assess how to accomplish their objectives with the programming tools at their disposal."
Upvotes: 2
Reputation: 61242
mixin inheritance was an excellent feature - the methods of any other class could be reused in your class; as long as you provided the properties that they needed to work, everything was fine = multiple inheritance (MI) without the 'diamond problem', name conflicts, and other MI issues
Upvotes: 0