Code Monkey home page Code Monkey logo

embedjs's Introduction

|             |  _)

-_) _ -_) _ | |(_-<

_____.__/____) |___/

__/

EmbedJS

About

EmbedJS is a JavaScript framework targeted at embedded devices (mobile phones, TVs, etc.). It takes a different approach than other frameworks by shipping just the code needed for each device. That means, there's less code going over the wire, less code branching at runtime and less memory usage.

EmbedJS is based on the core code of the Dojo Toolkit, optimized for what you really just need on a mobile phone.

EmbedJS is a Dojo Foundation project and dual-licensed -- new BSD or MIT.

Features

EmbedJS uses the concept of features: Functionalities are split up into features, as fine-grained as possible, and each feature might have multiple implementations.

The Features are implemented as AMD compatible modules, so if you don't use a ready-made build, you can use a loader like require.js to easily pull in the features you need for your project – each implementation of a given feature knows it's dependencies, so you don't have to worry about that.

This way it's super-easy to just use the features you want in a give project – no need to ship code that's never executed!

Goals

Goal 1: Provide an optimized version for each device so that we can make use of the features of each platform as optimal as possible.

Goal 2: Stay compatible to the dojo APIs. For those who are used to dojo we don't want to make it hard for you to learn a new set of APIs – just stick to those you know. And make it easy for those new to dojo to learn the API by referencing the existing docs and not reinventing the wheel.

Goal 3: Show a way of how (we think) cross-device development should work today. Or, to be precise, how cross-target development should work, as the feature based implementation approach used in EmbedJS is a very generic way to manage, develop, test and build for different targets, be it a free vs. premium version of your app or a lightweight vs. full-blown version of your website.

Goal 4: Ultimatively, we hope that all the efforts one day may flow back into the Dojo Toolkit.

Building EmbedJS

You can download ready-made builds, just check out the build folder. But if you want to build your custom build, you can very well do that!

EmbedJS is using the AMD module pattern and it's working fine with James Burke's awesome RequireJS to load, and r.js to build. For instructions on how to build with r.js, please see the very detailed RequireJS documentation.

embedjs's People

Contributors

jensarps avatar seidtgeist avatar

Watchers

James Cloos avatar abel 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.