Community Member Profile

JAlpino
Member since Dec 11, 2008

Recent Blog Comments By JAlpino

  • Drawing On The iPhone Canvas With jQuery And ColdFusion

    Posted on Mar 5, 2010 at 9:12 AM

    You are a fine artist my friend. Great post also!... read more »

  • Caching ColdFusion Component Methods Has Negligible Performance Improvements

    Posted on Oct 29, 2009 at 9:49 AM

    Without claiming to know the inner workings of object creation, I would have to image that instantiation time is partially consumed due to the size of the underlying object. Each component appears to be a concrete instance of coldfusion.runtime.CFComponent which probably has it's own inheritance... read more »

  • Caching ColdFusion Component Methods Has Negligible Performance Improvements

    Posted on Oct 28, 2009 at 9:26 PM

    In using ecplise's class viewer (no decompilation), it looks like each method on the cfc is being turned into an inner class (of type UDFMethod) of the component that's being compiled. Those inner classes are then being referenced as static properties. If I understand it correctly, it means that... read more »

  • Caching ColdFusion Component Methods Has Negligible Performance Improvements

    Posted on Oct 28, 2009 at 6:28 PM

    I'm pretty sure the only way that CF would be able to have class based/shared methods is if the underlying java object representing the CFC (when compiled) has it's methods declared static. Static methods are shared amongst all instances of the class, they also have no concept of state but can op... read more »

  • FireBug's Console For Debugging Javascript Data (Thanks Ray Camden)

    Posted on Jan 14, 2009 at 2:20 PM

    Don't forget about the 'debugger;' statement that lets you dynamically add in break points for your code. I just found that out and have been loving it ever since.... read more »

  • Thanks Adobe!

    Posted on Jan 17, 2008 at 10:07 AM

    Hey Ben, congrats! I think you are very deserving of this achievement.... read more »

  • 204 Status Codes And ColdFusion CFHttp Calls

    Posted on Dec 4, 2007 at 1:28 PM

    @ Ben, no problem about the name thing, I usually sign with JAlpino instead of my full name. Here is the article that I first learned about using 204 for async processing ( http://cfdj.sys-con.com/read/46789.htm ). This article pi... read more »

  • 204 Status Codes And ColdFusion CFHttp Calls

    Posted on Dec 4, 2007 at 11:49 AM

    Nice write up Ben! As usual, you go above an beyond in your research and gratefully share it with the rest of us. I've typically used 204 status codes instead of AJAX requests when it wasn't (absolutely) necessary to receive a response from the server, items like 'watch this item' or 'flag this s... read more »

  • Ask Ben: Running ColdFusion Asynchronously - Caveman Style

    Posted on Nov 30, 2007 at 5:06 PM

    Don't forget about using cfheader and status code 204! If thats the first thing that gets processed in the target 'async' template, the calling page will move right along after receiving a response and the target template will continue to process in the background.... read more »

  • Returning Zero-Length Images Works Just Fine

    Posted on Sep 10, 2007 at 9:30 AM

    Hi Ben, you could also pass back a status code of 204 ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html #sec10.2.5) which tells the client that the request was successful but that it has no data to return...... read more »

  • Ask Ben: Passing ColdFusion Structs And Arrays In The URL

    Posted on Jun 22, 2007 at 7:38 PM

    @Ben - I think you are doing a great job and already are leading people down the right path. You've put out a multitude of really interesting and really informative posts (like this one), that have helped improve our community and teach people like myself a thing or two. @Russ - Don't forge... read more »

  • Ask Ben: Passing ColdFusion Structs And Arrays In The URL

    Posted on Jun 22, 2007 at 5:44 PM

    I think your last point about character length of the encoded serialized content is a very important one. Most web servers carry limitations on how long the url string can be (I believe the two standard sizes are 255 and 1024). This might be an adjustable value but to play it safe when you submit... read more »

  • Parsing HTML Tag Data Into A ColdFusion Structure

    Posted on Jun 18, 2007 at 1:12 PM

    @ben - It might be overkill for what you are doing, but have you thought about using jTidy or something of the like to parse the HTML instead of using regex? It makes it super easy once your content is converted to it's DOM to pick off target elements and their attributes, and its fairly... read more »

  • How Do You Use The ColdFusion CFParam Tag?

    Posted on Mar 23, 2007 at 3:29 PM

    One of the FB3 applications that I support uses <cfparam> quite a bit, and in the case of expecting a numeric value I will typically cast the incoming string to a numeric value. For example: <cfparam name="attributes.myvar" type="string" default="0"> <!--- somewhere in... read more »

  • Community-Driven ColdFusion Certification Practice Testing

    Posted on Jan 12, 2007 at 5:09 PM

    This rocks!!!... read more »

Member Account Kinky Solutions Shop