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: Ed Bartram

Kirill

Member since May 8, 2011

Recent Blog Comments By Kirill

  • Learning ColdFusion 9: CFScript Updates For ColdFusion Components

    Posted on Nov 10, 2012 at 11:09 PM

    This has been bothering me lately, I personally use shared hosting, which usually runs the latest version of ACF (now I am on ACF10 and some of my components won't work even for ACF9). In fact there was a hosting provider who I had been using for about 7 or 8 years, and they always tried to have the... read more »

  • A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland

    Posted on Sep 19, 2012 at 11:22 AM

    @Bret, sounds like an Util.cfc! I am placing such modules inside a bean factory (well, I just let bean factory know about it). And since framework is aware of the bean factory, this component becomes available from any part of the application - views, controllers, or business modules (models). If yo... read more »

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

    Posted on Jul 12, 2012 at 12:58 PM

    There is nothing wrong with views knowing about the model. The model should not know about views, or controllers, or users, but views are ok to know about the model. Also, my understanding is that a controller is there to do job associated with a request, that is anything that is not specific to t... read more »

  • Writing My First Unit Tests With Jasmine And RequireJS

    Posted on Jul 7, 2012 at 11:30 PM

    The timing of this entry could not be more perfect for me, Ben! Thank you. I am doing exactly the same thing now. I need to build some client side data editing tool now, and I decided to introduce some unit testing into this. It is my first time with unit testing (and TDD) too (I am trying mxunit n... read more »

  • More Thinking About Model-View-Controller (MVC) And Application Architecture

    Posted on Jun 6, 2012 at 4:38 AM

    @Steven, As I have said, I think there is a trade off - you either spend much more time / money for development or you spend little bit more money on hardware. I completely agree that storing simple values in STRUCTs might be (well, definitely is) faster than storing them in OBJECTS, in fact I h... read more »

  • More Thinking About Model-View-Controller (MVC) And Application Architecture

    Posted on Jun 6, 2012 at 1:14 AM

    I am not claiming you approach is less valid or something. In some cases when the data's schema is relatively simple and has just some static properties, then sure I'd use a simple structure to pass data and I wouldn't create an object just for the sake of creating an object. But sometimes and depe... read more »

  • More Thinking About Model-View-Controller (MVC) And Application Architecture

    Posted on Jun 5, 2012 at 11:18 PM

    @Steven Neiland, #Product.getName()#'s price for various sizes ranges from #Product.getMinPrice()# to #Product.getMaxPrice()#. Basically for calculated properties you do want to pass an object, not a struct.... read more »

  • A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland

    Posted on May 23, 2012 at 11:04 AM

    It was all enigma for me too, even when I started using Model Glue several years ago, it was not clear what Ms, Vs, Cs are. It was so until I started using FW1, then it snapped. Everything became clear. Nowadays I look at an application like at a desktop program with a single entry point - that is... read more »

  • ColdFusion 10 - Script vs. Tags And My Coding Methodology

    Posted on Apr 15, 2012 at 2:36 AM

    Script style coding is a bliss for me. I leave tag-style only for the view and SQL processing components (gateway CFCs etc). Nowadays I even think of cfml (tags) as a view engine. The rest, e.g. controllers and the model, is all in cf script.... read more »

  • Learning ColdFusion 9: ArrayFind() And ArrayContains() For Searching Arrays

    Posted on Mar 12, 2012 at 4:28 AM

    I just ran into a problem when I used ArrayFind to compare level ONE objects that have nested level TWO objects that themselves have reference to level ONE objects to which they belong. So I got StackOverFlow exception in 80-90% cases, which is interesting. The exception wouldn't occur 100% of tim... read more »

  • ColdFusion 10 Beta, Apache Tomcat, And Symbolic Links On Mac OSX

    Posted on Feb 19, 2012 at 10:18 PM

    Ben, do you plan to do some performance comparison of scripts running on CF9 and CF10? I am (.. we all yeah!) very interested in what Tomcat brings us. A long awaited upgrade for our lovely CF.... read more »

  • Ask Ben: Simple Recursion Example

    Posted on Nov 8, 2011 at 10:15 AM

    Now looping through my trees of arbitrary depth and arbitrary quantity of child nodes is a breeze.... read more »

  • Learning ColdFusion 9: CFScript Updates For ColdFusion Components

    Posted on Sep 13, 2011 at 12:44 AM

    @Todd Rafferty, I think you meant this: <cfset girl = new Girl(name = "Tricia", hair = "Brunette") /> So you don't pass it as struct, but as a collection of attribute name / value pairs; of course in this case the order of arguments is not important anymore.... read more »

  • ColdFusion Query-Of-Queries vs. The Group Attribute In CFOutput

    Posted on Jun 20, 2011 at 1:36 AM

    Let me add my opinion too please. Databases are evolving; with every edition they include new functionality which lets developers retrieve very sophisticated sets of information in more structured way. We must use these new features, as long as we write our SQL statements ourselves. It is really wor... read more »

  • Exploring ColdFusion 9 Implicit (Synthesized) Getter And Setter Behavior

    Posted on May 15, 2011 at 11:22 AM

    Does anybody know if it is possible to track if any of set methods of a component has been called (in other words, if a component's state has changed since it has been initiated)? I need this because I don't think there is sense to save an entity to a database, unless it has been changed. With expli... read more »

  • Using The XPath String() Function In XmlSearch() To Aggregate Node Text In ColdFusion

    Posted on May 9, 2011 at 2:58 PM

    Again, ColdFusion proves to be a very versatile and flexible tool by providing several possible types of output of XmlSearch function depending on the type of Xpath we use (this is described in the documentation, basically XmlSearch returns the same type of data as the function used in Xpath strin... read more »

  • Aggregating XML Node Text In A ColdFusion XML Document

    Posted on May 8, 2011 at 12:10 AM

    This is not exactly what you are talking about here (or is it?), but I also often use Xpath's string() function to get the same result: <cfset Result = XmlSearch(data,"string(/data/message)")/> <cfdump var="#Result#"/>... read more »