HOME
Andrew Schwabe's Blog : Java

My new articles on packt publishing

Packt Publishing asked me to write a bit about Railo. It took me forever due to being busy (as always), but here they are! Enjoy and share the love.

Introduction to Railo Open-Source CFML Engine:
http://www.packtpub.com/article/introduction-to-railo-open-source

Tutorial: Rendering web pages as PDF using Railo
http://www.packtpub.com/article/rendering-web-pages-pdf-using-railo-open-source


CF United 09 Presentation Files - Google App Engine and Flex

Ok folks, here are my preso files for my CF United 2009 talk on Google App Engine and Flex. Is this the final version? Sure. Until I change it. I shall resist doing that...

Here is the powerpoint presentation download: 294_Andrew_Schwabe_Google_App_Engine_Flex.ppt

Here is the full download (warning, this is big!) Contains all 4 google app engine java projects, all 4 flex projects and the powerpoint file. The download is big because of all the jar files. I will try to have a USB key with me so if you want a super fun time instant copy instead of downloading it, I should be able to do that.

Full download (94MB, zipped): CFun09_GAE_Files.zip

For those of you web surfers interested -- demo 4 project includes a fix for allowing Flex app using AMF to retrieve Google Account information (using ajax and a custom auto servlet) so your Flex apps can determine if you are logged in, and get your user identifier if you are logged in.

CF United Update: Google App Engine + Flex

My talk at CFUnited has changed a bit... Since the topic was chosen a while back, Google has released a Java developer environment and eclipse plugin for Google App Engine (GAE). Since Java is a whole lot closer to CFML than python is, I've updated all my code and presentation to focus on the Java application architecture, and how to connect it to Flex.

I've even got some tidbits on how to get CFML running on Google App Engine !

Be sure to come on out and learn about the exciting new "super scalable" web application system running on Google's free hosting infrastructure.

Flex 2 Boot Camp

I decided to attend a one-day bootcamp for Flex 2 in New York City which was piggy backed onto a RealWorld Java Conference.  Our instructors were Yakov Fain and Victor Rasputnis from www.faratasystems.com (they make some cool Flex add-ons you should check out).

It was a day of intensive brain crunching.  It seemed to me that it was definitely aimed at Java developers (how many CF developers know what ant is?) more than anything else.  A lot of the topics covered were already very familiar to me, including a lot of the Flex code itself -- at least until the second part of the day.  What was significant about the second part of the day was the software engineering insight as to how to approach flex apps over the "out of the box" approach Adobe (and formerly Macromedia) used to present. 

We covered topics such as compiling re-usable code into SWC files, logging and optimizing data traffic between your DB and Flex using ADF instead of slower verbose web services.  These were topics I haven't seen covered anywhere else.

Overall money well spent, though there were some clear holes in the offering as a whole.  We jumped into advanced topics pretty quickly; we only covered a few simple UI components; Mac problems.  Don't get me started on the Mac problems....  word to those out there:  Macs may me great for desktop publishing, but dont expect things to run smoothly when you are trying to develop enterprise class client-server apps on your Mac.  nuf sed.

The Good:

- Low cost (around $1000)
- No long hotel stays
- Good material (enterprise application architecture, modularized code, technique)
- Good foundation of when/how to use Flex for an app.
- Excellent coverage of ADF and communication with server side apps
- You walk away with working code on your laptop
The Bad:
- Don't expect all the dev software it to work on your Mac
(I use a PC -- with no problems i might add -- , so im not "talking" about myself here)
The Mac delays caused us to lose about an hour of instruction time -- which for a single day seminar really hurt.... (hey Yakov and Victor -- if you see this, maybe a discount is in order for future bootcamps?)
- Topics jumped from relatively simple to very advanced in the blink of an eye
- Not quite enough coverage of the UI components in Flex
- No coverage of "states" in Flex (pretty essential if you ask me)
- Not enough coverage of http and web service connections (since 90% of flex developers will use this exclusively over ADF/server side components)
Hope this is helpful.  Watch my blog for announcements of new exciting flex stuff I am building!

Aptana plugin for Eclipse

Hopefully a lot of you ColdFusion developers are using Eclipse now with the CFEclipse plugin.  Many developers dont know about the Aptana plugin however (http://www.aptana.com/).  This free plugin gives you all the stuff that you miss from DreamWeaver or Homesite+ -- html and css editing, etc.  In addition you get an XML editor, and a fantastic ftp interface, which is sorely needed in Eclipse.  Aptana has a very nice ftp synchronization tool set which allows you to effectively develop locally and synchronize to an ftp site.

For those who are curious about how we have our Eclipse configured, here it is:

Eclipse 3.2.x
CF Eclipse 1.3.x
RDS Plugin (from Flex Builder 2)
Aptana plugins
Violet UML plugin

More Entries