Giter Site home page Giter Site logo

architect's Introduction

Architect - Javascript Template Editor

Web app for editing Javascript templates in various engines.

Making and Credits

Architect started life as a simple page for testing Mustache templates, but quickly evolved into a web app for editing templates in all the popular Javascript templating engines.

Architect was made using native DOM methods (no jQuery) and without any polyfills. I did this as a learning experience and to avoid jQuery and polyfill bloat. Since the app is targeted at web developers, browser support shouldn't be a problem (if you're a web developer using an outdated browser, shame on you!).

Below are all the HTML5 features and open source components used by Architect, and what they're used for:

HTML5

  • JSON - JSON view parsing.
  • Application Cache and LocalStorage - offline access.
  • Web Workers - threaded template rendering and template engine sandboxing.
  • Media Queries - responsive layout.
  • WAI-ARIA - accessibility.

Components

License

Architect is released under the MIT license.

Copyright © 2012 Roland Warmerdam.

architect's People

Contributors

rowno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

architect's Issues

WAI-ARIA

Make the application accessible using the WAI-ARIA specification.

Save application state

Save the application's state using localStorage.

This simply involves saving the selected template engine and the content of Template and View editors on either page close or an interval.

Add apple-touch-icon's

apple-touch-icon.png
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-precomposed.png

Improve browser support

Improve browser support (mainly IE and mobile browsers) by using polyfills or other workarounds for the compulsory HTML5 features.

Compulsory HTML5 features used (newest browsers not supporting listed):

  • Worker (IE 9, Android 4.0, iOS 4.2-4.3)
  • textContent (IE 8, mobile?)
  • forEach (IE 8, mobile?)

Solutions:

  • Worker polyfill?
  • textContent can be avoided by using jQuery.
  • forEach can be supported by using a polyfill or replacing it with native for loops.

Only IE8+ (possibly IE9+) needs to be supported. Polyfills/workarounds will be loaded by Modernizr.

Browser support is also limited by Ace.

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.