0.10.1 • Published 12 years ago

walrus v0.10.1

Weekly downloads
260
License
-
Repository
github
Last release
12 years ago

Walrus

Build Status

Goal

  • Write a mustache templating language that fits more with the idea of view-objects as opposed to view-helpers
  • Support method helpers fully. This means: - (Semi)-Automatic invocation. - "Write what you mean" when it comes to functions. - Multiple arguments - Arguments may be primitive types - Ability to add in custom domain methods at the view object level (how do we do this?) - Still support helper methods and block helpers, but put the helper methods where they make the most sense
  • Support object paths like handlebars does
  • Make it easy to traverse back up to root, and to read as such

  • More to come...

Ideas

  • @ means this, like in coffeescript. This makes it easy to reference the root object context from anywhere.
  • do/end style blocks make more sense than # and / to me

Filter Packages

  • walrus.string: capitalization, casing, hyphenization, etc
  • walrus.inflection: pluralization, etc
  • walrus.date: date formatting
  • walrus.domain: bring raw json objects into the client domain (perhaps theres a better name for this)
0.10.1

12 years ago

0.9.1

12 years ago

0.9.0

12 years ago

0.8.3

12 years ago

0.8.2

12 years ago

0.8.0

12 years ago

0.7.2

12 years ago

0.7.1

12 years ago

0.7.0

12 years ago

0.6.1

12 years ago

0.6.0

12 years ago

0.4.4

12 years ago

0.1.1

12 years ago