Skip to main content

Brandon Hansen

Member since Dec 11, 2008

Recent Blog Comments By Brandon Hansen

  • Terms Of Service / Privacy Policy Document Generator

    Posted on Oct 25, 2010 at 12:31 AM

    Thank you so much for this! I am not sure how many times I have gone to other web apps and taken their TOS and changed all of the names. Bookmarking this.... read more »

  • Experimenting With Multiple Class Inheritance In Javascript

    Posted on Oct 25, 2010 at 12:29 AM

    I love that you are doing so much with OO JS. So many of the sites out there just provide junk examples. I have been doing a bit with Appcelerator lately, and that API is written is JavaScript. Your posts have definitely helped me to gain a better understanding of a solid JS API. Thanks!... read more »

  • CorMVC - My jQuery-Powered Model-View-Controller (MVC) Framework

    Posted on Dec 28, 2009 at 8:10 PM

    You know who does something along these lines? lala.com Their whole site is basically a "single page" once you get there. It allows your music to keep playing while you browse the site. Nice work on the framework, Ben.... read more »

  • Object Oriented CSS (OOCSS) And Being Generic With Your Base CSS Classes

    Posted on Aug 4, 2009 at 11:39 AM

    @Lola & Ben, In answer to the question if OOCSS can be used on a large site- the answer lies in one website http://jqueryui.com/. If you have ever looked at the CSS that the UI uses, you will notice that there are base classes all over the place, and then each individual module extends those c... read more »

  • Learning ColdFusion 9: Using OnCFCRequest() To Return JSONP (JSON With Padding) API Responses

    Posted on Jul 20, 2009 at 11:02 AM

    Ben, That is some pretty nice stuff right there! Always a bit trick trying to figure out the design pattern for ajax vs. non-ajax requests. I especially like that the cfc doesn't have to know anything about what the externals of the app. Just return the data, and let something else do all the ... read more »

  • Object Oriented CSS (OOCSS) By Nicole Sullivan

    Posted on Jul 8, 2009 at 10:31 AM

    I use an awesome Ruby Gem called LESS. It really allows you to write CSS is a way that makes sense, but then compiles it for you to standard CSS. It is worth taking a look at. The only downfall is that if you don't use ruby for dev, it is adding another step to production. But it is a step worth... read more »

  • ColdFusion 8's OnMissingTemplate() - So Close To Being Good

    Posted on Jul 1, 2009 at 2:13 PM

    Typically, it is nice to have either IIS or Apache do some rewriting of the URL. That way everything does go through index.cfm, which then calls a controller (in the MVC architecture). This also renders the onMissingTemplate() tag useless, as the template will always be found. I think that it is ... read more »

  • Ask Ben: Detecting When DOM Elements Have Been Removed With jQuery

    Posted on Jun 30, 2009 at 11:17 AM

    That is pretty darn awesome! I definitely need to spend some more time over at the w3c. Of course, so do the guys at Microsoft... Thanks so much for taking the time on this one!... read more »

  • Ask Ben: Accessing Cached CFCs With AJAX via Remote Proxies

    Posted on Jun 22, 2009 at 6:16 PM

    I have found that it really depends what you are doing. If you are going for true speed, you shouldn't be using either of those. Use Java, or something low-level. The reason you use PHP or CF is because you get the job done quick and well. That is not to say that CF cannot be fast, but when you ... read more »

  • Why My Queries Hate Application Service Layers

    Posted on Jun 19, 2009 at 1:32 PM

    "When you think about a "contact" in "object speak", you probably think in terms of contact and their contact information. However, this is a JOIN with overhead; so, pages that don't need contact information, just contact name, I would never bother joining to contact_information has it is not needed... read more »

  • Why My Queries Hate Application Service Layers

    Posted on Jun 18, 2009 at 12:58 PM

    @Brian I am pretty sure that java apps get plenty of traffic. Think LinkedIn. Any site that has the extension .do is a java app behind the scenes. @Ben It is always much harder to come to a complete app and refactor, so in some ways, you are in a difficult place. It seems like the app was desi... read more »

  • Why My Queries Hate Application Service Layers

    Posted on Jun 18, 2009 at 12:03 PM

    At my current office I work with a guy who has been writing Java (no CF, just Java) for about 10 years. We have talked about this quite often. His explanation is that we often centralize our apps around the database instead of the other way around. If we are programmers, not dba's, then why do ... read more »

  • Thoughts On User / Page Request Security Model

    Posted on May 1, 2009 at 1:04 AM

    @Luke Not sure how you can talk about syntax and then say that Python has great syntax. Some people like it, but Python is a very different syntax than most other languages as well (more of a scripting style than a tag-base, but still). I think that it also depends on what you are programing, how... read more »

  • Thoughts On User / Page Request Security Model

    Posted on Apr 30, 2009 at 2:36 PM

    I know that it isn't exactly on topic, but have you ever checked out any python books? This one ( http://www.amazon.com/exec/obidos/ISBN =1887902996) is especially good because it doesn't just hit on Python, but more on event-driven programming, target-driven programing, and tiered programming. Si... read more »

  • Reconciling Different Types Of APIs And What Data They Return

    Posted on Mar 4, 2009 at 6:41 PM

    @Adam Link is no go.... read more »

  • Reconciling Different Types Of APIs And What Data They Return

    Posted on Mar 4, 2009 at 6:02 PM

    @PJ Got to be careful with ajax validation. That should not be your only method of validation, but I am sure that you know that.... read more »

  • Reconciling Different Types Of APIs And What Data They Return

    Posted on Mar 4, 2009 at 5:23 PM

    Ben, Have you ever taken a look at the Facebook API? I think that they do an awesome job with it. One of the things that you will notice is that you are actually friendly on their servers. They have you send all API calls as one API call. What I mean is that instead of sending a call for usernam... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Mar 4, 2009 at 12:26 PM

    @Francois I actually wrote an article about ColdFusion and arrays ( http://melissa-brandon.com/2009/02/coldfusion-vs-php/ ) and noted that in order to find values you must access the underlying java. Some people have a real problem with this. I don't personally, but I really wish that the guys ove... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Mar 3, 2009 at 2:38 PM

    @Ben Great point about public vs. internal apps. If Twitter was to return anything but the RAW data, their app would not have been as successful. I really like that you are extending the BaseAPI cfc. That seems like a great way to avoid duplicating code and keeping things consistent throughout th... read more »

  • Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application

    Posted on Mar 3, 2009 at 1:39 PM

    How on earth do you have time to develop these demonstrations?! I really appreciate how much you have put into this community. If Adobe isn't paying you, they should be. A couple of notes- You are looping over the array of id's looking for a match. What would you do differently if this was to be... 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