Reference Manual · seancorfield/fw1 Wiki Reference Manual This page provides a description of all the APIs and components involved in a FW/1 application. Please also read the Roadmap to see how things may change in the future. FW/1 Controllers A controller in a FW/1 application does not need to extend any base component. A controller method is passed a single struct called rc (request context). A controller communicates data to other parts of a FW/1 application by adding data to rc. The following public methods are significant in a controller (and are all optional): void before(struct rc) – called at the start of each request to this section void startItem(struct rc) – called next, for section.item void item(struct rc) – called next, for section.item void endItem(struct rc) – called after services have executed, for section.item void after(struct rc) – called at the end of each request to this section before views are rendered. <cfscript> function init(fw) { variables.fw = fw; } </cfscript> FW/1 Services FW/1 Views FW/1 Layouts request.
Examples Demos. Lots of demos. *neo glasses* View source on all these demos to see what they're made of. Static renderer This example statically renders documents on the server. View 'html' » General Editor This example shows the use of an Ace editor which can edit any ShareJS document. Edit anything » Wiki This example demonstrates using ShareJS to implement a wiki. Explore the wiki » Underscore.js mbostock/d3 jQuery UI documentcloud/backbone Backbone.js Happy.js | Lightweight form validation for jQuery or Zepto.js Datavisualization.ch Selected Tools
Command line interface for WordPress | wp-cli