Basil, known as the king of spices, is the base to the cuisines of cultures worldwide. The word Basil derives from the Greek word, "King". We see the Basil framework as the king of our MVC web applications. It's speedy, powerful, and allows for designers and developers to work together freely. Basil was conceived by Randy Apuzzo and Jason Spangler as a view system of the Zesty Manager that allowed Randy to markup and design while Jason engineered. It has a very snappy response time on browsers and creates a more productive environment for designers and engineers. Jason continues to develop Basil, with the goal to make it flexible between frameworks (It currently utilizes Mootools for ajax requests). Basil will continue to grow as it gets expands with the Variable Action team.

How does Basil work?

Basil, is a view/controller package for frontend designers and javascript developers. Basil dyanmically loads views, can attach events to tags, and load dynamic content from simple HTML attributes. Basil has a built in hash change listener built with HTML/Javascript, and is javascript framework independent.

Designers: Basil uses Simple HTML markup attributes to control the the behaviors, triggers, views, and data calls. This enables you to mark up views/templates with little to no coordination with the backend developers. Views are stored as .tpl files in the views folder, views are are purely HTML.

Developers: Basil abstracts interface codings into behaviors, triggers, and data calls. There is a little more work on your end to understand how Basil accesses the code, but it will pay off as your designers can be marking up and styling as your develop. Let's look at some quick examples before we get into detail.

You can learn more about basil in a blog post by VA's Jason Spangler explaining the system.

Basil is a public repository on Github. It can be followed or forked Basil on GitHub