Tim's Weblog
Tim Strehle’s links and thoughts on Web apps, software development and Digital Asset Management, since 2002.
2004-09-08

PHP/JavaScript scriptserver

Great idea, but currently may render your browser unusable while waiting for the server to respond - Harry Fuecks' Crouching Javascript, Hidden PHP solution:

"Let's say you have a PHP class that looks something like;

class Math { function add ($x, $y) { return $x $y; } }

You can now use this from Javascript like;

var m = new math(); alert (m.add(2,2));

No need to think about the underlying mechanism / encoding."