RSS ? Recent Blog Posts

Blogs ยป Archive for June, 2006

Jun 26, 2006 News Wire

by Kevin Yank

  • Fjax: Just say no
    Simon Willison looks at a new “technology” called Fjax, which uses an invisible Flash movie to make AJAX requests instead of the browser’s native XMLHttpRequest object. In short: it is not useful in the least.
    (tags: )
  • A look at the new Content Referral CPA from Google AdSense
    A more in-depth look at the new Cost Per Action (CPA) advertising that Google is testing. These ads will be distributed under a whole new system calle the Content Referral Network, which is separate from the current AdSense CPC network.
    (tags: )
  • Cellsea
    A free tool that lets you upload a photo or point to one online and then manipulate it with a range of filters comparable to those you’ll find in any desktop photo retouching application. Preview the effects of your changes online, then download the finished product. Turns out this is at least a partial rip-off of similar service Snipshot.
    (tags: )
  • Jitsu – Rich Web Application Framework
    Yet another open source AJAX application framework. This one lets you build your UI using designer-friendly XML. A compiler reads in the Jitsu-specific XML and JavaScript and …
 

Understanding Routes with Routing Navigator

by Tim Lucas

Rick Olson’s released a Routing Navigator plugin to help understand how the Rails routing system works for your application (note: it only supports edge rails, not v1.1.2).

To test it out:

  1. Create a new rails application$ rails routingtest
  2. Install edge rails into vendor$ cd routingtest$ rake rails:freeze:edge
  3. Install the routing navigator plugin$ script/plugin source http://svn.techno-weenie.net/projects/plugins$ script/plugin install routing_navigator
  4. Install the plugin’s CSS and JS file$ rake update_routing_navigator
  5. Start your application$ script/server
  6. Browse to /routing_navigator
  7. Modify your routes, rinse and repeat
  8. You’ll also want to add the following to the head of your layout if you want to inspect routes on any of your view pages:
    <%= javascript_include_tag :defaults, ‘routing_navigator’ %><%= stylesheet_link_tag ‘routing_navigator’ %>

For the lazy and curious: the routes generated for a base Rails application:

Route
Significant Keys
Requirements
Conditions

/:controller/service.wsdl/
[:controller, :action]
{:action=>”wsdl”}
{}

/:controller/:action/:id/
[:controller, :action, :id]
{}
{}

 

An easy way to determine the best marketing strategies

by Andrew Neitlich

Here is an easy way for you to determine the marketing strategies that work best:

Take a look at the professionals you’ve hired recently, and figure out how you ended up hiring them.

In my case here are examples:

- Physical therapist for tennis elbow: Referred by a tennis buddy who raves about him.

- Production for website: Radio ad followed by referral from someone in the industry.

- Boxing photographer: Referral from someone in industry.

- Restaurant: Great review in paper.

- Accountant: Listed on website as Quickbooks expert, then I interviewed him about his other capabilities.

- Pool cleaner: Referred by my in-laws, who use him.

- Hair cut: Referred by my wife.

- Lawyer: Google search for local attorneys along with name recognition from advertising and news about them.

- Financial planner: Met him on the tennis court.

- Web designer: Listed in a marketing book with reference guide to top web designers who know what they are doing in selling info products.

So in my case, I conclude that referrals are key, as are online listings.

Obviously this is a simple and non-scientific analysis, but give it a try and see what you discover. What do you conclude about how you buy, and how you should market?

 

The power of String.prototype.split() … almost

by Harry Fuecks

If you feel you’re not getting enough respect as a web developer, here’s a nice pie [profanity warning - don't click if you're easily offended] to throw at people.

Actually think the “time spent wishing a slow painful death on Bill Gates” segment needs expanding – Bill isn’t directly to blame. In fact it would be great if the IE team could be more forthcoming and put names to features, so we know exactly who to swear at: “Hi, I’m [insert name] and I’m the guy that put an undefined value at end of your array, every time you leave that trailing comma, resulting in bugs that will keep you amused for hours :)”.

A little bitter at the moment after getting stung by this special while playing with a Javascript version of this. Despite all things AJAXy, writing cross browser code still feels like flying blind. Allow me a moment of complaining…

From the spec (p103 / 104);

If separator is a regular expression that contains capturing parentheses, then each time separator is
matched the results (including any undefined results) of the capturing parentheses are spliced into the
output array. [...]

In fact this behaviour is nothing special to Javascript.

For …

 

Jun 22, 2006 News Wire

by Kevin Yank

 

Jun 21, 2006 News Wire

by Kevin Yank

 

The Inevitable AJAX Book

by Kevin Yank

The following is republished from the Tech Times #141.

Perhaps inevitably, SitePoint has published an AJAX book. Build Your Own AJAX Web Applications goes on sale today through sitepoint.com, and comes with a free Introduction to AJAX video tutorial by yours truly.

Build Your Own AJAX Web Applications coverI remember hanging out with some of the big players in the computer book publishing world at O’Reilly’s sales conference in Sebastopol last year. One of the reps responsible for selling all of the companies’ products to book stores cornered Matt Mickiewicz and I: "We’ve got six AJAX books coming out in the next three months. Where’s yours?"

Truth be told, SitePoint has never been the first to publish a book on a given subject. We prefer to hang back a little and wait until we have something unique to say.

Thus, you’ll find that Build Your Own AJAX Web Applications is an AJAX book that stands out from the crowd. Where we have seen other books on the subejct fail time and again is in providing an answer to the question of accessibility: how can you produce AJAX applications that don’t disrupt the browser’s …

 

Flickr, Zooomr and API Parity

by Kevin Yank

The following is republished from the Tech Times #141.

An issue I touched on in my editorial on Web 2.0 Connectedness bubbled to the surface this week with news that Flickr had denied a request from competitor Zooomr for access to the Flickr API so that Zooomr could import users’ Flickr photos and metadata (e.g. tags) for them.

Now before you hit the warpath, I should point out that Flickr has approved requests for API access from other competitors like Riya and Tabblo in the past. Something about the directness of the competition that Zooomr represented for Flickr tipped the scales, however, and Flickr made the call. Via email to Zooomr:

…we choose not to support use of the API for sites that are a straight alternative to Flickr.

Founder Stewart Butterfield even shared his reasoning on the FlickrCentral forums:

With respect to granting a commercial API license to a direct competitor: we might not. [...] In the case of a truly direct competitor (and, so far, we have very few), we probably wouldn’t. And I don’t see that as malicious on our part: why should we burn bandwidth and CPU cycles sending stuff directly to their …

 

ActiveRecord receives pessimistic locking

by Tim Lucas

Jeremy Kemper just added pessimistic locking to ActiveRecord:

Person.transaction do
person = Person.find(1, :lock => true)
person.visits += 1
person.save!
end

 

Jun 20, 2006 News Wire

by Kevin Yank