Behaviour : Using CSS selectors to apply Javascript behaviours

„AJAX (asynchronous javascript and xml) has been getting a lot of press lately. It is seen as a way to add desktop-application functionality to html pages. Things like Drag and drop, Fluid animations and Dynamic page updates.

It’s great to see public uptake of these technologies – but it worries me to see the influx of tags and onclick attributes into webpages.

After all the work of WASP and others to promote clean markup, valid pages and graceful degradataion via css – it sucks that we’re going back to tag soup days by throwing javascript tags into our html.

The better way to do javascript is to do it unobtrusively. PPK and Simon Willison have been recommending this approach for ages. And it’s definitely the way to go. The only problem is that it’s a bit of a pain in the ass.

That’s why I came up with Behaviour – my solution to unobtrusive javascript behaviours.

How does it work?
Behaviour lets you use CSS selectors to specify elements to add javascript events to“

Behaviour : Using CSS selectors to apply Javascript behaviours

Behaviour : Using CSS selectors to apply Javascript behaviours

FilterFaker auf eigenem Server – Kostenloser Webproxy

Vor einigen Jahren habe ich feststellen müssen, dass manche Internetverbindungen (Internetcafe, Schule, Firma…) über Filterung nach bestimmten Keywords oder Urls manche Seiten einfach nicht anzeigen. Zuerst habe ich mich daran gemacht, ein sehr kleines Perl-Script zu basteln, welches die betroffene Seite über meinen Webspace an den Browser weiterleitet. Das hat für den reinen Text auch soweit funktioniert. Kurz darauf bin ich auf ein webbased Proxy-Script namens „CGI-Proxy“ gestossen.

Leider lief es auf meinem damaligen Webspace nicht. Es waren aber viele im Internet frei verfügbar installiert. Da die Proxy aufgrund des gigantischen Traffics bald der Reihe nach starben, habe ich meinen (bereits veröffentlichten) FilterFaker zu einer Art „Meta-Proxy“ umgebaut. Jeder Request wurde an einen anderen der frei verfügbaren Proxies weitergereicht. Die Liste die hinter dem Script stand wurde von mir sporadisch nachgepflegt. Leider bin ich irgendwann nicht mehr mit der Pflege hinterhergekommen, da die Proxies immer schneller starben… Die Webseiten werden halt heutzutage nicht unbedingt kleiner.

Dieses Wochende bin ich per Zufall wieder auf die Seitde des Programmiers von CGI-Proxy gestossen und habe gesehen, dass nach langer Zeit das Script wieder aktualisiert worden ist. Nach kurzem Überlegen habe ich das Script nun ausschliesslich auf meinem Server laufen. Es gibt keine nun Performance- und Verfügbarkeitsprobleme mehr. Trafficmäßig hält es sich bisher noch im Rahmen.

Im Gegensatz zu vielen kommerziellen Diensten wie Anonymizer oder SaferSurf usw… kann man bei mir kostenlos über den Proxy surfen.

Ich wünsche viel Spass mit dem neuen Filter Faker

WikiMatrix

„Welcome to the brand new WikiMatrix.org, your number one source to find the Wiki engine that matches your or your company’s needs. „

WikiMatrix

WikiMatrix

The Net is Dead&-&Easy Ajax for the masses with xajax

„Easy Ajax for the masses with xajax
A while ago I mentioned I was going to deliver a presentation on PHP and Ajax. The conference on which I delivered it took place last week on November 10. I also promised people I’d translate everything I prepared for the presentation for posting on my weblog. It took some time but here it is! If you’re interested in diving into programming your own Ajax functionality with PHP this article might be a nice starter.
Together we’ll take a look at the xajax class library for PHP. You’ll be surprised how easy it really is to create the nifty stuff you’ll find all over the internet lately. I have prepared four documented working examples on how to use xajax in real-world situations. You can study the sourcecode as well as download the whole set to do with it whatever you like. Let’s dive into xajax!“

The Net is Dead&-&Easy Ajax for the masses with xajax

The Net is Dead&-&Easy Ajax for the masses with xajax

Rewriting dynamic URLs into friendly URLs – Valentin Agachi: web developer

„Rewriting dynamic URLs into friendly URLs

Let’s suppose you are building a small database driven website or web-based application which you need search engine covery for. And this isn’t the only reason why you would choose to create a web application with search engine friendly URLs. Another important aspect is the usability of this feature. To achieve this, you could use Apache’s mod-rewrite module. This would be one way. Another way would be to implement a sort of URL rewrite engine into your web application’s engine.“

Rewriting dynamic URLs into friendly URLs – Valentin Agachi: web developer

Rewriting dynamic URLs into friendly URLs – Valentin Agachi: web developer

SNARF from Microsoft Research

„Microsoft Research’s Community Technology presents SNARF, the Social Network and Relationship Finder.
SNARF was built around the notion that social network information that is already available to the computer system can be usefully reflected to the user: a message from a manager might be seen differently than a message from a stranger, for example. SNARF applies this idea to email triage: handling the flow of messages when time is short and mail is long.
The SNARF UI is designed to provide a quick overview of unread mail, organized by its importance. The UI shows a series of different panes with unread mail in them; each pane shows a list of authors of messages. Clicking on a name shows all messages involving that person.
People use a variety of strategies to handle triage; there is no single „best“ ordering of email messages to produce an optimal outcome.
SNARF gives the user the freedom to build their own ordering. Each person in their inbox is assigned a set of meta-information: „number of emails sent in the last month,“ for example. These metrics can, in turn, be combined to create an ordering across all contacts. For more information, check out the CEAS paper on SNARF.“

SNARF from Microsoft Research

SNARF from Microsoft Research