motyar.blogspot.com
Why & When to use NodeJS?
http://motyar.blogspot.com/2013/12/why-when-to-use-nodejs.html
Dec 5, 2013. Why and When to use NodeJS? Ever wonder how to decide when to use NodeJS? And why to use NodeJS? Here is a list :-. 1 NodeJS is Super-fast (and Super cool too). 2 It is very lightweight. 3 Easy to configure. 4 Lots of modules available for free. 5 Using NodeJs you can create a server with few lines of code. 6 It is 90% faster than PHP Its event based single threaded non-blocking i/o model scales very well. 8 Is event-based so all the wonderful Ajax like stuff. Can be done on the server side.
motyar.blogspot.com
Single Page Web Application using Golang and AngularJS
http://motyar.blogspot.com/2014/12/single-page-web-application-using.html
Dec 16, 2014. Single Page Web Application using Golang and AngularJS. A single page application (SPA) is an application that intracts with server via RESTfull API using JavaScript code on Client side. RESTfull API on Backend. This part is created using Golang on server, we are using MySql as database. Here is blog post about it REST API in Golang. And code is hosted on Github here Github / motyar / restgomysql.
motyar.blogspot.com
How to parse XML in Angular JS
http://motyar.blogspot.com/2014/08/how-to-parse-xml-in-angular-js.html
Aug 4, 2014. How to parse XML in Angular JS. Still many webServices and REST APIs provide output in XML, AngularJS doent work with XML data. We are going to use x2js. To convert XML data to JSON object. All other code will not be effected any way. We are going to parse this XML sample file. Here is very basic example code. You can check working DEMO here.
motyar.blogspot.com
Installing and running MondoDB on Ubuntu / Linux
http://motyar.blogspot.com/2014/07/installing-and-running-mondodb-on.html
Jul 10, 2014. Installing and running MondoDB on Ubuntu / Linux. Sudo apt-key adv - keyserver hkp:/ keyserver.ubuntu.com:80 - recv 7F0CEB10 echo 'deb http:/ downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' sudo tee /etc/apt/sources.list.d/10gen.list sudo apt-get update & sudo apt-get install mongodb-10gen. Tail -f /var/log/mongodb/mongodb.log. Dir if not exists, and give permissions:-. Sudo chown -R mongodb:mongodb /root/data/db. Start mongod as a Daemon:-.
motyar.blogspot.com
Writing files in NodeJS
http://motyar.blogspot.com/2014/01/writing-files-in-nodejs.html
Jan 2, 2014. Writing files in NodeJS. Want to process and create files in NodeJs? Is what you are looking for. To use this module use require('fs'). All the methods can be called asynchronous or synchronous forms. Here is a very basic example. Var fs = require('fs'); fs.writeFile("/tmp/test", "Hey there! Function(err) { if(err) { console.log(err); } else { console.log("The file was saved! More about it on this StackOverflow thread. Check full NodeJs course here. Learning NodeJs.
motyar.blogspot.com
WaterMark Image with Golang
http://motyar.blogspot.com/2014/09/watermark-image-with-golang.html
Sep 26, 2014. WaterMark Image with Golang. Go is powerful, Golang's package 'image' can be used to watermarning an image with another image. Here is the code, I found on StackOverFlow:.
motyar.blogspot.com
A basic HTTP server in NodeJs
http://motyar.blogspot.com/2013/11/a-basic-http-server-in-nodejs.html
Nov 4, 2013. A basic HTTP server in NodeJs. Nodejs has a built-in HTTP server library, making it possible to run a web server without the use of external software, such as Apache etc. It allow more control of how the web server works. So in nodeJs, You don’t have a server, you have to code web server along with your application code. This is an implementation of a "hello world" HTTP server in Node.js:. Put this code in web server.js, and run. Node web server.js.
motyar.blogspot.com
Forever Free Static Site using Github and Dropbox
http://motyar.blogspot.com/2014/06/forever-free-static-site-using-github.html
Jun 24, 2014. Forever Free Static Site using Github and Dropbox. Here are few related links from my other blog. Host your website on Github for FREE. How to Update Github hosted static website. Auto Publish To Github Pages From Dropbox.
motyar.blogspot.com
Installing NodeJs on Ubuntu
http://motyar.blogspot.com/2013/10/installing-nodejs-on-ubuntu.html
Oct 9, 2013. Installing NodeJs on Ubuntu. Its very simple open your terminal and type this command. Sudo apt-get install nodejs. Typical installation using ppa. Sudo apt-get update sudo apt-get install python-software-properties python g make sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs. You may need to install software-properties-common. Use this command:. Sudo apt-get install software-properties-common. Check if its installed. You may get this error.
motyar.blogspot.com
Creating Static WebServer in Go ( golang )
http://motyar.blogspot.com/2014/09/creating-static-webserver-in-go-golang.html
Sep 8, 2014. Creating Static WebServer in Go ( golang ). I am learning golang. I have go through the golang tour. I found it a very easy and fast language for web backend. In this post I want to share a very simple static file server we can create in few line of Go (golang). Here is the code you have to put in server.go ( or any name dot go). You can change the dot with any path or dir that you want to server on port 8080. Port can be anything too. Run this code like this. Go run server.go.
SOCIAL ENGAGEMENT