Archive for the 'Programming' category
Posted on February 9th, 2009 in Programming, Uncategorized, miscellaneous, ruby with no comments
I recently played around with adding FedEx shipping services to the active_shipping plugin and found a bit of confusion online in regards to how to hit FedEx depending upon the style of service being exposed. Somewhat confusingly, FedEx has non-SOAP services as well as SOAP services that you can hit restfully in an HTTPS Post. [...]
Posted on October 19th, 2008 in Programming, Uncategorized, Web Development, ruby with 1 comment
For any folks out there struggling to get the Ruby OAuth gem working with Netflix authentication, here’s a quick run down on how to get started. The 0.2.7 version of Ruby OAuth isn’t totally compatible with the Netflix authentication APIs. However, thanks to the grooviness that it is GitHub, Rob Ares graciously forked the OAuth [...]
Posted on October 9th, 2008 in Programming, Web Development, datamapper, ruby with no comments
I’ve apparently caught the DM Adapter bug, as I’ve decided to write one to access Netflix while I finish up my MailChimp adapter. I’ll be posting as I go along, as I’ve been learning quite a bit about the inner workings of DataMapper while going through this process. Cheers.
Posted on October 3rd, 2008 in Programming, Web Development, datamapper, merb, ruby with no comments
As I mentioned in my last post, I’ve started looking into writing DataMapper Adapters, using my MailChimp wrapper as an example. Thus far, I’ve been pretty impressed with the Adapter layer built into DataMapper and the possibilities this abstraction layer provides. A quick search over at GitHub will show you all the interesting things folks [...]
Posted on September 29th, 2008 in Programming, merb, ruby with 1 comment
Inspired by this post by The Merbist, I’ve decided to begin writing a Datamapper Adapter for MailChimp as a follow up to my post about creating a Merb web service. Look here for updates. Just an empty shell at the moment, but I’ll remedy that shortly.
Posted on September 20th, 2008 in Programming, Rails with 2 comments
For whatever reason, I can rarely remember the myriad syntax for managing gem dependencies in Rails. I’ve visited this page quite a bit during various projects. When trying to install the zeep messaging gem recently, sure enough I struggled a bit with getting the syntax correct. Anyway, without further ado, here is what worked: config.gem [...]
Posted on September 8th, 2008 in Programming, Software Design, Web Design, Web Development with 3 comments
A while back, I was asked to build some code to help keep a businesses mailing list synchronized between SalesForce.com and their campaign management tool, which I suggested should be MailChimp and not the tool they were currently using, but I digress. The project never materialized, but I figured I would build it anyway and [...]
Posted on July 26th, 2008 in Programming, Web Development, miscellaneous with no comments
Some interesting resources and news in the world of web site optimization recently. Good stuff for those who care about this sort of thing. I look forward to clogging up my works print queue with Velocity presentations on Monday even though printing is a bit evil.
Posted on June 10th, 2008 in Programming, Rails with no comments
Fixed a sorta obvious bug and added a new feature to acts_as_chimp today. You can now specify a list of merge tags in your acts_as_chimp model declaration like so: [sourcecode language='ruby'] acts_as_chimp :mailing_list_id => ‘your_list_id’, :mail_merge => {“EMAIL” => :email, “FNAME” => :first_name, “LNAME” => :last_name } [/sourcecode] The plugin will read the method values [...]
Posted on June 4th, 2008 in Programming, Rails with no comments
Been playing around with accessing Braintree transactions from ActiveResource, using the Query API in particular. Thanks to the folks over at QuarkRuby, getting started was quite easy, so I figured I might as well post what I have for the uninitiated. pastie To get started using the API, use commands like the following: t = [...]