Category Archives: JavaScript

Cannot GET /socket.io/socket.io.js

I have been playing with node.js (0.8.14), socket.io (0.9.11) and express (3.0.3) for the couple of days but kept running into an issue where the client socket.io.js file would not load. It just kept 404ing; and it was really pissing me off… I spent some time researching why it was not working; there were a lot of “answers” but none of them worked, shocking.

I honestly spent more time trying to find the answer to this issue then I did writing most of core PHP functionality of submitting and retrieving backend data between the web server and the push engine. I finally came across someone’s fix while tirelessly searching github issues for the correct answer. See the sample code after the jump. Continue reading

Mootools Nested Accordion

I noticed some traffic coming in from old links on a topic I wrote quite a long time ago about nesting Mootools Accordions. I am in no mood to resurrect a post from that long ago, especially since I know my way method was not optimal and I no long use or support Mootools. It’s all about jQuery baby! I will however, point you to an article that was inspired by my work, and greatly improved upon it.

You can read about the nesting of Mootools Accordions at Bogdan’s blog Medianotions. Remember, this article is a couple years old, so things may have changed, but it is a good read none-the-less.