Sha256: d17e14ec3f0814e160256c8b84882a8ce99d8731c760f15dec0e02ec14344974

Contents?: true

Size: 1.2 KB

Versions: 26

Compression:

Stored size: 1.2 KB

Contents

Edifice
=======

	Edifice is a Javascript framework released as a rails plugin.


framework.js + associated helpers
---------------------------------

The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.

All you need to do is add
	<%= edifice_meta_tags %>
to your layout, in the head.

Then if you render an action, such as users/show, in the layout application, these functions[if they exist] will be fired on these js objects in the following order:

document.ready:
	- usersShow.onReady
	- layoutsApplication.onReady
	- [widgets are loaded]
	- usersShow.onWidgetReady
	- layoutsApplication.onWidgetReady
	
document.load:
	- usersShow.onLoad
	- layoutsApplication.onLoad

suppose we then subsequently load users/edit via ajax, in the layout xhr. Then the following events will fire:
	- usersEdit.onAjaxComplete
	- layoutsXhr.onAjaxComplete
	- usersShow.onAjaxComplete
	- layoutsApplication.onAjaxComplete
	- [widgets are loaded]
	- usersEdit.onWidgetReady
	- layoutsXhr.onWidgetReady
	- usersShow.onWidgetReady
	- layoutsApplication.onWidgetReady

widgets
-------

forms
-----

Copyright (c) 2010 iCyte, released under the MIT license

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
edifice-1.0 README
edifice-0.10.3 README
edifice-0.10.2 README
edifice-0.10.1 README
edifice-0.10.0 README
edifice-0.9.0 README
edifice-0.8.0 README
edifice-0.7.3 README
edifice-0.7.2 README
edifice-0.7.1 README
edifice-0.7.0 README
edifice-0.6.9 README
edifice-0.6.8 README
edifice-0.6.7 README
edifice-0.6.6 README
edifice-0.6.5 README
edifice-0.6.4 README
edifice-0.6.3 README
edifice-0.6.2 README
edifice-0.6.1 README