johans
Member since Dec 11, 2008
- Profile: /members/2036-johans.htm
- Comments: 22
Recent Blog Comments By johans
-
My 1,000th ColdFusion Post - What It Means To Me (And Free Prizes)
Posted on Feb 8, 2011 at 2:12 PM
viviotech.net - they know CF and support it top notch. I'd recommend a VPS. You can start with the added support hours and remove that option later if you like.... read more »
-
jQuery Template Markup Langauge (JTML) vs. jQuery Templates
Posted on Oct 5, 2010 at 11:58 PM
Integration with the jQ data linking plug-in (including 2-way) is another benefit of using the official jQ template plug-in. http://weblogs.asp.net/scottgu/archive/2010/05/07/jquery-templates-and-data-linking-and-microsoft-contributing-to-jquery.aspx Since I'm doing a lot more javascript these d... read more »
-
Proof Of Concept: Adding Pusher-Powered Update Support To jQuery AJAX
Posted on Sep 23, 2010 at 3:33 PM
Nice Ben. Have you thought of trying with Nathan Mische Cf web socket gateway? I got it running easily and just tried the demo chat app which worked fine across Chrome, FF and MSIE. http://wiki.github.com/nmische/cf-websocket-gateway/... read more »
-
Using Named Functions Within Self-Executing Function Blocks In Javascript
Posted on Aug 16, 2010 at 9:30 PM
Just to confirm your answer about 's' is correct where the self-invoking function s has its own scope and is passed back to the global scope var s. This will also alert 's' twice as you expected: var s = (function s(){alert('s'); return s;})(); s(); Self-invoking functions are best for once-off/in... read more »
-
Using Named Functions Within Self-Executing Function Blocks In Javascript
Posted on Aug 16, 2010 at 7:45 PM
This will work as you expect since the "calling" scope for the self-executing anonymous function is the global scope: var foo = null; (foo = function(){ alert( "bar" ); })(); foo();... read more »
-
Using Double Not-Operator (!!) For Boolean Type Casting
Posted on Dec 14, 2009 at 1:52 PM
Nice tip. Book looks like a good read. @Niels - "short notation IF" is called a ternary operation: http://en.wikipedia.org/wiki/Ternary_operation... read more »
-
My 1,000th ColdFusion Post - What It Means To Me (And Free Prizes)
Posted on Jan 23, 2009 at 5:46 PM
Great work Ben - that is quite a milestone. Your site has certainly become a valuable resource for CFers. As far as CF goodness - it is a great tool for getting the job done - easily, quickly and reliably. It has served me well since CF version 3 (Allaire ColdFusion) which I had to import from Auss... read more »
-
jQuery v1.3 Released On jQuery's 3rd Birthday!
Posted on Jan 14, 2009 at 2:03 PM
You forgot that the API docs is available as an AIR app :-) http://api.jquery.com/... read more »
-
XSLT And XMLTransform() Work Properly With XHTML In ColdFusion
Posted on Jan 13, 2009 at 2:29 PM
BTW - on topic of XS editor - I noticed in your XS posts you were concerned your web services would not work with v2 and was pleasantly surprised when they did. The changes to the web services were minor and are listed in the XS OEM docs change log. Mainly added ability to order items returned in ... read more »
-
XSLT And XMLTransform() Work Properly With XHTML In ColdFusion
Posted on Jan 13, 2009 at 1:34 PM
Agree 100% - XStandard is the way to go. It is built into my CMS: http://www.assetnow.com It would be great if they developed an ActionScript version for Flex/Air.... read more »
-
Using XSLT And ColdFusion's XMLTransform() To Keep Data And Formatting Separate
Posted on Jan 12, 2009 at 6:25 PM
Nice. On a related note I found that using XSL/T to parse content was significantly faster than regex - especially when the documents get large. I found Dave Pawson's site a great XSL/T resource: http://www.dpawson.co.uk/xsl/... read more »
-
XSLT And XMLTransform() Work Properly With XHTML In ColdFusion
Posted on Jan 12, 2009 at 6:19 PM
"To be honest, I am not even sure if XHTML validates as XML" - XHTML was developed to represent HTML as valid XML - http://www.w3.org/TR/xhtml1/ #xhtml... read more »
-
ColdFusion ARGUMENTS Keys Always Exist, Even When Not Required
Posted on Dec 16, 2008 at 6:18 PM
Understand - I have never has cause to need to know if the argument was passed as my methods use the argument default if no value is passed. Good to know anyway.... read more »
-
ColdFusion ARGUMENTS Keys Always Exist, Even When Not Required
Posted on Dec 16, 2008 at 4:51 PM
If you specify a default value in the cfargument then it works as expected... read more »
-
Parsing HTML Tag Data Into A ColdFusion Structure
Posted on Oct 27, 2008 at 2:50 PM
If your content is well formed XHTML (XML in other words) then you can use XPATH (using CF XmlSearch() function) to easily get all tags and attributes. In my testing with standard CF regex functions (not java as you have used) I found parsing slowed down rapidly as the content length grows. Howe... read more »