node.js
39 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by gyuha from JavaScript for Line of Business Applications
Scoop.it!

How AngularJS Made Me a Better Node.js Developer

Over the past 6 years I’ve used Ruby on Rails, Backbone.js, Node and AngularJS. RoR reinforced my knowledge of Model View Controller (MVC) while Backbone.js did the same for my knowledge of Publish/Subscribe. Like many who made the switch to Node, my first instinct was to try and apply MVC to my Node.js apps - however, it felt unnatural. Taking a “class”-based approach, using CoffeeScript, didn’t feel entirely natural either.

While I enjoyed developing in JavaScript, I always felt I was missing something - that is until I started developing with AngularJS. AngularJS uses both dependency injection and promises extensively, both of which have greatly improved my code. In this article, I’ll focus on dependency injection, and discuss promises in my next article.


Via Jan Hesse
more...
No comment yet.
Rescooped by gyuha from Nodejs-code
Scoop.it!

Node.js Events | Nettuts+

Node.js Events | Nettuts+ | node.js | Scoop.it
In this lesson, we'll continue on with my Node.js: Step by Step series, and dig into events! Download Video

Via nodejs-code
more...
No comment yet.
Rescooped by gyuha from Arduino progz
Scoop.it!

Leapmotion controlled lamp with Arduino and node.js

The idea behind this work was to explore how to interface Arduino with Leapmotion, and to see what would be the precision we could get with some basic servos.

Everything is surprisingly smooth. Except for the servo when the lamp goes up, because it's a cheap and weak one.

Since there is no lib to directly connect the Leapmotion to the Arduino, I used node.js to connect to the websocket server that streams the Leapmotion data and the johnny-five node.js lib to control the Arduino and the servos.


Via Axel
more...
hillion's comment, July 3, 2013 5:36 AM
Bonjour,

Lors de l'élaboration de ce projet, aurais tu trouvé une sorte de bibliothèque des gestures?

Merci!
Axel's comment, July 3, 2013 11:02 AM
Bonjour, n'ayant pas développé ce projet, je ne peux vous répondre. Mais Xavier Seignard pourra probablement vous répondre. Vous trouverez le code du projet et ses coordonnées sur son Github: https://github.com/xseignard
hillion's comment, July 4, 2013 3:30 AM
merci beaucoup!
Rescooped by gyuha from Big Data and NoSQL Daily
Scoop.it!

Node.js and MongoDB - Getting started with MongoJS - How To Node - NodeJS

Node.js and MongoDB - Getting started with MongoJS - How To Node - NodeJS | node.js | Scoop.it
Learn the zen of coding in NodeJS.

Via Sergeyan
more...
Sergeyan's curator insight, August 19, 2013 8:05 AM

This post covers the basics and get you started with your Node.js + MongoDB app.

Scooped by gyuha
Scoop.it!

node.js 맛보기 | Wireframe - Sooop

node.js는 구글 크롬 브라우저의 자바스크립트 해석기로 유명한 V8엔진을 감싼 런타임 환경이다. 그러니까 자바스크립트를 사용해서 PC머신이나 서버상에서 돌아갈 수 있는 앱을 작성하도록 해주는 '해석기'라고 생각하면 된다.
more...
No comment yet.
Rescooped by gyuha from JavaScript for Line of Business Applications
Scoop.it!

HTML5 Real-Time Chat with Websockets, jQuery, and Spike-Engine - CodeProject

HTML5 Real-Time Chat with Websockets, jQuery, and Spike-Engine - CodeProject | node.js | Scoop.it

MyChat: a simple real-time client-server chat using fancy HTML5 features and identicons.

Everything in the web becomes increasingly real-time and HTML5 finally offers some facilities to build efficient, simple and robust real-time applications on the web. This article serves as a demonstration of such facilities in building a fun and simple client-server chat: 

It uses websockets internally, but abstracted by Spike-Engine, will fallback to flash sockets for older browsers.It uses HTML5 Data URI for rendering images streamed from the server as byte arrays.It uses custom fonts and jQuery for animated rendering.It is cross-platform and with a minimized packet payload and message compression.The application server is a self-hosted executable and the client is just a plain html file.

First of all, we need to define a communication protocol between. This represents the messages which are exchanged between the client and the server. Spike-Engine simplifies the networking implementation and allows expressing this protocol declaratively via an XML file. This part is quite straightforward, check the user guide on their website for more info. 


Via Jan Hesse
more...
No comment yet.
Rescooped by gyuha from Nodejs-code
Scoop.it!

Step-by-Step Node.js Guide for Realtime Monitoring and Scaling | OpenShift by Red Hat

Step-by-Step Node.js Guide for Realtime Monitoring and Scaling | OpenShift by Red Hat | node.js | Scoop.it
Step-by-Step Guide to Realtime Monitoring and Scaling for Node.js applications. Try it out for free.

Via nodejs-code
more...
No comment yet.
Rescooped by gyuha from Nodejs-code
Scoop.it!

Raspberry Pi and Node.JS: Basic Setup | Matt's Blog

Raspberry Pi and Node.JS: Basic Setup | Matt's Blog | node.js | Scoop.it

I hade some time to play around with my Raspberry Pi. The primary goal was to have a basic setup for Node.JS 0.10.x with Raspbian “wheezy” (Hard-float) on a Raspberry Pi.

 


Via nodejs-code
more...
Greg Thompson's curator insight, October 30, 2013 6:30 AM

The best way to create a server on a Raspberry Pi is to use Node.js, Express and all the available community packages for that environment.

Rescooped by gyuha from JavaScript for Line of Business Applications
Scoop.it!

MEAN SEO - Judo.js node module for static content creation

After implementing my own solution for creating snapshots, I decided to create a node.js module to help others out too.  Judo.js is a node module which is meant to help users generate sitemaps & HTML snapshots for their sites.  The basic idea is that you describe your URLs via a configuration object to Judo and it will take care of the creation part.  Some of the nice features of Judo is that you can configure the freshness of the snapshots per URL.  This makes sense when you have a lot of URLs for your site.  You may only want some snapshots to be re-generated monthly, but maybe others need to be re-generated daily.  Another nice feature of Judo is that you can have it generate one snapshot for a given URL, but then generate multiple HTML snapshot files from it.  This can help save time when you have duplicate URLs pointing to the same content.


Via Jan Hesse
more...
No comment yet.