GithubHelp home page GithubHelp logo

jrschild / desperado Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.23 MB

A different layout manager to render your templates. Works with different templating languages and javascript frameworks.

JavaScript 100.00%

desperado's Introduction

Desperado

A different layout manager to render your templates. Works with different templating languages and javascript frameworks.

The idea of this syntax is a replacement for layoutmanagers like Marionette (ItemView, CollectionView, etc...) or Chaplin. It should enable the developer to better seperate View classes from how data is passed to the view.

The templates must be pre-compiled and exist in its own namespace. These templates can be enhanced by Desperado. They will provide an extra set of utilities and helper functions to define how and where a template should be rendered.

Benefits

This way it should be easy to implement the view-rendering on both the server and client while still keeping everything highly dynamic. They're practically 'smart' templates that know on itself where and how to render. The benefits are:

  • It is fast and small.
  • Code becomes less verbose.
  • Easier to seperate HTML from logic.
  • Works with any templating language.
  • Can be used with any javascript framework.
  • Can be used on both the server and the client.
  • No dependencies except your favorite templating-engine.
  • Automatic buffering, delays DOM insertion until completely rendered.

Browser Support

Basically all browsers that implement querySelectorAll are supported.

  • Chrome
  • Firefox
  • IE 8 and up
  • Safari
  • Opera
  • iOS
  • Android

Dependencies

None, except your favorite template engine!

desperado's People

Contributors

jrschild avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.