infundibulum

The Client is the Server?

April 19th, 2005

When you get right down to it, defining the difference between “client” and “server” can be a pretty challenging thing to do.

Stuart Langridge’s SitePoint blog Stylish Scripting has been interesting of late, and this post touches on blurring trends between client and server: JavaScript and domain specific languages. He references a rather mind-bending demonstration of an entire spreadsheet in Javascript.

Head a splodes.

Anyway, there’s one comment on the post in particular that I found memorable:

I do like the idea of client-side templating, since with Ajax/remotescripting in play, the client *is* the server. People are experimenting with the best way to pass data back and forth — pass eval()able JS, pass XML and then parse it with a DOM clientside, pass formatted HTML to be slammed into the document. This is much the same as server-side things were, and templating is a good match there, so I see no reason why it wouldn’t be so on the client as well.

Browsers are interesting again, who woulda thunk it…