Perl is excellent for parsing data.

Java will also work well. You may want to
chop the file up into chunks and process
each chunk so that you are not processing
an entire 400 megabyte file at once.

The C++ CFX API is not really that difficult
and is documented fairly well. I have a lot
of experience with C so I am probably a bit
biased being used to C API documentation.

String processing in C takes longer to actually
create, as would any C program, but can be the
most efficient when written properly. Given
the extreme size of the log files whatever you
do it may not need to use the CFX API.

Java, the syntax of the language, is easy enough
to master. You can at least get crude procedural
programs working in hardly no time. Getting the
hang of Object Oriented programming is another
matter. Coming from a straight ColdFusion
background it will be a complete retraining of
your thought process. It is not impossible or
really that difficult, it does however take
time and practice.

C IMO is much easier to learn than Java. C is a
clean and straightforward language. C++ is another
story. C has quite a few hidden gotchas that
can make it prohibitive and undesirable, Java
solves most of the failings of C, such as dealing
with memory allocation etc.

Given the emergence of Java, it is probably most
wise to invest time in Java. I like C and am glad
it was one of the first languages I learned, but
whatever works. Just remember to find the tools
that will help you solve your problems the best :)


Jeremy Allen
elliptIQ Inc.
--
http://www.neighborware.com
America's Leading Community Network Software

>-----Original Message-----
>From: Jon Hall [mailto:[EMAIL PROTECTED]]
>Sent: Monday, September 17, 2001 5:26 PM
>To: CF-Talk
>Subject: Re: Want to make a CFX tag but have only CF language
>expereience
>
>
>CFX programming is done in either Java or C++ (others?). Java is by far the
>easier to learn though. I cant really speak for C, but the process for
>interfacing with CF via the Java CFX api is prettty simple as long as you
>understand Java. I dont know if I have formal programming experience, but I
>picked up enough Java to do what you want just hitting the books at night
>and on the weekends for 3 or 4 months.
>However text parsing is such a common task that there are many tools out
>there that could help. SQL Server's BCP might do the trick, then you could
>play with the data via TSQL. Access has some kind of text import capability
>too. Depending on your platform (unix/win) a shell script could do
>this too.
>Even Studio's VTML engine supports the necessary functions (i'm not
>suggesting it though)... :)
>
>jon
>----- Original Message -----
>From: "Robert Everland" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, September 17, 2001 4:35 PM
>Subject: Want to make a CFX tag but have only CF language expereience
>
>
>> Ok I was finally given a chore that I can not accomplish with CF. I
>> have to through a whole month of proxy logs that are about 400mb total
>> looking up specfic users and the entries they made based on
>certain sites.
>> It involves a lot of looping and text file reading. It just messes up all
>of
>> CF when I try it. Can anyone recomend a good starting place where I can
>pick
>> up programming a CFX fairly simple. Are the included documentation a good
>> start for someone with no formal programming expereience?
>>
>> Robert Everland III
>> Dixon Ticonderoga
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to