Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
/ json-forms Public archive

Simple form description standards for html and dynamic languages. (and some tools)

License

Notifications You must be signed in to change notification settings

chrishamant/json-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#json-forms

##About This project sets out to create a document a simple standard of describing forms using JSON for use by templating systems and content authors to aid the building and validation of HTML based forms.

Initial implemention will be CommonJS module usable in the browser with some supporting tooling relying upon NodeJS.

##Why? Inspiration comes from long and sad days hand coding semantic and accessible web based html forms. There is some potential cross-over/standing on the shoulders of (http://www.w3.org/TR/xforms11/)[XForms], but don't get too hasty cause some of the stuff there is ridiculously complex.

The toolset is geared to abstract the validation and rendering portions into self-contained sections so that the concepts could be re-implemented in another host language (other than javascript/ecmascript) or templating system while still taking advantage of the information contained in the JSON description format.

We hope to take like %30-%50 of the pain of handcrafting good html forms.

##Requirements Right now this pretty much is targeting nodejs and the browser. On the nodejs side - we're going to utilize jsdom and something like ejs or jade for rendering templates. Client side we can either reuse the ejs, or utilize handlerbars.js or something. Both sides will probably use jquery for dom manipulation.

About

Simple form description standards for html and dynamic languages. (and some tools)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published