Earlier quoted context omitted.
What are you using for server side dom manipulation? jsdom? apricot? node-xml? libxmljs? I spent a lot of the weekend working on a webcrawler, but couldn't find a xml parser that didn't choke on the internet-at-large. Any chance you'd consider open-sourcing?
I haven't seen their code, but I'm not sure why you'd need server side DOM manipulation for this. I'd implement all of that in the browser, and just let the server handle passing events back and forth.
Node.js used to mirror DOM across browsers
41–50 of 53 posts
Re: Node.js used to mirror DOM across browsers
#42Earlier quoted context omitted.
What are you using for server side dom manipulation? jsdom? apricot? node-xml? libxmljs? I spent a lot of the weekend working on a webcrawler, but couldn't find a xml parser that didn't choke on the internet-at-large. Any chance you'd consider open-sourcing?
Do you have any examples of the kinds of things that libxmljs choked on?
--
Edit: I should add that I'm using libxmljs in production (http://newsbasis.com/news) as an rss parser (streaming sax-push-parser) and it works quite well for that sort of xml.
Re: Node.js used to mirror DOM across browsers
#43Earlier quoted context omitted.
It's fun, yes, but at the same time, it's nostalgic. We've had such technology for decades. There have been desktop sharing apps for years, in Java applets etc. So whilst it's cool that the browser wars are generating a ton of improvements, none of them so far are really things that will blow users minds. HTML5 is just catching up to where other platforms were 10 years ago.
Agreed. In some ways the browser actually lowered people's expectations of what "computers" can do. Perhaps the focus shifted. When I first saw Wolf3D as a kid I was amazed that the computer could do that. Same when I first used a GIS. These days when people get "excited" about something like Facebook, it's not because it's a technical achievement. It's something more human. Which perhaps is why I don't get it. Maybe…
Everyone knows that a sufficiently geeky person can make a computer do magical things.
However, apps (in the general sense) become much more exciting when they gain wide appeal, and the difficult discovery, install, setup, and maintenance experience of earlier approaches were an enormous drag on their wide success.
Re: Node.js used to mirror DOM across browsers
#44I'd love to be able to just add a script tag to my website, and then log into some web based service which shows me a list of the current sessions on my website allowing me to click on one of those sessions and monitor their progress through the site using this dom mirroring technique. There must be money to be made in this sort of service?
http://www.clicktale.com
Also, I've used your API, and I'm not sure if you've updated it since then, but attaching attributes / classes to the elements to track was and is pretty awful.
Re: Node.js used to mirror DOM across browsers
#45Pretty cool, potentially very handy, though I wonder why they didn't synchronize scrolling.
Re: Node.js used to mirror DOM across browsers
#46Earlier quoted context omitted.
It's fun, yes, but at the same time, it's nostalgic. We've had such technology for decades. There have been desktop sharing apps for years, in Java applets etc. So whilst it's cool that the browser wars are generating a ton of improvements, none of them so far are really things that will blow users minds. HTML5 is just catching up to where other platforms were 10 years ago.
What's even great is that all these technologies are more or less platform agnostic. What is developed on a PC will work instantly on a Mac/iPhone/tablet/what not!
Re: Node.js used to mirror DOM across browsers
#47Earlier quoted context omitted.
... or customer support.
Yes, with the user's permission.
Re: Node.js used to mirror DOM across browsers
#48Earlier quoted context omitted.
Yes, with the user's permission.
I'm not sure why you'd need the users permission to view what they're doing on your site in real time? I don't feel like I need to gain permission before I tail my access log when people are viewing my website? How is this any different?
Re: Node.js used to mirror DOM across browsers
#49Earlier quoted context omitted.
I'm not sure why you'd need the users permission to view what they're doing on your site in real time? I don't feel like I need to gain permission before I tail my access log when people are viewing my website? How is this any different?
So you're telling you wouldn't mind someone watching every single mouse click and every word you type on a website without your consent?
I already leave a log of my IP address, the web browser I'm using, the links I click, the time/date of my visit and any data that I submit through forms. If they want to monitor my mouse position as well, then fine.
Re: Node.js used to mirror DOM across browsers
#50Earlier quoted context omitted.
So you're telling you wouldn't mind someone watching every single mouse click and every word you type on a website without your consent?
The "someone" is the person running the website. So no, of course I don't mind. What is the danger? I already leave a log of my IP address, the web browser I'm using, the links I click, the time/date of my visit and any data that I submit through forms. If they want to monitor my mouse position as well, then fine.