node.js

I am preparing to give a Brown Bag session on Node.js.

Here are some notes:

Main WebSite
http://www.nodejs.org/

 

Node.JS on OpenShift
https://openshift.redhat.com/community/blogs/nodejs-on-openshift-you-bet-your-javascript

Getting Started with Node.JS on OpenShift
https://openshift.redhat.com/community/videos/getting-started-with-nodejs-on-openshift

On Windows 7, OpenShift requires CygWin and you must run from that CLI.

rhc app create –a NodeJSBrownBag –t nodejs-0.6
rhc app cartridge add –a NodeJSBrownBag –c mongodb-2.0
rhc app cartridge list
git commit –a –m “Added some source code”
git push

My existing NodeJS demo app in progress.

OpenShift / Red Hat Cloud Notes:

http://docs.redhat.com/docs/en-US/OpenShift/2.0/html/User_Guide/sect-User_Guide-Deploying_Your_Application_to_the_Cloud.html

Add Cartridges for NodeJS, Mongo, … from the openshift website
http://docs.redhat.com/docs/en-US/OpenShift/2.0/html/User_Guide/sect-User_Guide-Using_Cartridges.html

 

 

http://rockmongo.com/

Web Dev Framework for Node.JS
http://expressjs.com/

Node Debugger
https://github.com/smtlaissezfaire/ndb

Node Inspector / Web Debugger for NodeJS
https://github.com/dannycoates/node-inspector

BDD for Node (Vows)
http://vowsjs.org/

Expresso TDD for Node
http://visionmedia.github.com/expresso/

Unit Test Runner
https://github.com/tmpvar/mjsunit.runner

Socket.IO
http://socket.io/

Tracking NodeJS Modules
http://eirikb.github.com/nipster/

Node.JS and MongoDB for Beginners
http://blog.ksetyadi.com/2011/10/nodejs-and-mongodb-a-beginners-approach/
Heroku + Node.js + MongoDB (not for free heroku)
http://embeddedfun.blogspot.com/2011/11/heroku-nodejs-mongolab.html

Getting Started with MongoDB and Node.JS
http://howtonode.org/node-js-and-mongodb-getting-started-with-mongojs

Getting Started with Node.js on Heroku
https://devcenter.heroku.com/articles/nodejs

Free Guide to Node.JS
http://www.nodebeginner.org

Node.JS Tutorial
http://www.theprojectspot.com/tutorial-post/Node-js-for-beginners-part-1-hello-world/2

Node.JS Docs
http://docs.nodejitsu.com/

API
http://www.nodejs.org/api/

HTTP API
http://nodejs.org/api/http.html

Node Manual
http://nodemanual.org/latest/

From Java to NodeJS
http://n0tw0rthy.wordpress.com/2012/01/08/from-java-to-node-js/

Planet NodeJS
http://planetnodejs.com/

http://coding.smashingmagazine.com/2011/09/16/useful-node-js-tools-tutorials-and-resources/

Nide Node.js IDE for CLI
http://coreh.github.com/nide/

VJET IDE for Eclipse
https://www.ebayopensource.org/index.php/VJET/HomePage

Install in Your Eclipse Using:
https://www.ebayopensource.org/index.php/VJET/Downloads

TypeLibs for VJET
http://www.ebayopensource.org/p2/vjet/typelib/

node.js News
http://nodebits.org/

node.js Patterns
http://nodebits.org/distilled-patterns

JavaScript Checker
http://www.jshint.com/

JAKE Build Tool for Node.JS
http://howtonode.org/intro-to-jake

Node.JS Video
http://net.tutsplus.com/tutorials/javascript-ajax/this-time-youll-learn-node-js/

Node Guide
http://nodeguide.com/

Master Node.JS Book
http://visionmedia.github.com/masteringnode/

http://stella.laurenzo.org/2011/03/bulletproof-node-js-coding/

http://nodetuts.com/tutorials/21-nodejs-mongodb-and-mongoose-11.html#video

http://siliconangle.com/blog/2012/01/27/tim-caswell-on-learning-node-js/

http://debuggable.com/posts/streaming-file-uploads-with-node-js:4ac094b2-b6c8-4a7f-bd07-28accbdd56cb

http://nodejs.org/docs/v0.6.1/api/appendix_1.html

