Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > News and Article Discussion > MacRumors.com News Discussion
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Jun 19, 2007, 12:52 PM   #1
MacRumors
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:
Removed per Apple's Request
A few iPhone size limitations / restrictions are noted in developing for the iPhone:
Quote:
Removed per Apple's Request
Apple recommends the following design considerations:
Quote:
Removed per Apple's Request
Apple's iPhone comes out on June 29th, 2007. At WWDC, Apple announced that Web-based applications will be the only way for 3rd party developers to produce applications for the iPhone.

Last edited by arn : Jun 20, 2007 at 02:27 PM.
MacRumors is offline   Reply With Quote
Old Jun 19, 2007, 01:02 PM   #2
yoman
macrumors 6502a
 
yoman's Avatar
 
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.
yoman is offline   Reply With Quote
Old Jun 19, 2007, 01:03 PM   #3
mikeinternet
macrumors 6502a
 
mikeinternet's Avatar
 
Join Date: Nov 2006
Location: jersey
Send a message via AIM to mikeinternet
Quote:
Originally Posted by Macrumors View Post
...iPhone size limitations / restrictions are noted...
why would any of this be limited?
mikeinternet is offline   Reply With Quote
Old Jun 19, 2007, 01:03 PM   #4
Grimace
Contributor
 
Grimace's Avatar
 
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
Grimace is offline   Reply With Quote
Old Jun 19, 2007, 01:03 PM   #5
Eric1285
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.
Eric1285 is offline   Reply With Quote
Old Jun 19, 2007, 01:03 PM   #6
ppc_michael
macrumors 65816
 
ppc_michael's Avatar
 
Join Date: Apr 2005
Location: New York, NY
Send a message via AIM to ppc_michael
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
ppc_michael is offline   Reply With Quote
Old Jun 19, 2007, 01:03 PM   #7
villanova329
macrumors 6502
 
Join Date: Oct 2003
Location: California
Scroll wheel events?
__________________
Unibody MacBook | Blackberry Tour
villanova329 is offline   Reply With Quote
Old Jun 19, 2007, 01:11 PM   #8
A Pittarelli
macrumors 6502
 
Join Date: Jun 2007
i wonder how many apps, webpages and such can be run concurrently
__________________
Anthony Pittarelli
A Pittarelli is offline   Reply With Quote
Old Jun 19, 2007, 01:12 PM   #9
DocStone
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.
DocStone is offline   Reply With Quote
Old Jun 19, 2007, 01:12 PM   #10
Random Ping
macrumors regular
 
Join Date: Feb 2007
Quote:
Originally Posted by Macrumors View Post
Univeristy of Washington's Emerging Technology group published notes from Apple's Developing Web Sites for iPhone session from WWDC last week.
Apple should post an official set of guidelines.

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 is offline   Reply With Quote
Old Jun 19, 2007, 01:13 PM   #11
CoreWeb
macrumors 6502
 
Join Date: Mar 2007
Location: Edge of reason
Quote:
Originally Posted by ppc_michael View Post
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?
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
CoreWeb is offline   Reply With Quote
Old Jun 19, 2007, 01:16 PM   #12
angelneo
macrumors 65816
 
angelneo's Avatar
 
Join Date: Jun 2004
Location: afk
Send a message via MSN to angelneo Send a message via Skype™ to angelneo
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?
angelneo is offline   Reply With Quote
Old Jun 19, 2007, 01:16 PM   #13
mrpiddly
macrumors newbie
 
Join Date: Apr 2007
NO FLASH/JAVA!!!!!!!!!




Last edited by Doctor Q : Jun 19, 2007 at 01:42 PM. Reason: shouting
mrpiddly is offline   Reply With Quote
Old Jun 19, 2007, 01:19 PM   #14
sieken
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?
sieken is offline   Reply With Quote
Old Jun 19, 2007, 01:20 PM   #15
artalliance
macrumors 6502
 
Join Date: Mar 2005
Location: In the cool neighborhood of LA
Quote:
Originally Posted by mrpiddly View Post
NO FLASH/JAVA!!!!!!!!!



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 is offline   Reply With Quote
Old Jun 19, 2007, 01:22 PM   #16
Furgster
macrumors 6502
 
Join Date: Jun 2007
Send a message via AIM to Furgster
ahh, i cant wait only 10 more days
Furgster is offline   Reply With Quote
Old Jun 19, 2007, 01:23 PM   #17
Stella
macrumors 68040
 
Stella's Avatar
 
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
Stella is offline   Reply With Quote
Old Jun 19, 2007, 01:24 PM   #18
Asar
macrumors regular
 
Join Date: May 2006
Quote:
Originally Posted by sieken View Post
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?


no, iphone is all that matters for now
__________________
Unibody Macbook Pro! It Makes My Money For Me...
iPhone 32GB 3G S⃣
Asar is offline   Reply With Quote
Old Jun 19, 2007, 01:26 PM   #19
citi
macrumors 6502
 
Join Date: May 2006
Location: Simi Valley, CA
Send a message via AIM to citi Send a message via MSN to citi Send a message via Yahoo to citi
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:
new telephone links allows you to integrate phone calls directly from your webpage. remember this is only on safari.
That's a load of crap, my moto q and pretty much any other ms smartphone does this. Plus, we still don't know how the keyboard is going to work out, and if will it last, like say if I drop my phone. My ipod is durable, but will this one be?

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
citi is offline   Reply With Quote
Old Jun 19, 2007, 01:28 PM   #20
CoreWeb
macrumors 6502
 
Join Date: Mar 2007
Location: Edge of reason
Quote:
Originally Posted by Stella View Post
> Javascript limited to 5 seconds run time

What sort of crap is that?!
What sites do you know of that use more than 5sec consecutive run time? I hope no site that I've made... though I can understand that a few might run long Javascript routines, most sites run will run javascript several times for very short periods each time.

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
CoreWeb is offline   Reply With Quote
Old Jun 19, 2007, 01:33 PM   #21
Fearless Leader
macrumors 68020
 
Fearless Leader's Avatar
 
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 is offline   Reply With Quote
Old Jun 19, 2007, 01:35 PM   #22
Counter
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!
__________________
Counter is offline   Reply With Quote
Old Jun 19, 2007, 01:36 PM   #23
CoreWeb
macrumors 6502
 
Join Date: Mar 2007
Location: Edge of reason
Quote:
Originally Posted by Rokem View Post
well im pissed kinda... 5 seconds for javascript wish they'd reveal a bit more about that.
For comparison purposes, the default limit on desktop Firefox is 10 seconds, I believe. And I'm pretty sure this is consecutive time, not total time. It is simply to prevent crashes if the Javascript gets stuck in an infinite loop.

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.
CoreWeb is offline   Reply With Quote
Old Jun 19, 2007, 01:37 PM   #24
Counter
macrumors 6502
 
Join Date: Jun 2005
Quote:
Originally Posted by Rokem View Post
well im pissed kinda... 5 seconds for javascript wish they'd reveal a bit more about that.
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.
__________________
Counter is offline   Reply With Quote
Old Jun 19, 2007, 01:40 PM   #25
artalliance
macrumors 6502
 
Join Date: Mar 2005
Location: In the cool neighborhood of LA
Quote:
Originally Posted by citi View Post
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?

4 or 8 gb max storage
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 is offline   Reply With Quote

Reply

Mac Forums > News and Article Discussion > MacRumors.com News Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:04 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC