Peter:
Before I published first response, I did double check the Mach-II web
site to make sure I had the latest example. If you know of an update,
please post URL.
Actually it does not really matter, people have their bias for style,
and it is a battle in a lost war. CFSQLTool generates 100% correct
CF, and just because it does not fit the style some people like, they
feel obligated to trash the tool.
Others:
CFSQLTool has many more features than generating CF. It also
generates a lot of SQL. It has a feature no other SQL tool had at
the time I published my work. It does meta-data analysis to predict
correct SQL for Insert, Delete and Update statements. This feature
alone will save a programmer hours of analysis.
It does this feature for both stored procedures and dynamic SQL. No
other tool supports scope_identity to be automatically generated for
an insert.
Somebody is going to blast me because perhaps someone else has these
features. But at the time I published no major SQL tool, ERwin,
Embarcadero, or Enterprise Manager had this feature.
I checked many of the CF tools as well.
No other tool allows designing a CRUD suite at one time. The
switch-panel interface reduces SQL code generation to simple check
boxes. I added the idea of form design and list design as part of
the program design that can be done while designing the CRUD. It is
all in the same switch panel.
When the leaders in this community think is it necessary to ridicule
the efforts of one because it disagrees with their approach, it
discourages the efforts of others and the exploration of alternatives.
I have been living computers since 1968, I remember the fist day. the
first question in the first computer class the instructor asking the
class. "How high can you count on your fingers?" Then he said, "In
this class you will learn to count." Every day in the computer
business I learn to count ideas.
I am going to close this debate at least from my side.
Thanks
Joseph
At 04:41 PM 10/30/2005, you wrote:
Joseph Flanigan wrote:
<cfcomponent hint="RouletteTable" extends="MachII.framework.Listener">
<cfset _player = "" />
<cfset _bet = CreateObject( 'component', 'Roulette.model.Bet' ) />
<cfset _history = CreateObject( 'component',
'Roulette.model.History' ) />
<cfset _history.init() />
That is from a sample application called Roulette that was written a
couple of years ago. Again, the term of sample application is
defines exactly what it is - a sample application to view at your own risk.
Your example(s) is/are not from the official *core* framework code
as I requested.
FYI, I did take a peek in the updated version of the Roulette
application for the 1.1.0 release and did not see any variables
names that start with underscores. The original version pre-dates
my involvement with Mach-II and therefore I do not have much
background information on the original development. I do not recall
discussing changing the variable names that start with underscores
per se for the updated version. However, Dave Ross did the
update/cleanup for 1.1.0 and I can understand why this was changed.
Everyone knows that applications go through a process of evolution -
this includes Mach-II and any old sample applications. I could
write an application that uses or does not use Mach-II and use
underscores to start my variable names - still doesn't mean it is
best practice. To quote from old sample applications is like trying
to implement locking techniques on MX7 from CF5 days - things just
plain evolve.
At this point, I would say that we should just agree to disagree and
leave it at that.
--
Peter J. Farrell :: Maestro Publishing
http://blog.maestropublishing.com
Rooibos Generator - Version 2.1
Create boilerplate beans and transfer objects for ColdFusion for free!
http://rooibos.maestropublishing.com/
Member Team Mach-II - It's coming...we're in a code freeze!
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the
subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by
CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
-----------------------------------------------------------------------
http://www.switch-box.org/CFSQLTool/Download/
Switch_box MediaFirm, Inc.
www.Switch-box.org Loveland, CO USA
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]