Skip to main content

Bilal

Member since Mar 16, 2010

Recent Blog Comments By Bilal

  • Updated Thoughts On Validating Data In My Service Layer In ColdFusion

    Posted on Aug 15, 2022 at 7:10 PM

    Ben, I like the general thoughts you put into this. In the JS world the validation library for complex object inline validation that I use is JOI . It allows a chaining of validation conditions and validation of complex structures at each node with many options. Maybe something to review f... read more »

  • Exploring The CFCookie encodeValue Attribute In ColdFusion

    Posted on Dec 16, 2015 at 5:45 PM

    Ben, Did not think about that in a long while. I agree, you have to go a little far out for use-cases on unencoded cookies. I can think of two: a) If you use front end JS to call back to another service in the same domain without going through CF, the expected encoding could throw things off. b) ... read more »

  • My First Year As A Mac User On The Apple MacBook Pro

    Posted on Jun 11, 2011 at 12:14 PM

    I have a fairly new MacBook Pro and several Windows machines. I have been on and off the Mac for the last 20 years. Overall there is premium to pay for convenience on the Mac plattform. Today I would say that, in my opionion, the OSX is stale and I prefer working on the Windows 7 machines that I hav... read more »

  • JavaScript Web Applications By Alex MacCaw

    Posted on Jun 4, 2011 at 11:50 AM

    I ordered this on Amazon. Release is predicted to be in September. I may cancel and order from O'Reily. Also ExtJS 4 had a good MVC framework you can use with their projects.... read more »

  • Ask Ben: Environment-Based Application.cfc Settings

    Posted on May 16, 2011 at 5:12 PM

    @Dave that is correct a reload of settings file is needed per request. The alternative is to use simple cache (i.e. ehCache/cachePut()/cacheGet() or similar) to stick the data in. This will work outside application structure. The trick is to create unique cache Keys so you no two apps on your box co... read more »

  • Ask Ben: Environment-Based Application.cfc Settings

    Posted on Mar 17, 2010 at 4:12 PM

    Ben, those are valid comments. I posted some code that shows how to "worryfree ;o)" copy code and let the Application.cfc sort it out. http://boncode.blogspot.com/2010/03/cf-dynamically-changing-applicationcfc.html The gist of it is, that one can maintain different xml files, each server having ... read more »

  • Ask Ben: Environment-Based Application.cfc Settings

    Posted on Mar 16, 2010 at 10:19 AM

    Ben, we are regularly running into the situation of having to deploy application code on different servers with variety of configurations. We found that moving the configuration outside the application as XML file worked best. This allows us to copy all code and leave the config alone. Within App.cf... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel