When back in 1996 Macromedia introduced Flash, no one suspected that this plugin will revolutionize the world of the Internet and move an open, Web-based technologies into the background. Today, after more than 15 years, situation slowly reverses - finally creating interactive websites, games or advertisements is possible without using any browser plugins. But is it enough? Michal will take us on a tour of the world's holy war between Plugins like Flash and HTML, and will attempt to answer this question, preseting poorly known HTML5 features, services and open source tools he is working on now (like http://bly.sk).
47. BLYSK – the Mansion
Build system inspired by Python syntax
@michalbe
48. BLYSK – the Mansion
Creating new module:
java -jar js.jar mansion.js foo
@michalbe
49. #export foo
#import bar
#import fooBar as fbar
(function foo(@modules) {
//variables
var lorem = 'impsum';
//logic of public functions in here
var hwdp = function foo_hwdp(){
bar.drink(fbar.everything);
alert('ACAB!');
}
//and references here:
return {
hwdp: hwdp
}
})(@modules);
@michalbe
53. BLYSK – the Mansion
Pros of The Mansion:
1. Performance
@michalbe
54. BLYSK – the Mansion
Pros of The Mansion:
1. Performance
2. Great minification of the file
@michalbe
55. BLYSK – the Mansion
Pros of The Mansion:
1. Performance
2. Great minification of the file
@michalbe
56. BLYSK – the Mansion
Pros of The Mansion:
1. Performance
2. Great minification of the file
3. Easy to manage modules
@michalbe
57. BLYSK – the Mansion
Pros of The Mansion:
1. Performance
2. Great minification of the file
3. Easy to manage modules
4. Commandline helpers
@michalbe
58. BLYSK – the Mansion
Cons of The Mansion:
1. Still too hacky & not native for JavaScript
@michalbe
59. BLYSK – the Mansion
Open Source!
https://github.com/Blysk/The-MANSION
@michalbe