News for hackers. Stuff that matters.
Re:WebSockets and Comet on the iPhone by nemoel on Friday July 16, 2010 @02:04PM (#1521920)
That's such a clever code maccman. Very impressive way to get around Apple's decision to disable WebSockets...

I am already using the gmail widget and its proved to be so useful. I am very pleased that I can now sync it to a mobile platform.

Keep up the good work.

Re:WebSockets and Comet on the iPhone by drivebyacct2 on Friday July 16, 2010 @02:51PM (#1522107)
Not that it's not cool and all, but long polling ajax is ancient tech, not really anything new or innovative.
Re:WebSockets and Comet on the iPhone by maccman on Friday July 16, 2010 @04:05PM (#1522345)
True, it is fairly ancient. However, the beauty is in the implementation - i.e. emulating the WebSocket API and using the same endpoint.
Re:WebSockets and Comet on the iPhone by drivebyacct2 on Friday July 16, 2010 @12:57PM (#1521710)
"However, annoyingly Apple decided to disable WebSockets in iOS 4. What's strange was that WebSocket support was in all the previous development releases - oh well..."

Well of course they did. Background/multi task the web browser with WebSockets and you effectively avoid all need to publish to the App Store. Once a standard is chosen for displaying notifications through Javascript to the browser, there will be less and less need for a "native" apps on any platform.

Re:WebSockets and Comet on the iPhone by fictorial on Friday July 16, 2010 @05:52PM (#1522733)
I am not sure I understand you. What does WebSockets provide that would make me not need to develop, distribute (!) native iOS apps? WebSockets do not have anything to do with user interfaces, audio, OpenGL, etc.
Re:WebSockets and Comet on the iPhone by drivebyacct2 on Monday July 19, 2010 @10:02PM (#1530922)
WebGL, Firefox's new audio APIs and near infinite number of css/js toolkits are blurring the lines in all of those categories. I understand it's a ways off, but if you used nose-bleed versions of Chrome, Pepper, NPAPI, etc you can have extremely close to native capably apps through the browser. This is where I highly expect Android and Chromium OS to converge.