News for hackers. Stuff that matters.
Re:Announcing the first release of batman.js by bprater on Wednesday August 24, 2011 @07:47PM (#2923134)
From the site: "It gives us great pleasure to finally announce the release of batman.js to the JavaScript community today. This release represents the first code dump of something we’ve been working hard on at Shopify for a long time, so we’re very excited to get it into your hands and see what you do with it."

I got zero value out of this lead.

When you launch a product like this, please tell us why we'd want to use this. As developers, we don't have a bunch of time to parse your project notes. "It's like XXX, but offers these advantages..." At this moment, I don't know what batman.js is actually useful for!

Re:Announcing the first release of batman.js by nciagra on Wednesday August 24, 2011 @08:36PM (#2923268)
Sure, I'll break it down: batman.js is a JavaScript framework for rich JavaScript applications. It's designed to make development as fast and as painless as possible for developers and designers while giving them lots of power.

We designed everything around a number of primary goals such as convention over configuration, HTML-based views, and the principle of least surprise. This is something we're using at Shopify in our future projects, so it's meeting those goals while coming out of real work.

If you want more info, the features page (http://batmanjs.org/features.html) has a list of everything we're trying to do, and the examples page (http://batmanjs.org/examples.html) has a few usage examples. There's still only a couple, but I'm working as quickly as possible to build out the gallery.

And of course, let me know if there's anything else I can answer about the framework. I hope that helped clear it up a bit, though!

Re:Announcing the first release of batman.js by sirclueless on Thursday August 25, 2011 @05:39AM (#2924334)
"batman.js is a JavaScript framework for rich JavaScript applications. It's designed to make development as fast and as painless as possible for developers and designers while giving them lots of power."

That sounds like a pitch I would give a non-techie manager or client. Someone who's been around computers enough to know that javascript is the thingie that makes web pages do stuff.

Your target audience is developers, yes? We can take it. The first thing in your pitch should be how it helps, not "We'll save you lots of time, we promise. Trust us!"

Re:Announcing the first release of batman.js by marknutter on Thursday August 25, 2011 @08:45AM (#2924688)
Man, tough audience.
Re:Announcing the first release of batman.js by nikcub on Wednesday August 24, 2011 @09:45PM (#2923434)
I didn't know about batman either and I got the same impression when landing on the page. It took me a few clicks to get a handle of what it was.

Can I suggest that in the website header you include some sort of one-line description, like 'the javascript web application framework', or similar and more creative?

Re:Announcing the first release of batman.js by pbreit on Wednesday August 24, 2011 @11:25PM (#2923656)
I still don't really understand when I would consider using it. Would you use it to create some or all of Shopify?

Maybe this blurb from the documentation could find its way to the hoe page:

batman.js is a framework for building rich single-page browser applications. It is written in CoffeeScript and its API is developed with CoffeeScript in mind, but of course you can use plain old JavaScript too.

Re:Announcing the first release of batman.js by edwardog on Thursday August 25, 2011 @12:25AM (#2923758)
(Disclaimer: I work for Shopify.)

Shopify would use this to write the client-side parts. We can now save on a lot of server-side rendering of pages every time a request happens; instead we just send back JSON and Batman.js knows how to change the page accordingly.

We’re already using it internally for non-core projects like our phone support system (Batman.js + Faye + Adhearsion) – it makes for a really responsive web app that’s easy to maintain.

Expect to see this in the core Shopify product very soon :)

Re:Announcing the first release of batman.js by mhansen on Thursday August 25, 2011 @01:33AM (#2923871)
I still don't get what I'd use it for. Is it like jquery? Is it like rails?
Re:Announcing the first release of batman.js by ktusznio on Thursday August 25, 2011 @02:01AM (#2923915)
Batman aims to introduce rails-like conventions for building single-page web apps.

Nick gave a nice demo at JSConf earlier this year: http://blip.tv/jsconf/jsconf2011-nick-small-5293530

Re:Announcing the first release of batman.js by maaku on Thursday August 25, 2011 @03:31AM (#2924100)
Sure, I'll break it down: batman.js is a JavaScript framework for rich JavaScript applications. It's designed to make development as fast and as painless as possible for developers and designers while giving them lots of power.

Still nada. What does it actually do? A framework for doing what w.r.t. rich JavaScript applications? Is this like Cappuccino? How does this "make development as fast and as painless as possible for developers and designers while giving them lots of power"?

Re:Announcing the first release of batman.js by walrus on Thursday August 25, 2011 @04:39AM (#2924211)
It's a rapid development tool for front-end development. If I'm reading the documation correctly, I think it's based on the MVC architecture.

Sure, you could make your backend in plain Ruby, but if you learn to use Rails you can do things quicker.

Sure, you could make your frontend in plain JavaScript, but if you learn to use batman.js you can do things quicker.

Re:Announcing the first release of batman.js by antrix on Wednesday August 24, 2011 @07:57PM (#2923163)
Just two sentences after that, it lists exactly what it offers. One click away is the homepage which has much more detail. Are you seriously _so busy_ that you can't read a couple of lines more? And if you really are, please do practice skimming!
Re:Announcing the first release of batman.js by gurkendoktor on Wednesday August 24, 2011 @10:51PM (#2923570)
I am a JS community outsider and I am reading this over breakfast. I couldn't figure out what I was looking at: Server-side? Client-side? Both? Then I thought, hey it's from Shopify, it must be client-side because Shopify is running on Rails. Right? But then, why routing? And then the second bullet item list says, "server-side batman.js is not yet very useful". So there it is running on both after all? Necessarily?

After giving up on the blog post, the index page of batmanjs was great though. I think it should've been linked to instead.

Re:Announcing the first release of batman.js by bprater on Wednesday August 24, 2011 @08:23PM (#2923229)
My broad point was that in watching hundreds of projects launch via H!News -- that in this Facebook era, all of us are having less tolerance for doing the skimming you mention. When you are fortunate enough to make it to front-page of H!News -- make it count.