Previous
September 15th, 2005
This has the potential to be very popular: a project called Ajax pages has just been released, with the intent to allow people to embed Javascript code in HTML like we do with PHP, ASP, and JSP.
It’s not server-side, though, from what I can tell. It’s simply a way to manipulate things client-side in a familiar way.
Here’s an example:
<html>
<body>
<% var hello = "Hello World"; %>
<%=hello%>
</body>
</html>
Check out the tutorial to see how it works.
Previous
Flock, a Social BrowserABOUT
Bokardo is the blog of Joshua Porter, a web designer/developer, researcher, and writer. I live in Newburyport, MA, USA.
Designing for the Social Web
Building a social web site or application? I wrote a book just for you!
Find out more or order from Peachpit or Amazon
Greatest Hits
Upcoming Speaking Events
LATEST POSTS
Written by Joshua Porter
Find me at:
Comments ( 2 Responses so far )
1. Jeff Watkins on September 15th, 2005 (Comment) #
Yeah, I’d run across this before, but I’m still not certain what the point is. Now if this were a server environment on par with JSP — but without the memory requirements — I’d jump on it in a heartbeat. After all, I *love* Javascript.
Maybe I’m just crazy, but I don’t find the DOM that difficult to manipulate. Especially if you use shortcuts like the $() notation.
2. Justin Meyer on December 30th, 2007 (Comment) #
You should check out EJS. It’s pretty much the same thing, but it includes rails-like html helpers, some built in AJAX functionality, and debugging support. It’s got a nice walkthrough and screencast showing how to use it.