Earlier quoted context omitted.
The subtext is that you should learn CoffeeScript. It's an alternative syntax, not a new language. They wrote you a nice library and are giving it away under an MIT license. You don't get to pick the style they use to write the examples. That's like going to a science lecture and walking up to the speaker afterwards to say, "Hey, I think you have some great theories, but you really should lose that Australian accent…
They wrote you a nice library and are giving it away under an MIT license. You don't get to pick the style they use to write the examples. This is a response to something nobody's saying. Obviously if they write it they get to choose pretty much everything about it. Nobody is disputing such a thing. However, if one of the goals in releasing this is to be maximally useful, isn't the fact that raw Javascript is more re…
Announcing the first release of batman.js
21–30 of 78 posts
Re: Announcing the first release of batman.js
#22PLEASE: body{ color: #000000; } Thankkk you! Other than that, looks cool! Definitely will be trying it out in my projects and reporting back!
Re: Announcing the first release of batman.js
#23Earlier quoted context omitted.
They wrote you a nice library and are giving it away under an MIT license. You don't get to pick the style they use to write the examples. This is a response to something nobody's saying. Obviously if they write it they get to choose pretty much everything about it. Nobody is disputing such a thing. However, if one of the goals in releasing this is to be maximally useful, isn't the fact that raw Javascript is more re…
Nobody who knows CoffeeScript needs to be informed that JavaScript is more mainstream.
Re: Announcing the first release of batman.js
#24I'd like to see some examples in JavaScript, instead of CoffeeScript. Since at this point only a smaller subset of developers use CoffeeScript, I think it might be overall useful to more people if the provided examples used plain JavaScript (that, and CoffeeScript developers tend to understand JavaScript already, and may already be used to converting one to the other).
The subtext is that you should learn CoffeeScript. It's an alternative syntax, not a new language. They wrote you a nice library and are giving it away under an MIT license. You don't get to pick the style they use to write the examples. That's like going to a science lecture and walking up to the speaker afterwards to say, "Hey, I think you have some great theories, but you really should lose that Australian accent…
Or maybe more accurately a speech in modern English to a group of early modern English speakers.
Re: Announcing the first release of batman.js
#25From 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…
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 i…
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
#26 # Create our application and namespace.
class Alfred extends Batman.App
@global yes
@root 'todos#index'
# Define the principle Todo model with `body` and `isDone` attributes, and tell it to persist itself using Local Storage.
class Alfred.Todo extends Batman.Model
@global yes # global exposes this class on the global object, so you can access `Todo` directly.
@persist Batman.LocalStorage
@encode 'body', 'isDone'
body: ''
isDone: falseRe: Announcing the first release of batman.js
#27It says it's for JavaScript, but I don't even know what language the code example is in. What is this?! # Create our application and namespace. class Alfred extends Batman.App @global yes @root 'todos#index' # Define the principle Todo model with `body` and `isDone` attributes, and tell it to persist itself using Local Storage. class Alfred.Todo extends Batman.Model @global yes # global exposes this class on the glob…
Re: Announcing the first release of batman.js
#28It says it's for JavaScript, but I don't even know what language the code example is in. What is this?! # Create our application and namespace. class Alfred extends Batman.App @global yes @root 'todos#index' # Define the principle Todo model with `body` and `isDone` attributes, and tell it to persist itself using Local Storage. class Alfred.Todo extends Batman.Model @global yes # global exposes this class on the glob…
CoffeeScript
CoffeeScript is not JavaScript. If it's a JavaScript framework, please give code examples in JavaScript.