aurajs / examples Goto Github PK
View Code? Open in Web Editor NEWCanonical examples using Aura
Canonical examples using Aura
I see that I'm not the only one that had issues using the minified build of aurajs.
We should have an example that show how to add it to your solution using bower.
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.
grunt-contrib-livereload
task is deprecated we should use grunt-contrib-watch
instead.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```
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.