0.1.1 • Published 6 years ago

sadjsframework v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

sadjs - Simple Application Development for Javascript

It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience. -- Albert Einstein "On the Method of Theoretical Physics" The Herbert Spencer Lecture, delivered at Oxford (10 June 1933)

SadJs is a simple as possibly framework for building single page webapplications. The core module has 100 lines of code and contains 2 methods:

addController(url, Controller) -- Adds a new Controller which will handle a url navigate(url, parameters) -- closes the current controller and opens the new controller, passing in any parameters parsed from the query string

Each controller is responsible for an entire page, and can use Handlebars and jQUery directly to create and change the html on the screen