|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 | |||
|
macrumors bot
Join Date: Apr 2001
|
iPhone Web Development Guidelines
![]() Univeristy of Washington's Emerging Technology group published notes from Apple's Developing Web Sites for iPhone session from WWDC last week. The blog entry provides some interesting information for users and web developers alike about the iPhone's capabilities, and has been summarized below. Apple listed what the iPhone offers for websites: Quote:
Quote:
Quote:
Last edited by arn : Jun 20, 2007 at 02:27 PM. |
|||
|
|
|
|
|
#2 |
|
macrumors 6502a
Join Date: Nov 2003
Location: In the Bowels of the Cosmos
|
interesting. It sure sheds light on a few things.
__________________
My first computer was an Apple IIGS at the meager age of 6 1/2 years. I was raised with an APPLE and I will die with an APPLE. |
|
|
|
|
|
#3 |
|
macrumors 6502a
|
|
|
|
|
|
|
#4 |
|
Contributor
Join Date: Feb 2003
Location: with Hamburglar.
|
rockin' -- let's see this thing go!
__________________
Canon 1Ds Mk III • Canon 5D MkII 16-35mm f/2.8L II • 24-70mm f/2.8L • 70-200mm f/2.8L IS 50mm f/1.2L • 85mm f/1.2L • 135mm f/2L • 300mm f/2.8L IS |
|
|
|
|
|
#5 |
|
macrumors 6502
Join Date: Feb 2007
|
Haha, 10mb max per page? Who's going to wait all day for 10mb to load over EDGE? Bit overkill if you ask me, but certainly not unwelcome.
|
|
|
|
|
|
#6 |
|
macrumors 65816
|
5 second limit to javascript: sooo say you're doing something in which AJAX sends data to the server and receives a response. Does this mean that if the round-trip takes more than five seconds, the application will hang?
__________________
-PPC_Michael 17" MacBook Pro Core 2 Duo + 23" Cinema Display // 16GB iPod Touch |
|
|
|
|
|
#7 |
|
macrumors 6502
Join Date: Oct 2003
Location: California
|
Scroll wheel events?
__________________
Unibody MacBook | Blackberry Tour |
|
|
|
| villanova329 |
| View Public Profile |
| Find More Posts by villanova329 |
|
|
#8 |
|
macrumors 6502
Join Date: Jun 2007
|
i wonder how many apps, webpages and such can be run concurrently
__________________
Anthony Pittarelli |
|
|
|
| A Pittarelli |
| View Public Profile |
| Find More Posts by A Pittarelli |
|
|
#9 |
|
macrumors Demi-God
Join Date: Nov 2006
Location: Hotel Rooms Across The World. (I travel allot!)
|
It's a hand held device. I am excited, despite the limitations.
|
|
|
|
|
|
#10 | |
|
macrumors regular
Join Date: Feb 2007
|
Quote:
I am sure a lot of people want to make sections of their sites optimized for the iPhone, and with so many sites driven by databases (i.e., MySQL), scripting languages (i.e., PHP), and separating style from content (CSS), maintaing an iPhone-optimized site shouldn't be too hard for many. |
|
|
|
|
| Random Ping |
| View Public Profile |
| Find More Posts by Random Ping |
|
|
#11 |
|
macrumors 6502
Join Date: Mar 2007
Location: Edge of reason
|
Most likely an Ajax request will use an asynchronous request, meaning that Javascript will not actually be running while waiting for content to download from the server. Instead, when the data is retrieved Safari would call a Javascript function. Even if it was a synchronous request, Safari might consider the "halted" javascript to not actually be running, meaning the 5 second limit would not apply.
__________________
flickr | Smeagol vs. PC Video iMac G5 20"; MBP C2D 15" 2.33GHz 2GB RAM 30" ACD; FCS 2; Maya 7.0; CS4 Design Premium |
|
|
|
|
|
#12 |
|
macrumors 65816
|
10MB max html size? I don't think that's a restriction, some phone have like 10KB or 100KB max html size......
__________________
This is good, isn't it? |
|
|
|
|
|
#13 |
|
macrumors newbie
Join Date: Apr 2007
|
NO FLASH/JAVA!!!!!!!!!
Last edited by Doctor Q : Jun 19, 2007 at 01:42 PM. Reason: shouting |
|
|
|
|
|
#14 |
|
macrumors newbie
Join Date: Feb 2004
|
too much iPhone
Is there anyone with me who is also extremely sick of hearing about the iPhone? Isn't there anything else to talk about? I know people are excited and all, but c'mon... please?
|
|
|
|
|
|
#15 |
|
macrumors 6502
Join Date: Mar 2005
Location: In the cool neighborhood of LA
|
can you make it a bit more clear what you are trying to convey?
__________________
"With win-win-win, we all win!"- Michael Scott
Last edited by Doctor Q : Jun 19, 2007 at 01:42 PM. Reason: edited quote |
|
|
|
| artalliance |
| View Public Profile |
| Find More Posts by artalliance |
|
|
#16 |
|
macrumors 6502
|
ahh, i cant wait only 10 more days
|
|
|
|
|
|
#17 |
|
macrumors 68040
Join Date: Apr 2003
Location: Toronto, Canada
|
> Javascript limited to 5 seconds run time
What sort of crap is that?!
__________________
iPhone: The cell phone for communists and censorship |
|
|
|
|
|
#18 | |
|
macrumors regular
Join Date: May 2006
|
Quote:
no, iphone is all that matters for now
__________________
Unibody Macbook Pro! It Makes My Money For Me... ![]() iPhone 32GB 3G S⃣ |
|
|
|
|
|
|
#19 | |
|
macrumors 6502
|
I know the iphone is the most wanted product on the planet, but this first itteration leaves a lot to be desired.
full featured internet? No 3G? No java No Flash 4 or 8 gb max storage no external memory oh and this line: Quote:
Bottom line is apple will do what they always do...release this and then 6 months later, release the one that everyone wants.
__________________
Citi Macbook Air 1.6 / Macbook Pro (15) 2.5 4gb ram / Mac Mini 1.5 core solo / ipod touch 2nd Gen 8gb |
|
|
|
|
|
|
#20 | |
|
macrumors 6502
Join Date: Mar 2007
Location: Edge of reason
|
Quote:
For instance, the "accordion" animation that Apple uses on their hot news page probably does not take even half second of consecutive javascript execution time. Instead, it runs a script which takes probably under a tenth of a second to run, several times, each time changing the size of a part of the web page. Apple's Hot News Page I'm talking about the panels at the right, and what happens as you hover over "Top Albums," "Top Movies," etc.
__________________
flickr | Smeagol vs. PC Video iMac G5 20"; MBP C2D 15" 2.33GHz 2GB RAM 30" ACD; FCS 2; Maya 7.0; CS4 Design Premium |
|
|
|
|
|
|
#21 |
|
macrumors 68020
Join Date: Mar 2006
Location: Wonderland
|
well im pissed kinda... 5 seconds for javascript wish they'd reveal a bit more about that.
__________________
Oh yes mustard! That'll do... Mustard? Don't let's be silly. Now lemon, that's different... |
|
|
|
| Fearless Leader |
| View Public Profile |
| Find More Posts by Fearless Leader |
|
|
#22 |
|
macrumors 6502
Join Date: Jun 2005
|
Worry not people, it will be hacked and running Flash, Java, and snowflake animations in Javascript for longer than 5 seconds in no time!
__________________
|
|
|
|
|
|
#23 | |
|
macrumors 6502
Join Date: Mar 2007
Location: Edge of reason
|
Quote:
Edit: In addition, based off what I've read in my short Google search on Firefox's timeout, it was once 5 seconds. (But now the default is 10). The difference between Firefox and the iPhone browser will most likely be that in Firefox this setting is customizable (but you have to go to about:config and change it manually) and Firefox doesn't simply halt the script, but shows a dialog telling the user that a script is running to slow and asking whether to stop it or not. If the user decides not to stop it, and it is an endless loop, Firefox would (this is an educated guess) hang. As Apple wants the iPhone to be stable, they don't want to give the user a choice to do something which has a potential to crash the system.
__________________
flickr | Smeagol vs. PC Video iMac G5 20"; MBP C2D 15" 2.33GHz 2GB RAM 30" ACD; FCS 2; Maya 7.0; CS4 Design Premium Last edited by CoreWeb : Jun 19, 2007 at 01:42 PM. |
|
|
|
|
|
|
#24 |
|
macrumors 6502
Join Date: Jun 2005
|
99% of pages on the net which use javascript (even extensively) need no more than a second. Javascript is mainly used for things which happen instantly. Animations with Javascript are POOP. It's not like the iPhone has a replacement for displaying animations (Flash, Java) but hey, this is rev A.
__________________
|
|
|
|
|
|
#25 |
|
macrumors 6502
Join Date: Mar 2005
Location: In the cool neighborhood of LA
|
you are aware that this is way more than any current phone out there, right?
__________________
"With win-win-win, we all win!"- Michael Scott
|
|
|
|
| artalliance |
| View Public Profile |
| Find More Posts by artalliance |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|