3rd Party Modules
https://github.com/joyent/node/wiki/modules

http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/

http://developer.yahoo.com/blogs/ydn/posts/2010/10/understanding-the-event-loops-and-writing-great-code-for-node-js-part-1/

http://code.danyork.com/2011/01/25/node-js-doctors-offices-and-fast-food-restaurants-understanding-event-driven-programming/

http://shinetech.com/thoughts/thought-articles/139-asynchronous-code-design-with-nodejs

http://blog.nodejitsu.com/

http://dailyjs.com/

HighKick Test Runner
https://github.com/azer/highkick

Async Spell Checker
https://github.com/mscdex/spellcheck

Node Podcast
http://nodeup.com/

http://howtonode.org/object-graphs

http://ejohn.org/blog/simple-class-instantiation/

http://dailyjs.com/tags.html#lmawa

http://dailyjs.com/2010/11/08/node-tutorial-2/

NodeBook
http://book.mixu.net/

https://github.com/mde/timezone-js

Stack for Linux and VMWare
http://bitnami.org/stack/nodejs

Node.Js Everywhere
http://www.cloudave.com/19978/nodejs-why-im-basically-porting-everything-to-it/

Web Services 2.0 on Node
http://webservices20.blogspot.com/

https://github.com/yaronn/wcf.js

http://www.techrepublic.com/blog/programming-and-development/take-your-javascript-skills-to-the-server-with-nodejs/5387

http://cnnr.me/b/2012/05/your-first-node-dot-js-module/

There’s a CoffeeScript module.

Yahoo Mojito Ontop of NodeJs
http://www.nodejs-news.com/NodeConf/mojito-multidevice/

NodeJS News
http://www.nodejs-news.com/

Examples

Twitter Client
http://www.nodejs-news.com/nodejs-tech/twitter-nodejs-bootstrap/

http://www.nodejs-news.com/nodejs-tech/nodetime-benchmark-nodejs/

http://www.nodejs-news.com/nodejs-tech/twitter-nodejs-bootstrap/

http://www.kickstarter.com/projects/188988365/lets-code-test-driven-javascript

http://jamesshore.com/Agile-Book/test_driven_development.html

http://www.jslint.com/

http://nodetime.com/blog/cpu-profiling-with-nodetime

http://sweettam.blogspot.com/2012/05/jade-visualizer-using-nodejs-and.html

http://jade-lang.com/

http://jade-visualizer.herokuapp.com/

http://google-code-prettify.googlecode.com/svn/trunk/README.html

http://obvious.github.com/matador/

http://encosia.com/cheerio-faster-windows-friendly-alternative-jsdom/

https://github.com/tmpvar/jsdom

JQuery for the Server
https://github.com/MatthewMueller/cheerio

http://twitter.github.com/hogan.js/

https://github.com/ded/klass

http://dustindiaz.com/klass

https://github.com/ded/valentine

https://speakerdeck.com/u/addyosmani/p/large-scale-javascript-application-architecture

JS Frameworks

Backbone.js Tutorial
http://arturadib.com/hello-backbonejs/docs/1.html

Backbone.js Client
http://documentcloud.github.com/backbone/

Agility.js
http://agilityjs.com/

 JS Model-View-View Model MVVM Pattern UI Framework
http://knockoutjs.com/

SproutCore
http://sproutcore.com/

Mojito
http://developer.yahoo.com/cocktails/mojito/

  • YUI3 from Yahoo
  • Client and Server
  • i18N
  • Testing
  • Doc builder

Mojito requires UNIX and Node.JS
http://developer.yahoo.com/cocktails/mojito/docs/quickstart/

Mojito FAQ
http://developer.yahoo.com/cocktails/mojito/docs/faq/

Mojito Docs
http://developer.yahoo.com/cocktails/mojito/docs/

Mojito Troubleshooting
http://developer.yahoo.com/cocktails/mojito/docs/reference/mojito_troubleshooting.html

 

Creating a Simple View with Mustache Templates

http://developer.yahoo.com/cocktails/mojito/docs/code_exs/simple_view_template.html

Developer Guide for Mojito on Github
https://github.com/yahoo/mojito/tree/master/examples/developer-guide

Logic-less Templates (multilanguage)
http://mustache.github.com/

