Tuesday, March 23, 2004

Eclipse and SWT

For those of you who have tried on Eclipse which I introduced in my last post, How about CFMX on Eclipse?, have probably noticed somthing unusual for a Java GUI application, it's extremely fast!

In an email response, Rohan, author of CFEclipse, kindly answers the question that underneath, Eclipse uses SWT for GUI manipulation. What's SWT (Standard Widget Toolkit)?

SWT (and JFace) are GUI components originally developed by IBM for the open source Eclipse project. Unlike Swing or AWT, SWT relies on native widgets of the underlying operating system which results in Java applications which look and feel like native applications.
  Monday, March 22, 2004

Thread-safe ColdFusion

If you think you can skip locking on your session scope variable, you might need to...
  Friday, March 19, 2004

How about CFMX on Eclipse?

Eclipse, an open extensible IDE, is probably one of the most successful open source product. There is a plugin for CFMX. You may use it as an alternative for ColdFusion application development.
  Tuesday, March 16, 2004

Taking temperature of CFMX

As we know CFMX runs on top of J2EE(Java Virtual Machine). How do I find out how hot the coffee is boiling? Well, easy enough: ColdFusion Memory Usage Stats
Quick sample:

<cfset runtime = CreateObject("java","java.lang.Runtime").getRuntime()>
<cfset freeMemory = runtime.freeMemory() / 1024 / 1024>
<cfset totalMemory = runtime.totalMemory() / 1024 / 1024>
<cfset maxMemory = runtime.maxMemory() / 1024 / 1024>

Free Allocated Memory: #Round(freeMemory)#mb
Total Memory Allocated: #Round(totalMemory)#mb
Max Memory Available to JVM: #Round(maxMemory)#mb

UPDATE: This is a repost of ColdFusion Memory Usage Stats, thank you Freitag for pointing it out.
  Friday, March 12, 2004

JavaScript Remote Scripting (JSRS) on CFMX

It's been two years now (first public version was dated in January, 2002. Time runs fast indeed.) since we started to implement remoting with JSRS in our application. The server ports have grown from ASP to many others: ASP.NET, ColdFusion, PerlCGI, PHP, Python, and JSP (servlet). Note that etec was the first to provide the port to ColdFusion 5. Now another port of JSRS to CFMX: JSRS CFC.

I haven't tried out the CFC myself, I'll assume it's a more ideal solution with CFC as compared to strict CF5 functions by persisting the CFC to application scope.

Personally, I prefer Gateway JSAPI since it provides better data structure handling. You may try the qforms with gateway tags that I developed with samples provided here.
Software Culture
  03/01/2004 - 04/01/2004
  05/01/2004 - 06/01/2004
  07/01/2004 - 08/01/2004
  08/01/2004 - 09/01/2004
  09/01/2004 - 10/01/2004
  10/01/2005 - 11/01/2005
  Smart talk always right?
  Drools on AppFuse
  Braille, braille
  The Dynamic SRC of IMG
  Preferred Locale on AppFuse
  告訴你為什麼程式不 work
  絲綢之路 2000:致命病毒
  AJAX on AppFuse
  Meet Mr. Writely
  健檢, e檢
  Open source ColdFusion
  Rich DHTML client
  cfspring, seriously
  Where are they?
  An Architect's View
  Martin Fowler
  Loud Thinking
  Raible Designs   fullasagoog

Powered by Blogger