background preloader

Node.JS

Facebook Twitter

Three.js - JavaScript 3D library. Web scraping with Node.js | Matt's Hacking Blog. Web scraping these days is often considered a fairly well understood craft, however there are definitely some complexities that modern web sites are bringing to the table. The days of AJAX long polling, XMLHttpRequest, WebSockets, Flash Sockets etc make things a little more difficult than just your average crawler can handle. Let’s start with the basics of what we needed at Hubdoc – we are crawling bank, utilities, and credit card company web sites looking for bill amounts, due dates, account numbers, and most importantly, PDFs of most recent bills.

My initial take on this problem (aside from using an expensive commercial product which we were evaluating) was that it is simple – I had done a crawling project before at MessageLabs/Symantec in Perl and it was relatively straightforward. However it turns out that spammers create web pages that are a LOT easier to crawl than banks and utilities companies. How would we build this? For some web sites this worked. If (! Like this: Like Loading... Selenium - Headless Browser and scraping - solutions. n1k0/casperjs. Sitting on the Node.js Fence | Dejan Glozic. I am a long standing fan of Garrison Keillor and his Prairie Home Companion. I fondly remember a Saturday in which he delivered his widely popular News From Lake Wobegon, and that contained the following conundrum: “Is ambivalence a bad thing?

Well, yes and no”. It also accurately explains my feeling towards Node.js and the exploding Node community. As I am writing this, I can hear the great late Joe Strummer singing Should I Stay or Should I Go in my head (“If I stay it will be trouble, if I go it will be double”). It is really hard to ignore the passion that Node.js has garnered from its enthusiastic supporters, and if the list of people you are following on Twitter is full of JavaScript lovers, Node.js becomes Kim Kardashian of your Twitter feed (as in, every third tweet is about it). Recently, in a marked trend of maturation from exploration and small side projects, some serious companies started deploying Node into production. 53% of Walmart Thanksgiving traffic was mobile. Felix's Node.js Convincing the boss guide.

« Home / All Guides Now that you're all hyped up about using node.js, it's time to convince your boss. Well, maybe. I have had the pleasure of consulting for different businesses on whether node.js is the right technology, and sometimes the answer is simply no. So this guide is my opinionated collection of advice for those of you that want to explore whether node.js makes sense for their business, and if so, how to convince the management. Bad Use Cases CPU heavy apps Even though I love node.js, there are several use cases where it simply doesn't make sense. That being said, node.js allows you to easily write C++ addons, so you could certainly use it as a scripting engine on top of your super-secret algorithms. Simple CRUD / HTML apps While node.js will eventually be a fun tool for writing all kinds of web applications, you shouldn't expect it to provide you with more benefits than PHP, Ruby or Python at this point.

NoSQL + Node.js + Buzzword Bullshit Good Use Cases JSON APIs Single page apps.