Mustache for Node.js
https://github.com/raycmorgan/Mu

Mustache for Java
https://github.com/spullara/mustache.java

Mustache for Android/Java
https://github.com/samskivert/jmustache#readme

Mustache for JS
https://github.com/janl/mustache.js

 

JSAN (JavaScript Network – open source libraries)
http://www.openjsan.org/

node.js package manager (NPM)
http://npmjs.org/

Embedded Jars
http://code.google.com/p/jarjar/

Proguard Java Class File Shrinker (Used in Android)
http://proguard.sourceforge.net/

 

 

Roku Development

Developer Program
https://owner.roku.com/Developer

Roku Developer Getting Started Guide
http://blog.roku.com/developer/get-started/

Roku Design Guidelines
http://c1807832.r32.cf0.rackcdn.com/DesignGuidelines_v41.pdf

Building Your Own Channel on Roku
http://blog.defaultroute.com/2010/12/13/building-a-roku-channel-part-1/

Roku Developers Blog
http://blog.roku.com/developer/

Roku Developers Tutorial
http://forums.roku.com/viewtopic.php?f=34&t=39944

Developing for Roku
http://yaketyhack.blogspot.com/2011/05/start-developing-for-roku-part-2.html

Hello World
http://blog.roku.com/developer/2011/05/23/hello-world-2/

 

 

Cloud Hosting on Heroku

Spring MVC Hibernate App
http://afternoon-dusk-5755.herokuapp.com/people/

Example Facebook Node.js App
https://furious-moon-7006.herokuapp.com/

Java | Heroku Dev Center (OpenJDK 6)
https://devcenter.heroku.com/categories/java

Java Web App with Tomcat 7
https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat

Non-Web Java Processes
https://devcenter.heroku.com/articles/run-non-web-java-processes-on-heroku

Heroku Status
https://status.heroku.com/

The Process Model
https://devcenter.heroku.com/articles/process-model#mapping_the_unix_process_model_to_web_apps

 Java FAQ
https://devcenter.heroku.com/articles/java-faq

Java Spring/MVC/Hibernate Tutorial
https://devcenter.heroku.com/articles/spring-mvc-hibernate

Managing SSH Keys
https://devcenter.heroku.com/articles/keys#adding_keys_to_heroku

For Windows 7 Enterprise, I needed to use “id_rsa.pub” to initialize the key, I couldn’t put in a path.   So I cd to the location of the public key.  For tracing ssh, -vT, allows for verbose tracing.

heroku keys:add “id_rsa.pub”

ssh -vT git@heroku.com

git clone git@heroku.com:aMYHEROKUAPP.git -o heroku

Facebook on Heroku
git commit -am “changed greeting”
git push heroku master

Foreman

http://blog.daviddollar.org/2011/05/06/introducing-foreman.html

Node.JS on Heroku
https://devcenter.heroku.com/articles/nodejs

Introduction to Heroku for Java Developers
https://devcenter.heroku.com/articles/intro-for-java-developers

Using the Heroku Command Line Interface(CLI)
https://devcenter.heroku.com/articles/using-the-cli

Creating Applications from the CLI
https://devcenter.heroku.com/articles/creating-apps

GIT Repository SSH Fingerprints
https://devcenter.heroku.com/articles/git-repository-ssh-fingerprints

Heroku CLI Authentication
https://devcenter.heroku.com/articles/authentication

Installing Heroku CLI
https://devcenter.heroku.com/articles/heroku-command

Managing Heroku Processes
https://devcenter.heroku.com/articles/ps

Facebook App on Heroku
https://devcenter.heroku.com/articles/facebook

 

 

Developing Applications on RedHat’s OpenShift Cloud

OpenShift Documentation
https://openshift.redhat.com/community/developers/get-started

http://docs.redhat.com/docs/en-US/OpenShift/2.0/html/User_Guide/index.html

https://github.com/openshift/kitchensink-html5-mobile-example
https://github.com/openshift/kitchensink-example
https://github.com/openshift/wordpress-example
https://github.com/openshift/jbossas-mongoDB-quickstart
https://github.com/openshift/tweetstream-example
https://github.com/openshift/etherpad-example
https://github.com/openshift/wordpress-example
https://openshift.redhat.com/community/blogs

