Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at BFusion / BFLEX 2010 (Bloomington, Indiana) with: John Farrar

Adrian J. Moreno

Member since Dec 11, 2008

Recent Blog Comments By Adrian J. Moreno

  • How Do You Populate Shared Views In A Complex Layout Using MVC?

    Posted on Jul 12, 2012 at 11:32 AM

    @Dominic So you want multiple controller methods that can get different data to render the same view? That should be done in the Service Layer. You shouldn't need multiple controller methods unless there's something else going on. Even with that, you can override Controller methods using Routing and... read more »

  • How Do You Populate Shared Views In A Complex Layout Using MVC?

    Posted on Jul 12, 2012 at 11:19 AM

    Using ColdBox, you can have the Controller render a view or you can have a view call the Controller. Actually, you have two concepts in presentation: Views and Viewlets. A View is a content container and a Viewlet is reusable bits of content. So your controller function contains event.setView('pat... read more »

  • ColdFusion Components As Data Types - Help Or Hindrance?

    Posted on Apr 10, 2009 at 12:28 PM

    @Joel If you're not doing things like John describes, check your JVM version. 1.6_10 fixes a bug in the JVM (1.6_4 +) that caused slow creation of class (CFC) files.... read more »

  • ColdFusion Components As Data Types - Help Or Hindrance?

    Posted on Apr 9, 2009 at 3:17 PM

    If you want to get technical about it, strings, numbers, structs, arrays . . . they're all objects. Simple objects, yes, but you have no problem thinking of them as data types. Just think of CFCs as complex data types. Sometimes I refer to strings, numbers, etc as objects, sometimes as data types.... read more »

  • ColdFusion Session Management And Asynchronous Page Requests

    Posted on Mar 20, 2009 at 10:41 AM

    @Ben: You can never be too careful with locking session reads and especially writes. I inherited a high volume CF 7 app where UserA would log in and sometimes get UserB's session. UserC would be logged in correctly, go through a few pages/processes and suddenly be in UserD's session. Once we put ... read more »

  • Extending Encrypted ColdFusion Application.cfm Functionality

    Posted on Aug 15, 2008 at 4:20 PM

    @Ben: <cfcomponent hint="Application.cfc"> <cfinclude template="Application.cfm" /> <cffunction name="onRequestStart"> <!--- yadda yadda yadda ---> </cffunction> </cfcomponent>... read more »

  • Extending Encrypted ColdFusion Application.cfm Functionality

    Posted on Aug 15, 2008 at 2:46 PM

    Remember that if a directory contains both Application.cfc and Application.cfm, only the CFC is run. So another option would have been to use onRequestStart() in Application.cfc. This would just avoid renaming the existing Application.cfm... read more »

  • Translate Microsoft SQL (MSSQL) To MySQL

    Posted on Apr 15, 2008 at 4:07 PM

    IIRC, O'Reilly's "SQL in a Nutshell" covers a lot of the syntax differences between databases. http://www.oreilly.com/catalog/sqlnut2/?CMP=AFC-ak_book&ATT=SQL+in+a+Nutshell re: Running multiple statements in one query How to Combine Multiple SQL Statements in One CFQUERY http://www.sumoc.com/... read more »

  • Happy Valentine's Day

    Posted on Feb 14, 2008 at 11:04 AM

    Ben, check out http://icanhascheezburger.com/ re: LOLCat Generator. You could probably do a post on how to use your Image Utils CFC to make them. Given the "I <3 You" picture on the homepage right now, I'd think this is right up your alley. :)... read more »

  • Don't Be Lazy, Be Proud

    Posted on Jan 10, 2008 at 12:41 PM

    "I know that software architects don't write organized code out of a desire to be lazy." Yes we do. Absolutely. This article from 2005 addresses the concept of the lazy programmer: Why Good Programmers Are Lazy and Dumb http://blogoscoped.com/archive/2005-08-24-n14.html We don't want to deal ... read more »

  • Print CSS vs. Printer Friendly Format

    Posted on Dec 29, 2007 at 1:18 PM

    Well, the "print" to "screen" switch sounds good, but it also introduces one more page click to the process. The PDF conversion is an issue as Lola mentioned. If they don't have a reader, they're stuck. If they do have a reader, they have to wait for it to load. I think if someone wants to see _how... read more »

  • Print CSS vs. Printer Friendly Format

    Posted on Dec 28, 2007 at 8:40 PM

    Rick's spot on with his comment. If you've got a good CSS layout, the Print CSS should flow alongside your standard screen display. When we rewrote UnitrinSpecialty.com, one of the main Business Requirements was that any page should print cleanly. When the QA department tested any new page or feat... read more »

  • Advice On Balancing Cohesion, Packaging, And God Objects?

    Posted on Aug 22, 2007 at 4:50 PM

    If you wrote all of your cfargument tags on a single line, you'd probably save 400 lines. :) Seriously though, you could possibly break what you have into separate CFCs: ReadExcel.cfc WriteExcel.cfc StyleExcel.cfc these would be loaded into or by POIUtility.cfc (or POIService.cfc). Then the user... read more »