Tuesday, December 30, 2008
Monday, December 29, 2008
Tuesday, December 23, 2008
Monday, December 22, 2008
Sunday, December 21, 2008
Saturday, December 20, 2008
Friday, December 19, 2008
Thursday, December 18, 2008
Wednesday, December 17, 2008
Tuesday, December 16, 2008
Monday, December 15, 2008
JSON in ColdFusion
Pretty excited these days about JSON... I've used it sporadically in many applications, but every month there appears to be new uses for it. I particularly enjoyed one use where we stored some interface preferences as a small JSON cookie. I also LOVE being able to call a CF webservice and auto-magically return JSON (covered in depth at Ben Nadel's blog here: JSON part II) - it's saved us a couple times.
Anyways, I saw a blog post today about the release of JSONUtil - very cool. It's a nice way to serialize and deserialize JSON in CF 7, and is based on CFJSON code.
In my main contract, we've been arguing a bit about returning JSON in the header vs. in the body. We are leaning heavily towards starting to return JSON in the response body, but we're a bit worried about the META tag that CF returns when working in development mode.
Here's some good reading about JSON and Prototype from Frank Tank. He argues nicely for putting JSON in the response body.
T
Anyways, I saw a blog post today about the release of JSONUtil - very cool. It's a nice way to serialize and deserialize JSON in CF 7, and is based on CFJSON code.
In my main contract, we've been arguing a bit about returning JSON in the header vs. in the body. We are leaning heavily towards starting to return JSON in the response body, but we're a bit worried about the META tag that CF returns when working in development mode.
Here's some good reading about JSON and Prototype from Frank Tank. He argues nicely for putting JSON in the response body.
T
Friday, December 12, 2008
Thursday, December 11, 2008
Wednesday, December 10, 2008
Thursday, December 04, 2008
Wednesday, December 03, 2008
Tuesday, December 02, 2008
CF logic functions - Imp and Eqv
Thought this was neat - came across this fellow CFer’s blog post about finding the CF Imp function.
Mentions the logic functions Imp (imply) and Eqv (equivalent). Kinda neat, I had totally forgot about Eqv() and I don’t think I ever really knew about Imp().
Explanations:
http://markun.cs.shinshu-u.ac.jp/learn/logic/logic1/html/eng/eqv-e.html
http://markun.cs.shinshu-u.ac.jp/learn/logic/logic1/html/eng/imp-e.html
Adobe Livedocs for logic expressions
Neat.
Mentions the logic functions Imp (imply) and Eqv (equivalent). Kinda neat, I had totally forgot about Eqv() and I don’t think I ever really knew about Imp().
Explanations:
http://markun.cs.shinshu-u.ac.jp/learn/logic/logic1/html/eng/eqv-e.html
http://markun.cs.shinshu-u.ac.jp/learn/logic/logic1/html/eng/imp-e.html
Adobe Livedocs for logic expressions
Neat.
Monday, December 01, 2008
Security articles - cf script protection, captcha, cfformprotect
I stumbled across some good CF-related security articles this weekend.
Using htaccess rules to protect against SQL injection
http://www.luismajano.com/blog/index.cfm/2008/8/8/htacces-rules-to-protect-against-SQL-Injection-attacks
The good and the bad about built-in CF script protection
http://www.12robots.com/index.cfm/2008/9/9/Enhancing-ColdFusion-Script-Protection--Security-Series-10
This article also touches on ways to customize the script protection
Do we get much spam form activity? The use of captcha and reasons not to use it
http://techfeed.net/blog/index.cfm/2008/11/29/Reasons-not-to-use-Captcha
The best part is that that they talk about CFFormProtect as an alternative, which sounds very cool:
http://cfformprotect.riaforge.org
Using htaccess rules to protect against SQL injection
http://www.luismajano.com/blog/index.cfm/2008/8/8/htacces-rules-to-protect-against-SQL-Injection-attacks
The good and the bad about built-in CF script protection
http://www.12robots.com/index.cfm/2008/9/9/Enhancing-ColdFusion-Script-Protection--Security-Series-10
This article also touches on ways to customize the script protection
Do we get much spam form activity? The use of captcha and reasons not to use it
http://techfeed.net/blog/index.cfm/2008/11/29/Reasons-not-to-use-Captcha
The best part is that that they talk about CFFormProtect as an alternative, which sounds very cool:
http://cfformprotect.riaforge.org
Subscribe to:
Posts (Atom)