Saturday, May 28, 2011

Now for something completely different...

Another midnight/early morning note to my blog so that I don't forget what went in my mind earlier.
  1. The current approach of embedding scripts for all browser support in libraries like jQuery, and embedding all available widgets in libraries like jQuery UI and jQuery Mobile - is completely wrong. The extra parsing and code complexity may not matter for Core i7 desktops, but it really hurts performance in mobile devices.
  2. If the uncompressed size of the .js file of the UI framework for your upcoming mobile app is 1.5MB+ ... you're doing something very wrong.
  3. Narrative JS. Can be used to solve a lot of problems if it works well. I should find some time to investigate this thing.
  4. The current approach PhoneGap is using for communications between JavaScript and Objective-C is very hacky and slow - even though it works. Adding a micro Comet server on Objective-C's side and use Comet for communications will work much better. It sounds crazy, but it's more doable than most people think.
  5. I need to do more screencasts like AFeature's, for those "micro" open source projects (like bson and bson-objc) that I do in weekends - just to brush up my presentation skills.
  6. The current way people do Comet and WebSockets haven't accounted for unreliability at the physical layer on mobile devices (aka. AT&T).
  7. Comet on mobile devices is also not a very good practical idea because (from our experiments), mobile browsers tend to minimize active TCP connections - s.t. even though you can sort of keep the receiving connection "persistent", the send will not. Which means, the send part of your Comet session will have high latency.

1 comment:

Anonymous said...

Sometimes seasons reasons some shoes is also[url=http://niketrainersuksale.webeden.co.uk]Nike UK[/url]
temporarily won't have the capability to[url=http://tomscanadaoutlet.snappages.com]Toms Shoes Sale[/url]
wear such shoes all of us[url=http://addnikecanadastore.snappages.com]Nike Shoes Canada[/url]
properly back up for sale[url=http://toplouboutinuksales.webeden.co.uk]Christian Louboutin Sale[/url]
within the[url=http://louboutintrainersuk.blog.co.uk]Christian Louboutin Outlet[/url]
right invest to avoid unnecessary harm to shoes[url=http://salelouisvuittonuk.webeden.co.uk]Louis Vuitton UK[/url]

Although if the insole is usually bad, [url=http://cheapnikeblazersuk.webeden.co.uk]http://cheapnikeblazersuk.webeden.co.uk[/url]
could possibly need to use a gentle brush and water gently scrub. Will have to be noted that,[url=http://justlouboutintrainersuk.webeden.co.uk]Christian Louboutin UK[/url]
avoid using chemical cleaning agents cleaning, or they often result in the insole the top of cloth off.[url=http://shoppradabagsuk.webeden.co.uk]Prada Sale[/url]