Clemens Kofler has a great post about when to raise exceptions within your Rails application:
Over the years I’ve come up with a little rule of thumb for exceptions:
Libraries Should Raise, Applications Should Not Raise.
Yes, it’s as simple as that. To understand the reasons for my rule of thumb, we have to switch to the world [...]
I’ve been looking for a microframework for Ruby that is simple like Camping but supports RESTful resources like Rails. A tip from the Denver Rails UG pointed me to Sinatra via Adam @ Heroku’s Blog:
Sinatra apps are typically written in a single file. It starts up and shuts down nearly instantaneously. It doesn’t use much [...]
Anyone noticed the striking similarities the Windows Live APIs have to Hailstorm? George Moore, General Manager, Live Platform Services posted an interesting article outlining the unified storage APIs becoming available:
For the first time ever we have a unified protocol and developer tooling story across most of our major storage products from Microsoft:
On-premises structured storage: SQL [...]
I was trying to setup the proper environment settings in Rails 2 to support cross-subdomain cookie sharing (so the user doesn’t have to login again if they manage multiple subdomain accounts). I was experiencing some inconsistencies when trying to make sure it was working. Here is a tip:
Clear your cookies (the Firefox Web Developer plug-in [...]
I’ve been working on a project that uses a little XHR mixed into the app to update DIVs on a page. The problem with the RESTful Authentication plugin is that it will always send a redirect back to the browser if the user is no longer logged in, but the XHR callback will simply try [...]
Here is a great example of making your visitors feel like they have found something special from: popurls. Click on the thumbnail to view full image:
So, what are the lessons for your startup?
Making someone feel special, smart, “in the know”, or that they found “the real deal” goes far
A personalized message goes even further
It [...]
Recent Comments