For Setting up WordPress Properly
https://api.wordpress.org/secret-key/1.1/salt

Interest OpenShift + Android App
https://github.com/gshipley/BeerShift

Jenkins for Continuous Build/Integration/Deploy
https://openshift.redhat.com/community/jenkins

https://openshift.redhat.com/community/developers/get-help

http://docs.redhat.com/docs/en-US/OpenShift/2.0/html/Getting_Started_Guide/

OpenShift Community Help
https://openshift.redhat.com/community/faq
https://openshift.redhat.com/community/kb
https://openshift.redhat.com/community/documentation

GitHub for OpenShift and Examples
https://github.com/openshift

https://wiki.jenkins-ci.org/display/JENKINS/Sauce+OnDemand+Plugin

https://openshift.redhat.com/community/developers/jboss
https://openshift.redhat.com/community/developers/mongodb

Git for PaaS
https://openshift.redhat.com/community/blogs/git-in-the-cloud-what-svn-users-need-to-know-for-paas

ProGit Book
http://git-scm.com/book

Selenium Testing with Sauce on Demand
https://openshift.redhat.com/community/blogs/cross-browser-selenium-testing-for-openshift-apps-with-sauce-ondemand

 

HTML5 and Android Videos and Tutorials

HTML 5
Videos
http://thenewboston.org/list.php?cat=43

tutorial
http://www.w3schools.com/html5/html5_intro.asp
http://www.html-5-tutorial.com/
http://www.tripwiremagazine.com/2012/03/html5-examples-tutorials.html
http://webdesignledger.com/tutorials/15-useful-html5-tutorials-and-cheat-sheets
http://html5tutorial.net/
http://www.html-5-tutorial.com/section-element.htm

structure
http://www.w3schools.com/html5/html5_new_elements.asp

video
http://www.w3schools.com/html5/html5_video.asp

audio
http://www.w3schools.com/html5/html5_audio.asp
only use wav

canvas (for javascript drawing)
http://www.w3schools.com/html5/html5_canvas.asp

inline svg (xml for scalable vector graphics)
http://www.w3schools.com/html5/html5_svg.asp

geolocation (lat and long for gmaps and open maps)
http://www.w3schools.com/html5/html5_geolocation.asp

drag and drop
http://www.w3schools.com/html5/html5_draganddrop.asp

interactive music (inspirational html5)
http://daftpunk.themaninblue.com/

Offline mobile app
http://www.ibm.com/developerworks/web/library/wa-offlineweb/index.html

blog design
http://html5doctor.com/designing-a-blog-with-html5/

offline html5 iphone app
http://sixrevisions.com/web-development/html5-iphone-app/

html5 spec for web db
http://dev.w3.org/html5/webdatabase/#databases

web storage
http://www.w3.org/TR/webstorage/

html5 offline spec
http://dev.w3.org/html5/spec/offline.html

html5 + css3
http://www.pvmgarage.com/2010/04/touch-the-future-create-an-elegant-website-with-hmtl-5-and-css3/

iphone html5 app
http://line25.com/tutorials/design-and-code-a-cool-iphone-app-website-in-html5

cheat sheet
http://woork.blogspot.com/2009/09/html-5-visual-cheat-sheet-by-woork.html

http://www.smashingmagazine.com/2009/07/06/html-5-cheat-sheet-pdf/

http://adactio.com/extras/pocketbooks/html5/

 

Android
Videos
http://thenewboston.org/list.php?cat=6

 

Android Advanced

http://developer.android.com/reference/android/app/IntentService.html

http://developer.android.com/guide/topics/fundamentals/loaders.html

http://developer.android.com/reference/android/os/ResultReceiver.html

http://android-developers.blogspot.com/2012/05/using-dialogfragments.html

 

==

html 5 deploy

http://brunch.io/#twitter

http://brunch.readthedocs.org/en/latest/index.html

https://www.blossom.io/

http://mobilehtml5.org/

 

Query 5 Mobile

http://jquerymobile.com/themeroller/

 

html 5

http://www.mobilexweb.com/emulators

http://jquerymobile.com/

 

 

hadoop

http://hadoop.apache.org/mapreduce/

 

cassandra

http://cassandra.apache.org/

 

http://www.queness.com/post/11434/7-javascript-ajax-file-upload-plugins

