Loading

JavaScript

Submitted by: 
The Drag and Drop Inserting Text to Input Textbox with jQuery is a simple source code that can be used to any project. The purpose of this source code is to provide a new programming techniques with an advanced capability for web developers. I used Bootstrap as a front-end framework for a stunning Graphical User Interface / GUI . It is a user friendly kind of source code, feel free to modify it...
Submitted by: 
Data visualisation is becoming an increasingly important subject. As the complexity an volumes of data increase, it is getting harder and harder to make sense of bare arrays of numbers without relevant visualisation models. Let me give you a good example. Right now I work in China. Few months ago there appeared a new startup: bycicle sharing service that used GPS sensors on each bike to track it...
Submitted by: 
Moving your project to a cloud might be a difficult task especially since there are so many different cloud services out there. AWS is the most popular one and Azure is a very close competitor. In this article I will show you how to start using Azure, namely its NoSQL database service - DocDB. NOTE: Azure is a great platform, however it has significantly less tutorials and examples available...
Submitted by: 
In my previous article I showed a tutorial on " Uploading data to Amazon S3 from Node.js ". This is a good fist step to move your project to a cloud, but there's another important aspect that you have to consider. Your data. Luckily Amazon offers a range of services that supports the needs of many kinds of applications. AWS offers RDS, DynamoDB, Aurora, Redshift and ElastiCache: everything to...
Submitted by: 
What can be simpler than uploading file to the server and saving it to hard drive, right? Open read stream, read bytes, open write stream, write bytes, done. Now let's explore the same question but from a high-load high-availability service perspective. You're designing new Instagram, where will you store the photos? Remember, at a bare minimum you need to make sure that a failure to a single...
Submitted by: 
In this small project we'll see how to implement Facebook authentication for your Node app with a help of Passport.js. Facebook authentication might sound like a lot of work but with the help of Passport, it is a surprisingly easy task. To give you a good feeling about the volume of code that you're about to write: It is about 80 lines of JavaScript and couple more lines of HTML. Before we start...
Submitted by: 
The way that people use internet evolved from static pages to Ajax and now to realtime web supported by standards like WebSockets and WebRTC. Making a real-time application, like chat, became increadibly easy with the help of platforms like Node.js and libraries like Socket.io. In this post we'll see how to create a minimalistic chat application form the scratch. Create a separate folder for your...
Submitted by: 
Whether you are building social platform or a simple website, sometimes you need to let users upload their own files. The typical scenario might be: uploading the user's photo for a profile page. With Node.js and express it is quite easy to create your own file upload service. In this post I will show you how. In the new folder run `npm init`, and create `package.json` as you usually do for every...
Submitted by: 
REST services became a de-facto standard of data exchange for public APIs. Twitter, GitHub, Parse are just few examples that rely on REST to exchange data with the clients. Before we start to write our first REST service with Node, let's see what exactly is REST and how it works. REST stands for 'REpresentational State Transfer'. It leverages the semantics of HTTP protocol to express operations...
Submitted by: 
When you post new photos and videos to Instagram, the script will automatically updates with the new content. 1.) Login to your instagram account here 2.) Get your instagram access token. http://instagram.pixelunion.net/ Demo: https://jsfiddle.net/m1as1mkw/ Download the attached file for the complete source code. Happy Coding!

Pages