Robert Zehnder
Member since Feb 5, 2010
- Profile: /members/5368-robert-zehnder.htm
- URL: https://kisdigital.com
- Comments: 20
Recent Blog Comments By Robert Zehnder
-
CF_SaveFile Custom Tag In ColdFusion
Posted on Apr 24, 2024 at 5:54 PM
@Ben As it turns out, jSoup's parse() method will return tidy HTML so I just ended up running the generated HTML through parse() and write the contents to disk.... read more »
-
CF_SaveFile Custom Tag In ColdFusion
Posted on Apr 23, 2024 at 8:37 PM
The dedent method is intriguing. I use savecontent with commandbox-ssg (static site generator) to render pages and one issue I have with it is how the html is formed. It is a little annoying, but it renders. That looks like a good fix as long as it plays nice with pre and code blocks... read more »
-
Splitting An Array Into Groups In ColdFusion 2021
Posted on Mar 30, 2022 at 12:15 AM
@Ben, Very clean! I like your implementation. 😀... read more »
-
Splitting An Array Into Groups In ColdFusion 2021
Posted on Mar 29, 2022 at 9:31 AM
While not very pretty, it is fast. function chunk(arr, sz) { var out = []; var ceil = ceiling(arr.len() / sz); for(var i = 1; i <= ceil; i++) { var t = []; var offset = (i - 1) * sz; if(i == ceil){ var c = arr.len() - offset < sz ? arr.len() -... read more »
-
Splitting An Array Into Groups In ColdFusion 2021
Posted on Mar 28, 2022 at 9:46 PM
I too have written a chunk function and my first implementation used slice . On large arrays (100k+ elements), response time would be measured in seconds so I had to go back to the drawing board.... read more »
-
Accepting PCI-Compliant Payments Without A Merchant Account Using Stripe And ColdFusion
Posted on Nov 15, 2011 at 2:34 PM
The other downside to PayPal is not being able to work directly with their API unless you fork out the extra bucks for a PayFlow account (IIRC). Otherwise you have to post your cart to PayPal's site let, let them handle the checkout process, and then redirect back to your site which totally blows yo... read more »
-
Accepting PCI-Compliant Payments Without A Merchant Account Using Stripe And ColdFusion
Posted on Nov 15, 2011 at 1:15 PM
Looks pretty interesting. Definitely feels less kludgy than the entry level PayPal integration, especially since that requires going outside your cart/checkout process and depending on getting payment information back through IPN.... read more »
-
Maintaining Key-Case During JSON Serialization In ColdFusion
Posted on Apr 1, 2011 at 11:01 AM
As a general rule I use array notation for defining everything and access the values using dot notation. It is way safer that way because later on down the road you may want to expose some methods to an ajax proxy you can access the variables without worrying about having to go all caps.... read more »
-
Very Simple Pusher And ColdFusion Powered Chat
Posted on Nov 30, 2010 at 3:57 PM
I don't know if you have seen this, but you can give it a shot.... http://websocketgateway.riaforge.org/... read more »
-
Very Simple Pusher And ColdFusion Powered Chat
Posted on Nov 30, 2010 at 3:39 PM
@asim: I did something similar with Pusher not too long ago. I will see if I can dig up the source code. Between work and clients I am spread pretty thin these days..... read more »
-
Long Polling Experiment With jQuery And ColdFusion
Posted on Aug 3, 2010 at 11:44 AM
Very true. I should have looked more closely at Ben's code.... read more »
-
Long Polling Experiment With jQuery And ColdFusion
Posted on Aug 3, 2010 at 10:56 AM
I have a simple demo I wrote a while back with basic chat functionality using ColdFusion/jQuery. I found it was surprisingly stable, although I never really did anything with it. http://demos.kisdigital.com/index.cfm/demos/chat Not so much as plug, mentioning it more as another example.... read more »
-
Pusher.cfc - ColdFusion Component For Realtime Notification With HTML5 WebSockets
Posted on Jul 22, 2010 at 9:20 AM
Was the encoding issue the root cause of the 401 Unauthorized errors you were seeing? I have been busy with other projects lately and I haven't really had time to work on my pusher app. Looking forward to playing with it more.... read more »
-
Very Simple Pusher And ColdFusion Powered Chat
Posted on Jul 14, 2010 at 3:03 PM
Good collection of articles for Pusher, Ben. I have been contemplating installing BlazeDS for a project I have been playing around with, but I will give this a shot. Definitely less painful and I like being able to natively use sockets when possible over using a flash bridge.... read more »
-
Ask Ben: Blocking WSDL Access In A ColdFusion Application
Posted on Mar 23, 2010 at 8:35 AM
@Ben No worries. Happy to help.... read more »
-
Ask Ben: Blocking WSDL Access In A ColdFusion Application
Posted on Mar 17, 2010 at 2:52 PM
<cfif structKeyExists( url, "wsdl" ) and not structKeyExists( url, "x")> should fix that... read more »
-
Ask Ben: Blocking WSDL Access In A ColdFusion Application
Posted on Mar 17, 2010 at 12:33 PM
I could see where this might come in handy to help lock down a remote proxy.... read more »
-
The Boondock Saints: Back In The Theaters March 11th
Posted on Mar 8, 2010 at 10:59 AM
The scene with the cat is classic...... read more »
-
The Boondock Saints: Back In The Theaters March 11th
Posted on Mar 8, 2010 at 10:55 AM
That is definitely one of my all time fav movies. I didn't catch the second one yet...... read more »