Skip to main content

Develop desktop app using Node-webkit Node.js is built on Chrome V8 JavaScript engine. V8 is one of the fastest JavaScript engine which runs inside of your chrome browser. Node Organisation You can install node-webkit in Linux,Windows and MacOS. Here is direct link to download node-webkit package for your system. You don’t need to install it, just place it somewhere and proceed with tutorial. Windows : Download Node-webkit for Windows (32 bit) (64 bit). Linux : Download Node-webkit for Linux (32 bit) (64 bit). Mac : Download Node-webkit for MacOS (32 bit) Hello Node-webkit Program ! To get you started let’s build sample program which prints “Hello World !” on screen using node-webkit. Hope you have downloaded and extracted the node-webkit files. Package.json { "name" : "nw-demo", "main" : "index.html", "window" : { "toolbar" : true } } You don’t need to install any dependency here. Just save the file and create index.html file in same folder. index.html Hello Node-webkit!

Node-webkit!

Now open up Terminal or Command prompt and switch to the directory where node-webkit installer files are present. To run above code type this : /path/to/node-webkit-installer/nw /path/to/our-project/ . Here is the output: Screenshot from 2015-01-27 16:49:08 I run the code using following command. Screenshot from 2015-01-27 16:49:32 Our application : Will develop node-webkit app with Google custom search engine. This app will allow you to search inside codeforgeek.com. Directory Structure : -- index.html -- package.json package.json { "name" : "nw-demo", "main" : "index.html", "window" : { "toolbar" : false } } index.html Google search Application Node-web Project After running this app you will see output More about Node-webkit ! One of the great advantage of Node-webkit is you can use any node-package you want directly in your desktop app ! Yes it’s right. Now all the awesome node-package will be available for Desktop app. For more information about Node-webkit Windows,Menu’s, Events please visit Wiki of Node-webkit from Here

Comments

Popular posts from this blog

Learn Nodejs

My favorite resource is "nodeschool.io!" "Install these choose-your-own-adventure style lessons and learn how to use node.js, npm and other related tools by writing code to solve realistic problems. The lessons run in your terminal and work on Windows, Mac and Linux."   Tutorials Hello World Hello World Web Server Node.js guide Build a blog with Node.js, express and mongodb Node.Js Tutorials At Project 70 Node.js for Beginners Learn Node.js Completely and with Confidence Videos Node tuts Introduction to Node.js with Ryan Dahl Node.js: Asynchronous Purity Leads to Faster Development Parallel Programming with Node.js Server-side JavaScript with Node, Connect & Express Node.js First Look Node.js with MongoDB Ryan Dahl's Google Tech Talk Screencasts Learn All The Nodes NodeTuts NodeCasts Books " The Node Beginner Book Mastering Node.js Up and Running with Node.js Node.js in Action Smashing Node.js: JavaScript Ev...
If you want lists, for back-end languages (in order of my ability to recall): If you want lists, for back-end languages (in order of my ability to recall): Java (and other JVM languages like Scala, Groovy, Clojure) PHP .NET (C#, VB) Ruby Python Perl Javascript (Node JS) Actionscript (Flash Media Server) CoffeeScript C (CGI) Erlang oh, and SQL for db queries For browser-based front-end languages, you're somewhat limited in what the browser can support (excluding launching out-of-browser applications). We could talk about: HTML Javascript CSS Actionscript CoffeeScript (compiled to Javascript) XML-based languages (X3D, SMIL, SVG, DITA, some interpreted by the browser, others transformed using XSL) VBScript Silverlight Java (applets) For native PC desktop front-ends, most popular front-end languages would probably be (I'm guessing, in no order): Visual Basic 6 (from my experience with big enterprises, I bet a lot of those are still out there, just like Windows Vista) .NET Jav...