Friday, June 6, 2014

Getting chatty with Meteor.js

Quote from site

Meteor is a full-stack application platform which lets you write everything with JavaScript, because y’know…yay JavaScript.
For more of the actual features, please visit
My aim, by the end of this article, is for you to be able to build, not a Hello World app, not a Todo app, but drumroll …a Realtime Chat App. Cool, huh!?

Fast Track to Intel® XDK NEW

Wonderful tutorial for developing mobile apps with XDK

Quote from site : 

Fast Track to Intel® XDK NEW is designed to teach experienced web developers and designers how to design, implement, and package web applications for mobile devices. The course is task-based, with you learning by performing a series of hands-on tasks. Over the next four hours you will create a web application named “Friends with Beer” that enables users to create a themed contact manager that uses many mobile-specific features such as calculating geoposition, video playback, push notifications, phone dialing, sending emails, and more!

Thursday, June 5, 2014

XDK Intel - Ajax calls

Sample from  StackOverflow
    <title>AJAX and XDK</title>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" />
    <script type="text/javascript" charset="utf-8" src=""></script>  
    <script src="intelxdk.js"></script>
    <script src="xhr.js"></script>
        function doAJAX() {
                success: function (data) {
    body {font-family:arial;background-color:white}
    <h3>AJAX Call</h3>
    <button onclick="doAJAX()">AJAX Call</button>

Async Javascript

Quote from site :

Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use with Node.js, it can also be used directly in the browser. Also supports component.
Async provides around 20 functions that include the usual 'functional' suspects (map, reduce, filter, each…) as well as some common patterns for asynchronous control flow (parallel, series, waterfall…). All these functions assume you follow the Node.js convention of providing a single callback as the last argument of your async function.

Quick Examples :['file1','file2','file3'], fs.stat, function(err, results){
    // results is now an array of stats for each file

async.filter(['file1','file2','file3'], fs.exists, function(results){
    // results now equals an array of the existing files

    function(){ ... },
    function(){ ... }
], callback);

    function(){ ... },
    function(){ ... }

Monday, June 2, 2014

Python WSGI with Node-Webkit

Quote from site :

Let us combine the greatness of HTML/CSS/Javascript for user interface with Python the best way to build backend to create a desktop app.
The basic idea is to use create a python webserver process, wait for it to start and display your app. After your app closes it will close the webserver process.