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.“