Nelle
Member since Aug 16, 2010
- Profile: /members/6674-nelle.htm
- Comments: 27
Recent Blog Comments By Nelle
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 13, 2012 at 5:59 AM
The book you mentioned last week says we use different programming paradigms to prevent code duplication. From that standpoint having the same code in two (or more) different controllers would not be optimal. just my 2 cents ...... read more »
-
ColdFusion 10 - ColdFusion Query Of Queries vs. Functional Programming
Posted on Apr 11, 2012 at 5:07 AM
It yould be interesting to do a performance comparison of both methods for a tad complicated scenarios... read more »
-
ColdFusion 10 - Accessing The Call Stack With CallStackGet()
Posted on Mar 7, 2012 at 11:42 AM
Finally I can add "CFCname::functionname" automaticaly when loging :)... read more »
-
ColdFusion 10 - Parsing Dirty HTML Into Valid XML Documents
Posted on Feb 29, 2012 at 6:15 AM
@Ben, "Of course, now that ColdFusion 10 allows per-application Java Class loading" What is this new witchcraft you mention ?... read more »
-
Using The RequireJS Build / Optimizer To Concatenate Modularized CSS Files
Posted on Jan 11, 2012 at 2:58 AM
You should look into less css if you haven't already. it rocks big time.... read more »
-
Changing The Execution Context Of JavaScript Functions Using Call() And Apply()
Posted on Oct 5, 2011 at 7:17 AM
I've only recently discovered: if (!Function.prototype.bind ) { Function.prototype.bind = function( obj ) { var slice = [].slice, args = slice.call(arguments, 1), self = this, nop = function () {}, bound = function () { return self.apply( this instanceof nop ? this : ( obj || {} ),... read more »
-
The Most Interesting Man Alive On ColdFusion
Posted on Sep 1, 2011 at 3:47 AM
- he can set variables in CGI scope - he can pass ad-hoc created objects as parameters to functions - he can call struct members as functions... read more »
-
jQuery Plugin insertAt() For Comparator-Based Insertion
Posted on Jul 4, 2011 at 7:07 AM
if i had to make something like this, the interface would be collection.insertAt( item, comparator ).... read more »
-
ColdFusion Query-Of-Queries vs. The Group Attribute In CFOutput
Posted on Jun 15, 2011 at 7:33 AM
i usually use cfloop from=1 to=query.recordCount with an index ... i think in cf5 or even mx there was a problem when you nested two cfloops with attribute query like you did ... i guess am still stuck in the past :)... read more »
-
Ask Ben: When To Provide Default Values In ColdFusion
Posted on Jun 8, 2011 at 7:14 AM
@Ben, we're logging them and sending an e-mail to a certain imap folder. the quote about the ideal number of function arguments reminds me of monty pythons quest for the holy grail and the holy hand granade bit.... read more »
-
Ask Ben: When To Provide Default Values In ColdFusion
Posted on Jun 7, 2011 at 4:31 AM
I use defaults as a form of defensive programming; but mostly because I am soooooo pissed at search bots who dig through javascript code and call the ajax cfcs without any parameters.... read more »
-
Creating Globally Accessible User Defined Functions In ColdFusion (Safer Version)
Posted on May 31, 2011 at 6:22 AM
@Ben, you are right, unfortunately altering CGI scope is impossible. i learn something new every day :) i ended up using the url scope as you suggested, but i fear as the UDF library grows, that name collision will create errors which are hard to debug (i already had my share of debuging errors co... read more »
-
Creating Globally Accessible User Defined Functions In ColdFusion (Safer Version)
Posted on May 30, 2011 at 6:36 AM
I was wondering why you did not use the CGI scope instead of URL, now I know.... read more »
-
Extending EventEmitter In Order To Create A Response Proxy In Node.js
Posted on Apr 28, 2011 at 3:59 AM
requestStart, requestEnd, keep it up and you'll have an application.cfc on node in no time :)... read more »
-
Node.js Training And Node.js Hosting With Nodejitsu
Posted on Apr 27, 2011 at 6:06 AM
@Ben 1,4-1,6 Gb for 32bit systems http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_heap_32bit... read more »
-
Streaming Secure Files Efficiently With ColdFusion And MOD XSendFile
Posted on Apr 15, 2011 at 7:11 AM
Great idea! We used the combination of mod_auth_cookie and Apache authentication to manage secure downloads, but your approach seems much better. Especially since mod_auth_cookie seems dead. Thanks for pointing XSendfile.... read more »
-
Understanding The Basic Authentication Request-Response Life Cycle
Posted on Mar 16, 2011 at 7:20 AM
A bit off-topic; the cfinvoke for webservices or cfhttp have no support for NTLM Authentication. And Java libraries that do have them (Apache HTTP Client for example) have other bugs, so if you want to connect CF to a Microsoft Webservice (like Sharepoint or Dynamics) protected with NTLM you are fre... read more »
-
Seven Languages In Seven Weeks By Bruce Tate - What An Adventure
Posted on Jan 31, 2011 at 7:38 AM
Since the CF Version has already been posted, here is the CFScript version: <cfscript> names = "Marky,Ricky,Danny,Terry,Mikey,Davey,Timmy,Tommy,Joey,Robby,Johnny,Brian"; function add_adjective ( names, adjective ) { return listChangeDelims( names, " is so " & adj... read more »
-
Seven Languages In Seven Weeks: Haskell - Day 2
Posted on Jan 28, 2011 at 3:51 AM
Man, your code comments are longer than the homework code itself :) btw. i liked reading the "seven languages ..." posts. they provided me with the insight without the pain connected with learning a new language.... read more »
-
An Example Of Overloaded Functions With Very Different Sub-Function Implementations
Posted on Sep 15, 2010 at 8:52 AM
Why not wrap it: Function = function(){ } Function.prototype = { implementations: [] , call: function () { if (typeof this.implementations[arguments.length] == "function") { this.implementations[arguments.length].apply ( null, arguments ); } } } And then it could be set up with: easing = new F... read more »