(function() { window.Sandbox = { views: {}, collections: {}, models: {} }; Luca.registry.addNamespace('Sandbox.views'); Luca.Collection.namespace = Sandbox.collections; }).call(this); (function() { Luca.templates || (Luca.templates = {}); Luca.templates["main"] = function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('
This is a collection of application design components that you should use to build your next large backbone.js application.
\nIt combines the elegance and simplicity of backbone.js and bootstrap.css, with the experience of developers who have been building single page javascript apps since you were a baby.
\n \n Download\n \n \n Build a component\n \nLuca is a collection of common components needed to build large single page applications. Luca provides base classes for Model, View, and Collection classes which you can choose to extend where needed. Luca also provides an extensive library of application building components and UI elements which you can piece together in a variety of ways to build responsive, and snappy single page apps.
\nLuca is not a replacement for Backbone, it is a smart use of Backbone\'s core classes. Large apps require layers of abstraction and patterns for communication between various components, Luca provides these for you.
\nLike Backbone, you only have to use what you need.
\nWe have extracted all of the common patterns and optimizations we have learned over the course of a year developing several large applications. Using Luca allows you to leverage the power of Backbone.js but only focus on what makes your app unique.
\nIf you enable the Luca development tools, you have access to things like an in browser Coffeescript console, a CodeMirror based IDE to edit and test your components which live reloads javascript prototype changes and re-renders your components, so that you can experiment directly in the browser.
\nLive reloading of your code changes is also supported if you use the ruby gem and make changes in your favorite editor.
\nThe way the Luca framework was designed encourages us to define our apps mostly using JSON configuration, which then gets interpreted, and structural components and style rules are generated for us. Events get binded, and things just work.
\nBecause large parts of the application\'s code are just configuration strings, it is very easy to provide you with a suite of development tools that allow you to inspect what is going on behind the scenes and make changes directly in the environment if you want to experiment with some ideas.
\nLuca is just javascript and css, and will work with any server backend.
\nThat being said, Luca was developed against Rails and Sinatra apps and comes with many development helpers which work in these environments. The development environment and sandbox is a Sinatra app, but like everything else in the framework you can only use what you need.
\n