Lovely.IO is a centralized repository of front-side packages
Just say which packages you need and you'll get them!
<script src="http://cdn.lovely.io/core.js"></script>
<script type="text/javascript">
Lovely(['dom', 'ajax', 'fx'], function($, Ajax, Fx) {
// you're ready to rock!
});
</script>
Lovely(['mines-game-1.0.2'], function(MinesGame) {
var game = new MinesGame();
game.insertTo(document.body);
});
Lovely.IO automatically resolves all the dependencies for you!
Lovely.IO automatically handles all the assets.
All styles, images, etc. They're just there!
Lovely(['ui-2.3.4'], function(UI) {
var icon = new UI.Icon('delete');
icon.insertTo('#my-element');
// all styles are already there!
});
Lovely.IO DOM package is build on a new architecture
It uses dom-wrappers, which are much, much faster!
Lovely.IO is build upon AMD structure
And it uses CloudFront for fast packages delivery!
LoginForm = Form.inherit
send: ->
@$super() if @valid()
valid: ->
@values()['username'] && @values()['password']
Lovely.IO uses OOP dom-wrappers at it's core
Which allows you to write clean and maintanable code
Lovely.IO is an open and fully automated repository
Anyone can share their packages in here!
$ npm install lovely -g $ $ lovely new my-awesome-package $ cd my-awesome-package $ ... $ lovely publish