아이폰

잡소리 2008/02/10 09:16
iPhone으로 한국 사이트만(다음, 올블로그, 기타 등등) 보면, 특히 로그인 할때 Safari가 자주 돌아가시길래 왜 그런가 했더니 이런게 있었군.

Limitations

While it might be tempting to try and so some really fancy Ajax stuff with the iPhone there are some limitations. For example, there is a "dead man switch" on the JavaScript running inside the mobile version of Safari. If you try and do something in script that takes too long, Safari is going to (rightly so) assume you're dead, and quit the script. This is an essential feature that keeps the phone highly reactive so that even if some idiot decided to do a long-running synchronous process in JavaScript on the iPhone, the user can still answer an incoming call. Without this, phone functionality (or other functionality as well) could be impeded or outright prevented by bad web coding practices. This means that you also need to keep an eye on long-running background stuff too - you won't be able to do background polling for incoming data to simulate "push" to an iPhone application. Also, JavaScript timers shut off when the device goes into lock mode or when the user hits "home" to take focus away from Safari. This goes back to keeping in mind the workflow of an iPhone user - they do not want to be sitting looking at a screen for 15 minutes watching data refresh.

Java developer들이 Windows PC보다 Mac을 애호함에도 불구하고, Apple의 Java 지원이 미적미적한 이유중의 하나가 Apple mobile device에 별로 Java application을 올릴 생각이 없기 때문에 그런게 아닌가 싶다. Java mobile device가 20억대 깔렸대는데, 뽀대나는 application을 내세워서 일반적으로 UI가 좀 후줄그레한 Java mobile phone 시장을 잡수시겠다는 전략인가보다.

SUN은 Apple하고 Google에 앞, 뒤로 얻어맞고 쌍코피를 흘리는 형국인것 같다.

크리에이티브 커먼즈 라이선스
Creative Commons License

'잡소리' 카테고리의 다른 글

디지털 컨텐츠 산업 육성에 대한 단상  (4) 2008/02/18
한국 소프트웨어 진흥원 웹 사이트를 보고  (0) 2008/02/14
아이폰  (0) 2008/02/10
야후  (0) 2008/02/08
아직도 영어가지고 난리네  (11) 2008/02/03
영어 교육에 대한 단상  (2) 2008/01/27
Posted by nokarma
TAG , , ,

트랙백 주소 :: http://nokarma.tistory.com/trackback/65

댓글을 달아 주세요