Learning

August 31, 2011 – 9:20 am

I have many interests.  Too many, perhaps. :)

Although I do server-side Java development in my day job, I’m brushing up on Javascript, HTML (including HTML5) and CSS in my spare time.  I’ve been looking for low-cost online resources to supplement my reading, and I’ve come across several that look promising:

  • Learnable
  • net|tuts+
  • Udemy
  • Youtube (lots of lectures and online screencasts on web development topics)
  • Appsumo (time-sensitive deals for web geeks, includes courses from some of the sites listed above)

I think I will have a lot of fun with this one: http://net.tutsplus.com/tutorials/html-css-techniques/build-your-first-game-with-html5/

 

Running JavaScript from the command line

August 22, 2011 – 5:52 am

I was looking for a way to develop and test JavaScript outside of a browser, and I came across Rhino, an open source Java implementation of JavaScript.  Interestingly, it has been part of Java as of Sun’s JSE 1.6 (released 2006).

To run a JavaScript file, use ‘jrunscript’:

jrunscript -f hello.js

It also supports inline scripts:

jrunscript -e 'print("hello");'