Orange is my favorite color

Archive for the 'Web/Internet' Category » Page 10


I’m setting up my first production implementation of CFPAYMENT and I’m managing it with ColdSpring (of coz). Here’s a neat little snippet of ColdSpring configuration that shows how easy it is to get started with the project:
<bean id=”PaymentService” class=”model.cfpayment.core”>
<constructor-arg name=”config”>
<map>
<entry key=”path”><value>braintree.braintree</value></entry>
<entry key=”MerchantAccount”><value>0</value></entry>
<entry key=”Username”><value>demo</value></entry>
<entry key=”Password”><value>password</value></entry>
<entry key=”TestMode”><value>true</value></entry>
[...]

Just found this today – Zeep Mobile. They have a RESTful API that looks pretty easy to use and there is no charge for SMS sending or receiving. They reserve the last 40 characters of a 440 character limit for a teaser ad (to which the user can reply and request more info).
Anyone [...]

If you’re interested in publishing or consuming RESTful APIs with ColdFusion, I’ve created a new CFREST Google Group for discussing the topic at http://groups.google.com/group/cfrest. Come join the discussion and get up to speed on RESTful API design and consumption!

Here’s how to do serious scaling with PostgreSQL for pennies:

Use pgpool for replication, load-balancing and failover
Run the whole thing on Amazon Web Services like Soocial

Done. There were some examples in AWS’ docs suggesting an “average web database of 100gb” with 100 I/Os per second would cost around $36/month to run. I’m pretty sure [...]

I have been working with a contractor in India recently on a Javascript project using Ext. I wanted to outsource the front-end development since we have extensive APIs that would take an outside developer longer to get up to speed on. Due to PCI DSS and general security practices however, we can’t just [...]

In my previous post, I detailed my desire to convert from char(35) to Postgres’ native uuid datatype for storing ColdFusion UUIDs. I ran into a handful of problems and Andrew shared this tidbit of Postgres SQL that I haven’t used before:
ALTER TABLE uuidtest ALTER COLUMN uidTest TYPE uuid USING uidTest::uuid;
I ran this on my [...]

Quick tip for anyone using ColdFusion’s serializeJSON routine for Javascript applications. The type conversion from CF to JSON is finicky and there are times when you need more finely grained control. Specifically using an Ext combobox, we ran into an issue where an <option> value of 0 was treated as false preventing selection [...]

Pretend you have a few thousand lines of Javascript that leverages Ext. It works great in some browsers but in other browsers it just doesn’t work. Nada. It fails silently. And the completely useless choad these vendors pass off as a Javascript debugger gives you zero feedback. Imagine that, despite [...]

A warning for anyone who uses the “Disable type checking” in the ColdFusion administrator:
This one took me a long time to debug today… I have a “formbean” defined in my Transfer ORM configuration with a onetomany relationship named “Child” that references itself. This allows a parent-child relationship. I had a typo in my [...]

I’ve been reading through a handful of Jochem’s posts about Adobe’s (incompatible with the standard 35-character) UUID and the rest of the worlds UUID/GUID (36-character). Since PostgreSQL introduced UUIDs in 8.3, I have been thinking about trying to convert my UUID primary keys to the native type in order to gain speed and reduce [...]