http://www.nileshgule.com/2012/05/design-patterns-and-enterprise-patterns.html

http://designmodo.com/video-player/

http://blog.huchunhao.com/mongo-express-a-nodejs-web-interface-to-mongo

http://w3resource.com/gallery/javascript/create-full-screen-view-with-screenfull-js/

http://www.javacodegeeks.com/2012/05/scala-basic-xml-processing.html

http://www.javacodegeeks.com/2012/05/implementing-state-machine-pattern-as.html

http://udayanbanerjee.ulitzer.com/node/2265359

http://in.relation.to/Tutorials/IntroductionToCeylon

http://en.wikipedia.org/wiki/Nodejs

http://www.extreme-java.com/what-is-java-hotspot-virtual-machine/

http://www.ibm.com/developerworks/java/library/j-codetoheap/index.html?ca=drs-

http://www.tutorialized.com/view/tutorial/Android-Tutorials/75400

 

Cassandra

http://architects.dzone.com/articles/getting-started-apache

http://www.netstumbler.com/

http://cloud.dzone.com/articles/how-run-elastic-mapreduce-job

http://css.dzone.com/articles/web-worker-running-js-tasks

http://www.makecodingeasy.com/?p=306

http://www.java-tv.com/2012/05/07/android-security-analysis/

http://www.catswhocode.com/blog/super-useful-online-tools-to-work-with-images

http://www.mattmorten.co.uk/blog/2012/05/painless-tdd-using-equality-to-test-your-code/

http://www.javacodegeeks.com/2012/05/future-of-nosql-with-java-ee.html

https://developer.mozilla.org/en/BrowserID/Quick_Setup

http://www.google.com/talk/service/badge/New

http://candy-chat.github.com/candy/

http://www.javacodegeeks.com/2012/05/top-10-things-every-software-engineer.html

http://skytechgeek.com/2012/05/20-css-codes-to-simplify-your-web-styling-tasks/

http://www.famfamfam.com/lab/icons/silk/

http://simplesmileys.org/

http://twitter.github.com/bootstrap/

http://www.iui-js.org/

http://www.tvagile.com/2012/05/03/performance-continuous-integration-with-jenkins-and-multi-mechanize/

 

NDK

http://css.dzone.com/articles/css-filter-effects-action

http://viralpatel.net/blogs/2012/05/pick-image-from-galary-android-app.html

http://viralpatel.net/blogs/2012/01/create-qr-codes-java-servlet-qr-code-java.html

http://viralpatel.net/blogs/2010/07/java-calculate-free-disk-space-java-apache-commons-io.html

http://www.javacodegeeks.com/2012/05/ultimate-java-resource-collection.html

http://www.javacodegeeks.com/2010/10/android-full-app-part-2-using-http-api.html

http://java.dzone.com/articles/power-apache-mina-building

http://functionn.blogspot.com/2012/05/sisyphusjs-jquery-plugin-for-gmail-like.html#.T6bK4cWtDdV

http://www.javacodegeeks.com/2011/03/android-http-camera-live-preview.html

http://www.javacodegeeks.com/2010/11/android-full-app-part-6-customized-list.html

http://www.javacodegeeks.com/2011/02/android-google-maps-tutorial.html

http://www.javacodegeeks.com/2011/03/android-http-camera-live-preview.html

http://www.flickr.com/services/apps/about/

http://sourceforge.net/projects/flickrj/

http://jickr.org/downloads.html

http://www.flickr.com/services/apps/create/

http://code.google.com/p/flickrj-android/

http://flickrj.sourceforge.net/

https://github.com/vieux/OpenUDID

https://app.jelastic.servint.net/

http://chriswongdevblog.blogspot.com/2011/12/reconsidering-cloud.html

 

BOX API

http://v2api.box.com/docs/

http://developers.box.net/w/page/12923917/ApiExamples

https://github.com/box/box-java-sdk

https://github.com/box/box-android-sdk

https://www.dropbox.com/developers/start/setup#android

https://www.dropbox.com/developers/start/setup#android

http://developer.android.com/guide/topics/ui/dialogs.html

drop box

https://www.dropbox.com/developers

 

Facebook

http://stackoverflow.com/questions/4308554/simplest-way-to-read-json-from-a-url-in-java