On Github HPieters / hpieters.github.com
Coffeescript
eat food for food in foods when food isnt 'chocolate'
Javascript
for (_k = 0, _len2 = foods.length; _k < _len2; _k++) { food = foods[_k]; if (food !== 'chocolate') { eat(food); } }
var client = new XenAPI(username,password,hostUrl); client.init(function(error, result) { if(error) { console.log(error); } else { // Run any api call you want client.VM.get_all(function(error,result) { var all_vm = result; }) } })
A collection of tools and best practices working in harmony to make developing for the web even better
Sass is an extension of CSS3. Adding nested rules, variables, mixins, selector inheritance, and more
SCSS
$blue: #3bbfce; $margin: 16px; .content-navigation { border-color: $blue; color: darken($blue, 9%); } .border { padding: $margin / 2; margin: $margin / 2; border-color: $blue; }
Sass is an extension of CSS3. Adding nested rules, variables, mixins, selector inheritance, and more
CSS
.content-navigation { border-color: #3bbfce; color: #2b9eab; } .border { padding: 8px; margin: 8px; border-color: #3bbfce; }
A Framework for creating ambitious webapplications.
Ember leverages the MVC pattern.
Ember.js does a lot of "magic"...
App.IndexRoute = Ember.Route.extend({ model: function() { var people = [ App.Person.create({ firstName: "Tom", lastName: "Dale" }), App.Person.create({ firstName: "Yehuda", lastName: "Katz" }) ]; return people; } });
Ember.js does a lot of "magic"...
<script type="text/x-handlebars" id="index"> <h1>People</h1> <ul> {{#each model}} <li>Hello, <b>{{fullName}}</b>!</li> {{/each}} </ul> </script>
The objective is to provide a framework or model that will allow insights into the transition process from proprietary to open source.
How would a model for the transition from proprietary to open source be defined based on the Citrix XenServer case study?
All files are available on my github account (https://github.com/HPieters).