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.


Anonymous said...

Sometimes seasons reasons some shoes is also[url=]Nike UK[/url]
temporarily won't have the capability to[url=]Toms Shoes Sale[/url]
wear such shoes all of us[url=]Nike Shoes Canada[/url]
properly back up for sale[url=]Christian Louboutin Sale[/url]
within the[url=]Christian Louboutin Outlet[/url]
right invest to avoid unnecessary harm to shoes[url=]Louis Vuitton UK[/url]

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

Anonymous said...

I am sure this paragraph has touched all the internet people, its really really good piece of writing
on building up new blog.

My web blog - goji pro; ,

Anonymous said...

If some one desires to be updated with hottest
technologies therefore he must be pay a visit this web page and be up to date everyday.

My web site inspector morse