background preloader

Realtime MVC Framework for Node.js

Realtime MVC Framework for Node.js
Related:  Javascript

bevacqua/rome Redis Running a Node.js Server as a Service Using Forever There are a wide range of methods to set up a Node.js process as a service on Linux, with little consensus on a standard at this point. That's fine - Node.js is still a long way away from staid maturity and the era in a technology's development in which people settle on the two or three standard ways of solving a given problem. Here, I'll outline one of my presently preferred ways of setting up a Node.js server as a service on Linux, using Forever, an init.d script and some tailoring of the server application itself. The chief advantage of this method is that it allows for a graceful shutdown rather than just killing the process. For later arrivals: note that this was originally written back in the archaic days of Node.js 0.4.* versions. Update as of 2/10/2013: The scripts here are for RPM-based distributions like Fedora, and are also probably over-complex for what they set out to do (e.g. see the sed parsing of Forever output). Install Node.js on Linux Tailor Your Node.js Application

Numeral.js othree/node-r3 Ogre - ogr2ogr web client npm-gh A simple npm bash wrapper, to use GitHub as a light-weight npm registry for publishing. Why? I wanted: A private NPM registry,which was easily accessible by GitHub teams and users,who already had access to my private GitHub repos,but did not necessarily have access to my corporate intranet / vpn. I did not want: To have to maintain a private NPM registry on a public / hosted server.To have individual GitHub repos for each npm package.To spend the time to modify an npm fork. I don't care about: Having a web-based search-able, browse-able interface; GitHub is good enough for me.The unsightly git output when npm-gh publishes to a repo. First of all, you'll need npm. Then at a command-line: npm install -g git: Yep, that's right, npm-gh uses its own repo as a GitHub-backed public npm registry for itself. I may also publish on In your package.json you need the following: If any of the above properties do not exist, or if you invoked npm-gh in any other way, npm is called instead. Notes

20 Best JavaScript Resources for Web Designers and Developers Javascript is a very widely used computer programming language, generally having the implemented use in web browsers, and is basically used to integrate client-side scripts for the user to interact with the server. It is also very widely used on the server side for the process of game development, mobile applications, some wide server applications, etc. This is a prototype based programming language with first class function and class libraries. Javascript was first ever introduced by the Netscape corporation, and further adopted by the java corporation, to be forming this great and resourceful web development platform. There are a lot of authoring tools, resources, etc, are available throughout to be implemented to use. Today we have collect great javascript resources for designers and developers for easily download online. 1) gif.js 2) togetherjs TogetherJS is a free, open source JavaScript library by Mozilla that adds collaboration features and tools to your website. 3) highlightjs

jpillora/xdomain Play Framework - Build Modern & Scalable Web Apps with Java and Scala How to create a private npm.js repository by Tom Gallacher Or so I thought. I was going to do some development on my local machine, so I fired up npm install <packagename>. Unfortunately, due to a outage, it was not possible for me to get on with my work. So I did what any driven developer would do; I set up a CouchDB replica of Next time this happens I will be prepared! As this replica is hosted in the same datacenter as we deploy most of our sites to, it enables a super speedy deployment to testing. How do we go about this you ask? Installing CouchDB Note: These instruction are geared towards Ubuntu 12.04 LTS. Install the required packages: sudo apt-get install build-essential autoconf automake libtool erlang libicu-dev libmozjs-dev libcurl4-openssl-dev Download CouchDB 1.2: wget Extract, and relax: tar xfv apache-couchdb-1.2.0.tar.gz Now time to compile: cd apache-couchdb-1.2.0 . Sweet! User added, now permissions: Go!