Dan Vega
Member since Dec 11, 2008
- Profile: /members/972-dan-vega.htm
- URL: http://www.danvega.org/blog
- Comments: 52
Recent Blog Comments By Dan Vega
-
Terrifying Excitement: My First CFUNITED Conference Experience From 2007
Posted on Dec 1, 2021 at 6:49 PM
@Adam, Great memories of that cooler and all of you! Miss seeing all of you!... read more »
-
ColdFusion 10 - Selectively Exposing ColdFusion Component Behaviors With Closures
Posted on Apr 11, 2012 at 11:00 AM
Do you have a real world use case on why you wouldn't just make the methods you didn't want exposed hidden? Just curious as to the "Why" here. Other than that, cool stuff!... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 30, 2012 at 3:44 PM
Ben, You can accomplish the same thing like this. <code> var q = new Query(); var sql = "Select firstname,lastname FROM USERS"; if( arguments.age > 0){ sql += "WHERE age > :age" } q.addParam(name="age",value=arguments.age,sqltype="integer"); q... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 28, 2012 at 8:04 PM
I don't know that its standard practice. Everyone has their own preference but I never set output on my script components and will continue to not do so.... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 28, 2012 at 6:42 PM
@Tony - thanks for clearing that up! @Andy - output = false was necessary on tag based components because it would end up producing unwanted white space. What Tony is saying is that no matter what white space will not be generated in a script based component.... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 28, 2012 at 11:05 AM
Wow. I completely take that back. I swear I was told at one point not to bother but I ran this quick test and both statements are sent to the client. If you add output=false to the user service it does not produce any output. Sorry for the misleading info guys. http://pastebin.com/ZDCg99rP... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 28, 2012 at 10:42 AM
No output control also pertains to the component itself. There is no need to set output = false at the component level when using script syntax.... read more »
-
jQuery 1.4 Reference Guide By Karl Swedberg And Jonathan Chaffer
Posted on Feb 15, 2010 at 9:53 AM
Does anyone know if/when a follow up to Learning jQuery is planned? I want to know if I should pick up 1.3 or just wait for the new book to be released.... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 26, 2010 at 10:09 AM
I am going to buy the following domain and point it to your website Ben. HA ;) http://www.tagsareforui.com... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 26, 2010 at 10:02 AM
When you can show me that the execution is causing performance issues I will listen :) HA..... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 26, 2010 at 9:52 AM
I could not agree more Ben, I think that syntax is really fugly ;)... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 26, 2010 at 9:43 AM
Good to know Bob, thanks!... read more »
-
ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything
Posted on Jan 26, 2010 at 8:57 AM
It was that very concept that started me down the path of http://hyrule.riaforge.org . Little did I realize that you grab that info in previous versions, but as they say better late than never :)... read more »
-
ColdFusion 9 Script-Based Method Definitions Work Inside CFScript
Posted on Jan 13, 2010 at 2:56 PM
99% sure it just ignores it, but then again I never make a mistake so It does not affect me ;) ha... read more »
-
ColdFusion 9 Script-Based Method Definitions Work Inside CFScript
Posted on Jan 13, 2010 at 12:53 PM
Adam - Just to be clear you *don't* need to use the javadoc syntax. You can define component, parameter and function level attributes using both inline and javadoc syntax.... read more »
-
ColdFusion Builder Extension: Regular Expression Find And Replace
Posted on Dec 3, 2009 at 2:20 PM
Its no Ben Nadel Code Converter but it will do!... read more »
-
ColdFusion Builder Extension: Regular Expression Find And Replace
Posted on Dec 3, 2009 at 1:01 PM
Awesome stuff Ben! ColdFusion builder is going to make my favorite IDE event better! I am loving the extensions that have already come out and excited to see what talented people like yourself come up with!... read more »
-
Ask Ben: Creating ColdFusion Templates On The Fly
Posted on Sep 21, 2009 at 10:39 AM
I just went through this exact same thing. I think this is where reMatch really shines nicely. No matter what your variable holder is (mine was {var}) you can use a regular expression to return an array of all your "variables" in the document. If your variables are named the same as your replacement... read more »
-
CFDirectory Filtering Uses Single Character Wild Card
Posted on Sep 9, 2009 at 11:11 AM
@Mike D - You would have to do a query of queries to accomplish that. If you are working with a very large recordset you could always dip into Java to accomplish that.... read more »
-
Project HUGE: Success Strategy For Working Out When You're Tired
Posted on Feb 5, 2009 at 6:15 PM
That is one big Governor :)... read more »