Skip to content

warmuuh/yaap

Repository files navigation

#Yaap Build Status

Yaap is a generic annotation processor for javascript. It can be used to implement cross-cutting concerns and inject additional aspect oriented code.

It supports annotations at class-, function- and parameter-level of javascript objects. (see examples)

There are also three examples for server and client scenario:

###Example application There is a more complex web application example developed with wire and a lot of yaap-features: yaap-nodepad

#Changelog ##0.1.4

  • moved wire-plugins and express-functionality into its own project yaap-wire to make yaap more lightweight

##0.1.3

  • improved debug logging
  • support for Promises in yaap/wire/express (instead of @Callback)

##0.1.2

  • updated dependencies to wire.js 0.10.0 and when.js 2.2.1

  • added yaap-options:

    • debug: add debug output (default: false)
    • shallow: only process own methods (not inherited) => boosts performance (default: true)
    • improved performance

##0.1.0

  • classbased annotations
  • "return"-callback with @Callback to cope with asynchronity
  • connect-auth integration with @Auth
  • bugfix for @PreDestroy/@PostConstruct

##0.0.4

  • New Express-Annotations: @POST,@GET,@PUT,@DELETE and req/res-processing parameters: @Body, @JSON, @Param

##0.0.3

  • New Wire-Annotations: @PostConstruct, @PreDestroy (more information)
  • New Browser-specific Wire-Annotation: @On (for eventbinding) (more information)
  • Performance Improvements
  • Rearranged plugin-api
  • yaap/wire-plugins can promise now (and must, in case of deferred reference-resolving) (more information)

##0.0.2

  • browser-compatibility (available in bower)

##0.0.1

  • Yaap Annotation processor
  • Initial Annotations: @Default, @NotNull
  • Initial Wire-specific Annotations: @Autowired

About

annotations for javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published