This little book shows JavaScript developers how to build superb web applications with CoffeeScript, the remarkable little language that’s gaining considerable interest. Through example code, this guide demonstrates how CoffeeScript abstracts JavaScript, providing syntactical sugar and preventing many common errors. You’ll learn CoffeeScript’s syntax and idioms step by step, from basic variables and functions to complex comprehensions and classes.Written by Alex MacCaw, author of JavaScript Web Applications (O’Reilly), with contributions from CoffeeScript creator Jeremy Ashkenas, this book quickly teaches you best practices for using this language—not just on the client side, but for server-side applications as well. It’s time to take a ride with the little language that could.Discover how CoffeeScript’s syntax differs from JavaScriptLearn about features such as array comprehensions, destructuring assignments, and classesExplore CoffeeScript idioms and compare them to their JavaScript counterpartsCompile CoffeeScript files in static sites with the Cake build systemUse CommonJS modules to structure and deploy CoffeeScript client-side applicationsExamine JavaScript’s bad parts—including features CoffeeScript was able to fix
Prototyping is a great way to communicate the intent of a design both clearly and effectively. Prototypes help you to flesh out design ideas, test assumptions, and gather real-time feedback from users. With this book, Todd Zaki Warfel shows how prototypes are more than just a design tool by demonstrating how they can help you market a product, gain internal buy-in, and test feasibility with your development team.
Google's "official" live ticker from the Dart launch at GOTO Århus Conference. I regret I won't have time to follow this closely... But I'm very curious indeed about Google's new programming language for the browser.
"CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way." One could also say that CoffeeScript clearly demonstrates how terrible pure JavaScript as a language is, at least in terms of its syntax, because CoffeeScript is a language that is compiled into JavaScript.
From the summary: "In his keynote at JVM Languages Summit 2009, Rich Hickey advocated for the reexamination of basic principles like state, identity, value, time, types, genericity, complexity, as they are used by OOP today, to be able to create the new constructs and languages to deal with the massive parallelism and concurrency of the future. "
Great tool for debugging javascript: displays a hierarchical representation of an arbitrary javascript object, with adjustable default depth and a drilldown mechanism, as well as prevention of circular references. Blog article contains a screencast explaining prettyPrint's main functions.
An excellent writeup of how Django components can be used in standalone scripts. You may set DJANGO_SETTINGS_MODULE, use setup_environ() or settings.configure(). Each method is discussed with pros and cons. Even more wisdoms in the comments.
Another useful app for developers: a place to store code snippets or infrequently used commands that one tends to forget. Looks nice. Is done with django. What more can I say?
Questions and answers on programming. Good contributions result in points to be used for voting on questions and answers. It'll be interesting to see if the trolls can be kept out this way.
The article shows how class based decorators can be used to abstract away common functionality in an elegant way. Also contains a general 'memoize'-decorator that can boost the performance of recursive functions by orders of magnitude.
Web development may not be an engineering discipline, but some of the general "laws" of software engineering are equally true in the web industry. Nice summary.
Resolver One 1.0 is out. Now this looks like a great idea - a spreadsheet app that presents data and formulae in the classic way and at the same time as an IronPython program that can be manipulated and extended - and exported to the web in no time.
An awesome set of basic django apps published under the BSD license: blog, places, people, profiles - and apparently a log of great ideas for more basic apps to come. These can be very useful for reuse and also for learning django.