Skip to content

andrewodri/tungstenjs-carbide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is Carbide for TungstenJS?

Carbide for TungstenJS is a set of official helper classes for TungstenJS that provide easy access to common web technologies and services. Classes are not interdepenent; these can be implemented one-by-one in TungstenJS projects as needed.

What can I expect from Carbide for TungstenJS as development continues?

The following classes are currently on the roadmap for development:

Models

  • LocalStorageModel. Wraps HTML5 local storage.
  • TwitterModel. Wraps services offered by Twitter.
  • FacebookModel. Wraps services offered by Facebook.
  • GooglePlusModel. Wraps services offered by Google+.
  • InboxModel. Wraps services offered by Inbox.

Views

  • HandlebarsView. TungstenJS view functionality for Handlebars templates.
  • MustacheView. TungstenJS view functionality for Mustache templates.
  • JadeView. TungstenJS view functionality for Mustache templates.
  • EJSView. TungstenJS view functionality for EJS templates.
  • UnderscoreView. TungstenJS view functionality for Underscore templates.

Controllers

  • ResourceController. TungstenJS routing enabled controller.

This is all new to me. How can I use Carbide for TungstenJS?

See the TungstenJS Todo MVC application for an example of TungstenJS with Carbide components.

These classes are completely self-contained, and as such the only dependency is TungstenJS.

That said, each model may import it's own resources; for example, EJSView, MustacheView, and UnderscoreView each import their respective libraries. If you wish to use your own server or CDN for these imnported resources, you will need to adjust these as needed.

About

Library of helper modules for TungstenJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published