Sunday, July 27, 2008

Following Drupal

A good way to follow wthat's happening with Drupal worldwide is to subscribe to the Drupal Planet feed.

I am really excited to see this creative way to popularize a project. No need to hang around the Web anymore in order to get an overview about this software. More than 200 feeds aggregated into a single one!

Tuesday, July 8, 2008

How to Delegate Your (Open)Identity Authentication to Wordpress

Everyone using Wordpress has an OpenID, e.g. mine is Yahoo and Google users also have an OpendID. Many other sites give it to you for free as well.

However, I don't like these imposed ids of mine. Fortunately I own a domain name which is quite a friendly way to identify myself on the Web.

Here is how I set up my identity (according to the article on delegation):

  1. Since I link to this blog, I configured a subdomain to stand for my OpenID

  2. Then I configured my new subdomain to point to a simple Web page (
    <link rel="openid.server" href="" />
    <link rel="openid.delegate" href="" />

    <link rel="openid2.provider" href="" />
    <link rel="openid2.local_id" href="" />

The tricky part was to figure out what is the OpenID server at Wordpress (that's in bold).

Now I can login to every OpenID consumer with which is the id I own. When I get bored using Worpress as an OpenID provider I can switch to Google, Yahoo, etc. and still keep it as!

UPDATE: Looks that Wordpress openid support with delegation does not always work. So I switched to (I like that green color that they have). For an example how to configure delegation specifically for you can look, for instance, here.

Monday, July 7, 2008

JavaScript in Eclipse

JSDT is a promising JavaScript IDE. As an article from IBM says the features of JSDT include:

  • Syntax highlighting

  • Folding/line numbers

  • Full outlining, showing classes, functions, and fields

  • Highlight and check of matching brackets/parentheses

  • Auto-complete of brackets, parentheses, and indentation

  • Mark occurrence

  • Comment toggle (line and block)

  • Generate element JsDoc

  • Surround with do, for, try/catch, while

  • User-configurable completion templates

  • Extract function/change function signature

  • Indentation correction

  • Open declaration

  • Open-type hierarchy

  • Open-call hierarchy

  • Customizable code formating

  • Full search

  • Refactor/rename/move

  • Breakpoint support

  • Defined browser libraries with JsDoc for Firefox, Internet Explorer, and ECMA-3

  • Support for user defined libraries using JsDoc + JavaScript prototype definitions

  • Library image support

  • Debugging support provided through the ATF Project

Exciting! JSDT is already available. It's part of the Web Tools Platform V3.0, and I guess it's currently the best JavaScript toolkit out there.

Thursday, July 3, 2008

AJAX IM Client: Do It Yourself

Some time ago I was wandering around Internet in search for an open source Ajax IM client. I found a few, but I didn't dare to dig into their code hence ended up choosing none of them. First reason was that I didn't quite understand how IMs work, second, most open source IMs have too many features, and look complicated (scary).

After I bought the Jabber Developer's Handbook things became clearer. I understood that it's not that trivial to speak XMPP language. Fortunately there are libraries for that. E.g. XIFF for ActionScript (Flex). I wanted something like that for JavaScript. Not that easy... So I suspended my research.

Recently I found a nice tutorial on IBM developer works: Create an Ajax-based IM client

Tuesday, July 1, 2008

Jenabeans Make RDF Easier

Jenabeans is there to help developers to adopt RDF. If you worked with Java Persistence API (JPA) or Hibernate you can understand the value of defining your data model using Java annotations instead of DDL scripts. Jenabeans works similarly: annotations, (un)marshalling, etc.

Read a nice introduction to Jenabeans in an IBM developerWorks article. It's short but fluently defines the main aspects of the library.