FWIW, I'll note that while I appreciate the cons of the idea, I also know that others have seen the pros of it, and the BlueDragon engineers did as well, and they added a Render function to let you execute CFML code as found in any variable, whether from a DB query, a shared scope variable, etc.
It would suit your needs, Mark, though obviously if you're on CF it won't help. Not trying to push anyone to BD or OpenBD. Just saying that the request has been frequent enough that it's been addressed by at least one of the engines, and people have asked for it of CF, too. Naturally, it has all the security implications mentioned by others here, and that may be why CF still doesn't have it. For more on the Render function, I just found a blog entry in the OpenBD blog (though it's existed for years in BD): http://blog.openbluedragon.org/render.htm Just sharing info, as your friendly neighborhood CFML librarian. :-) /charlie > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Mischa > Uppelschoten > Sent: Wednesday, July 01, 2009 9:05 AM > To: Web Site > Subject: re: [ACFUG Discuss] NEVERMIND RE: CF in the database? > > As a last resort I have in the past written out and cfincluded a file > based on the contents of a database field. Obviously there are some > security and performance implications, but the ability to have CF > interpret code (and not just an expression) from a database can > sometimes come in handy. > ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
