This is a POC / WIP. I have been looking for a CF or Java solution to parse addresses.
What I have found so far that works best is a Python library.
The good thing is I came across a blog post by Mark Mandel RUNNING PYTHON ON COLDFUSION there is Jthon that allows you to run Python from Java & we all know you can run Java from CF.
Here is the cool thing! You can copy the code and paste it into cflive.net and run it!
This is a Proof Of Concept that an AJAX call from a page can create an image in a ColdFusion component, convert the image to base64 send it back to the calling page as JSON data and render the image from the base64 data.
UPDATE! This works in my code. I hope to be submitting more code in the next week.
Ohio Linux Fest has accepted my talk on a completely open source distribution of the CFML engine and editing tools on October 25th. Guess where I will be spending my birthday? Ohio!
Railux 4 is a 3 GB virtual machine, his smallest version Railux 3.3 was 335MB
I have been working on an open source Railo distribution that includes the Bluefish editor based on Tiny Core Linux VM that starts out at 12MB. After adding the JVM and Railo it is about 250 MB, I hope to get it smaller.
The main reason I am posting this is I did not see any mentions of Railux at CFBloggers.org and I wanted to make sure that it was a resource that is available to the community.
I have submitted a talk to Ohio Linux Fest on the Tiny Core project & I will post updates to this page.
Ok, doing some hired gun work. The client wants the record set returned from a query to have only valid e-mails.
The gist includes fully working CFML that demonstrates this example.
The core of this is the isValid function. In this case it is used to validate an e-mail address
isValid('email', email) email, the second one, is a filed in the table.
The code also adds a column to the record set with QueryAddColumn and then does a query of queries to get only valid e-mail addresses
Some good comments, if you use underscore or mySQL...
Thanks Russ & Timothy Leach
SELECT `email`
FROM `users`
WHERE `email`
REGEXP '[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}'
GROUP BY `email`
SQL Server would have to be something like:
WHERE email like '[a-z,0-9,_,-]%@[a-z,0-9,_,-]%.[a-z][a-z]%'
I did some slight tweaks on this jQuery that does some password masking, it now allows for text to be pasted in and handles deletes across all browsers
When I was Software Development Manager at Cornell Medical Center in NYC. My predecessor set up Buildix which included CruiseControl, Subversion, Trac, Apache Ant, Apache Tomcat, Apache HTTP Server. We were leveraging Ant to run Selenium RC to test and deploy the code to the test server. It had some integration issues, but all in all a great product.
What got me looking is a call to do a side project. They had no project management tools. I was looking for a VM with Trac & Subversion as a minimum.
It is designed for java development, but that does not mean it can't be used for ColdFusion.
It is CF10 ready with Apache Tomcat!
Under the hood are a boat load of packages!
Trac
Sonar
ratproxy
Subversion
Hudson
Apache Ant
Apache Maven
Sonatype Nexus
JUnit
Cobertura
Selenium Remote Control
Checkstyle
FindBugs
PMD
JDepend
Apache HTTP Server
Apache Tomcat
MySQL Server
Sun Java Development Kit
Sun Java EE 5
Ubuntu Server Edition JeOS
Please leave a comment if you have ideas on haw to modify the image to be more CF friendly!