Tag Archives: Programming

JSON format and serializing ColdFusion query objects

Every so often there is a tiny problem that has you scratching your head until you RTFM. I love JSON, it’s totally awesome and the fact that you can not convert CF objects natively is even better! I ran into a small issue where I was using serializeJSON on a structure that contained a query [...]
Posted in ColdFusion, Programming, Thinking | Also tagged , | Leave a comment

Fix/Int (Floor) function oddity in ColdFusion 8

I’ve discovered an odd little “bug” in the Fix and Int functions in ColdFusion 8. The Fix/Int functions work similarly to the Floor function in other languages: According to the ColdFusion 8 LiveDocs Int - Calculates the closest integer that is smaller than number. For example, it returns 3 for Int(3.3) and for Int(3.7); it returns -4 for [...]
Posted in ColdFusion, Programming | Also tagged | Leave a comment

Assigning the return value of new by reference is deprecated

I recently upgraded to PHP 5.3.0 after having some issues with FASTCGI and 5.2.x on Windows but the moment I did this I started getting numerous warnings. The one that appeared the most was: Assigning the return value of new by reference is deprecated Apparently in PHP5 all objects are passed as reference and 5.3.0 formally deprecated [...]
Posted in PHP, Programming | Also tagged , | Leave a comment

Magento: Adventures in creating a custom design

Let me start off by saying, Magento is an EXTREMELY powerful and well built ecommerce platform. It contains all of the features necessary to deliver a stable and scalable solution for ecommerce (and more). That being said, I do have a few issues. So far, I find the system quite slow. Maybe it is just [...]
Posted in Design, E-commerce, PHP, Programming | Also tagged , , , , | Leave a comment

File upload timeouts on IIS 6

Scenario: Simple file upload application using ColdFusion 8 on IIS 6 and Windows 2003 server. The application allows for large files to be uploaded to the server for backend processing. File sizes range from 10MB – 300 MB.   Problem: File upload fails for files greater than 30MB.   Analysis: Several options were investigated including the following:   Maximum upload file size in ColdFusion [...]
Posted in ColdFusion, IIS, Programming, Server | Also tagged , , | 2 Comments
  • Subscribe to my feed Subscriber via Email Follow Me on Twitter! Check me out on Facebook! Check me out on LinkedIn!