Giter Site home page Giter Site logo

examples's People

Contributors

addyosmani avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

examples's Issues

Asking about sandbox and core design

Im not sure if this is the appropriate place to ask. After reading some presentation from Addy Osmany about Module, Facade, Mediator, and then after reading how AuraJS seperates the components into extension, sandbox, and core, I was very interested how you guys can seperate the application code from the core code.

In aurajs documentation, it says that a sandbox:

A sandbox is just a way to implement the facade pattern on top of features provided by core. It lets you expose the parts of a JavaScript library that are safe to use instead of exposing the entire API

But when i read the aura-github example (for example this one: https://github.com/aurajs/examples/blob/master/aura-github/public/widgets/alerts/main.js), I saw that the widget can access jquery API, such as:

this.$el.show();

Is that correct? Isn't that exposing the underlying core library API?

Hopefully you guys understand what I mean, and in by no way I'm saying that I know what the good way, or bad way is.

So please help me to see this architectural idea correctly.

thanks in advance

Backbone Example Does Not Work

There are problems with the Gruntfile.js, it's not setup correct and does not work. I get the feeling most of this is just too old, and needs to be updated. I'll list the issues as I find them and fix them in my own project.

Deprecated Tasks

  • The grunt-contrib-livereload task is deprecated we should use grunt-contrib-watch instead.

Misc

  • When running npm install I get this error (Upgrading grunt-bower-hooks to "~0.3.0" fixes this)
> [email protected] postinstall C:\Users\Me\Downloads\examples-master\aura-backbone-example\node_modules\grunt-bower-hooks\node_modules\bower
> node cleanup
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)
npm ERR! weird error 8
npm ERR! not ok code 0```

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.