JavaScript

Creating Real-Time Chat with Node.js and Socket.IO

Submitted by admin on
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 new project and type `npm init` in it. Then, install the required dependencies.

Handling File Uploads with Node.js and Express.js

Submitted by admin on
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 fresh Node project.

Building REST service with Express.js

Submitted by admin on
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 over a some collection of items (data). REST typically uses JSON to send and receive data. NOTE: This is a common misconception to call every HTTP-based JSON service REST.

Stream Your Instagram Photos to Your Website with jQuery

Submitted by abellavincentb on
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!

jQuery Animation

Submitted by AliNaderloo77 on
It is a very simple animation using jQuery. You only need jQuery plugin and jQueryRotateCompressed to do this animation. The animation looks like the two girls exchanging emails. Try this yourself and enjoy creating animations and learning new codes. Contact me by: email: [email protected] telegram : http://telegram.me/AliNaderloo77 Phone Num : +989356205014

Greeting Message to the User

Submitted by azalea zenith on
This simple script that I create using JavaScript jQuery that will message the user then this program will greet the user base on the current time. Use this simple program to be polite to the user and it shows to the user how much they important in every visit to the website. Live Demo All source code construct using jQuery script.