/raptor-samples

Sample RaptorJS projects

Primary LanguageJavaScript

raptor-samples

Complete Apps

  • stocks: Simple server app built using Marko, RaptorJS Optimizer and Express that also demonstrates rendering the same UI component on the server and client.
  • weather: Simple weather app built using RaptorJS modules (Marko templates)
  • weather-dust: Simple weather app built using RaptorJS modules (Dust templates)

Marko

  • marko-express: Simple Express server app that uses Marko to render pages.

Raptor Optimizer

  • optimizer-cli: Sample usage of the command-line interface.
  • optimizer-config: Sample app that demonstrates the use of a JSON config file.
  • optimizer-async: Sample app that demonstrates asynchronous/lazy dependency loading.
  • optimizer-js-api: Sample app that demonstrates how to use JavaScript API to optimize a page and inject the resulting head and body markup into a page.
  • optimizer-taglib: Sample app that demonstrates the use of the optimizer taglib for Marko.
  • optimizer-templates: Sample app that demonstrates the use of rendering the same templates on both the server and the client.
  • optimizer-express: Sample app that demonstrates using the RaptorJS Optimizer at runtime as part of an Express server app.

Raptor Widgets