Ramblings

April 30, 2011

Backbone.js

Filed under: Uncategorized — Tags: , , — michaelangela @ 3:10 am

Backbone.js is catching on and for good reason. It’s not heavy weight like SproutCore or Cappucino, gets  you going quickly, and gets out of your way. Some folks complain that is’t not full-featured enough. But that’s because it’s designed to be light weight and über extensible. It doesn’t do what you want? Extend it! Using it’s own built in .extend or with the now 100% completely indispensible underscore.js, it’s only required dependecy.

Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

 

Advertisements

August 16, 2010

Django dev with one file and Flask which inspired it

Filed under: Uncategorized — Tags: , , , , — michaelangela @ 8:38 pm

I dig Django. I’ve even been using Hyde to develop static sites especially when working on PSD > XHTML conversions. It lets me keep things DRY. You want that same block on 20 pages? Cool, no prob. Oh now you want to change it on those 20 pages with a little tweak to each? OK still cool, no prob. Anyway, I’ve seen some nice bits of code to get a dev environment up and running quickly and this post on minimal Django is cool. But I also really like what I see in Flask which inspired the search.

Minimal Django – Olifante’s Lair

Flask is a new microframework for web development. Created by Armin Ronacher, it grew from an April Fools’ prank into an elegant, usable tool in a very short time, mostly thanks to its clever leveraging of Armin’s two other babies, the Werkzeug webserver and the Jinja2 templating language.

I work daily with Django and love it, but after reading about Flask I got a small case of microframework envy. Why can’t Django development scale down as well as it scales up, and let a beginner have fun with single-file web development without becoming swamped in the full complexity of modern web development? It turns out Django can easily scale down.

Will have to elaborate in a bit… 🙂

Blog at WordPress.com.