Michael
Member since Dec 11, 2008
- Profile: /members/1056-michael.htm
- Comments: 14
Recent Blog Comments By Michael
-
OOPhoto - A Painful Transition To Object-Based Controllers
Posted on Jul 30, 2012 at 9:56 AM
Just arrived here to chime in on Brad's love for CFWheels. I've been using it a few weeks now and while I'm not great at it yet, it's super easy to get going! This I might add is my first MVC experience, but it's so simple and elegant that I can't really think right now of needing anything else. ... read more »
-
Ask Ben: Creating Large Random Strings In Javascript
Posted on Apr 12, 2011 at 7:55 AM
Hi Ben, That split function should indeed be: Split("") and NOT Split() In Firefox, without the quotes it creates a very large and not very random number despite the variables.... read more »
-
Making Sure Your ColdFusion Applications Are Uniquely Named
Posted on Feb 9, 2010 at 12:34 PM
Hi Ben, If we do this, does it not cause more of a performance hit on the application because it doesn't already have the name cached somewhere? Using a unique name like this will cause CF to look at it again and again wont it? I really am not sure - newbie here, but please clarify if doing this ... read more »
-
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Posted on Nov 21, 2009 at 4:49 PM
Great work yet again Ben! Whilst I didn't use this whole code, I copied some of your regex code for a similar problem with the lack of an alt attribute and unescaped ampersands in CFIMAGE for Railo 3.1. Thanks! :)... read more »
-
Kinky ColdFusion Calendar System Now Has An Application File
Posted on Nov 9, 2009 at 3:34 PM
Hi Ben, I might be a little bit dumb on this, but how do I run the SQL to install the tables and columns etc? I've never worked with an SQL file before. I'm using MySQL on my local machine via the query browser and administrator tools. When I try and run the script, it gives me the following erro... read more »
-
A Better CFParam Tag With A Catch Attribute (Proof Of Concept)
Posted on Aug 20, 2009 at 12:41 PM
Ben, I'm TOTALLY with you on this. Using cfparam is both elegant (to look at) and also nasty (to handle errors). Using multiple isValid and isDefined cfif staements is not my idea of fun. An additional attribute would be a welcome addition.... read more »
-
Data-Driven CSS Style Sheets Using ColdFusion
Posted on May 18, 2009 at 7:39 AM
A search engine usually only checks a page up to a certain number of bytes. Therefore, if you have a lot going on at the top of your page that isn't actually important content, then it could be blocking real content from getting looked at. This being said however, I think that the number of bytes i... read more »
-
Creating An Abstract Base Class In ColdFusion
Posted on Mar 11, 2009 at 7:48 PM
I wish I knew what you guys were on about. Some day...some day...!... read more »
-
Parameter 1 Of Function SetVariable, Which Is Now FORM., Must Be A Syntactically Valid Variable Name
Posted on Dec 26, 2008 at 8:58 PM
I also find trouble with tags that have closing tags, but at the same time do not require them. E.g: <cftransaction /> can also be <cftransaction></cftransaction> <cfinvoke /> can also be <cfinvoke></cfinvoke> There are a few more tags like this. They work self-... read more »
-
Ask Ben: Dynamic Table Names In ColdFusion Queries
Posted on Nov 13, 2008 at 11:08 AM
@John Wish Hey John, Could you just write a user defined function for this called "queryParam"? Hmm, actually, on second thoughts, I'm not sure what would happen using this tag outside of a CFQUERY tag. Probably wouldn't work. Meh! But yeah, looks a bit nicer doesn't it! :)... read more »
-
Ask Ben: Dynamic Table Names In ColdFusion Queries
Posted on Nov 13, 2008 at 11:06 AM
Hi Ben! Thanks for answering my question - so quick too! As I mentioned, I'm not too familiar with certain parts of ColdFusion so this does clear a few things up for me. While there are a lot of tutorials and code examples on the Internet, I find it hard to locate information on "best practices".... read more »