jducoeur: (Default)
jducoeur ([personal profile] jducoeur) wrote2007-07-16 11:32 am
Entry tags:

"It's just Web programming"

If I hear one more statement that programming for the iPhone is trivial because it is simply Web programming, I am going to hunt Steve Jobs and put him down.

Let's be clear here: there is no such thing as "just" Web programming, at least if you're doing sophisticated stuff. Each browser is different in its quirks and characteristics -- the same code, executed on IE, Firefox and Safari, will generally perform a little bit differently on each. And the iPhone is more different than most: there are a lot of assumptions about UI built into Web programming that don't hold true for the iPhone. (For instance, the notion that "hover" means something, or the keycodes returned when the user presses "Enter".)

If you're building UIs for the Web, and you want them to be fancy, responsive and cross-browser, be prepared for real work on *each* target browser. While things still aren't as bad as the early days of the Browser Wars, it's still quite a black art.

(This rant brought to you by one too many facile comments online, poo-pooh'ing the notion that Apple needs to provide iPhone developers any technical support, since it's "just Web programming"...)

[identity profile] zachkessin.livejournal.com 2007-07-16 03:36 pm (UTC)(link)
Thank you!

I mean I love doing Ajax/javascript and I've been doing it enough to know that it takes real skill.

[identity profile] umbran.livejournal.com 2007-07-16 03:52 pm (UTC)(link)
Devli's Advocating for the moment: maybe the intent was not to imply that it is easy, but that it was a problem of an already known class of tasks. As in, "you don't have to do anything more than what you do with web programming".

In physics and math, there's a common habit of noting when a problem fits into an already known class. If I look at a problem and say, "It's just orbital mechanics," I don't mean to say that the partial differential equations are easy, but I do mean that you can use the usual methods to deal with them.

[identity profile] metahacker.livejournal.com 2007-07-16 04:04 pm (UTC)(link)
Of course, he just wants you to have your app work in Safari. This should simplify your task immensely, while simultaneously robbing you of 94% of your market.

[identity profile] hakamadare.livejournal.com 2007-07-16 08:35 pm (UTC)(link)

robbing you of 94% of your market

are you referring to the 94% of iPhones that run some browser other than Safari? :)

frankly, i had figured that if someone were to write a “third-party app” for the iPhone, one would want it to be optimized specifically for the Safari on the iPhone, and in fact possibly not run at all under other browsers.

-steve

[identity profile] metahacker.livejournal.com 2007-07-16 08:40 pm (UTC)(link)
Perhaps that's what Jobs wants -- but if I wrote a webapp to run on the iPhone, I'd want it to run on all similar phones, and be accessible through Firefox and IE on the desktop, to maximize adoption.

Unless it used some unique feature of the iPhone -- but it doesn't seem to have any particularly unique (accessible) capabilities, just a decent package for a bunch of normal ones.
ext_44932: (wtf)

[identity profile] baavgai.livejournal.com 2007-07-16 11:31 pm (UTC)(link)
Interesting. Last I'd paid attention, Apple had pretty much told third party developers to get bent. Forcing them to write only browser based apps seems almost more evil, somehow.

I agree completely. Doing anything complex in what's essentially self mutating html immediately reveals that the medium was never meant for such things. I admire well done web apps mostly because it's the path of most resistance when it comes to UI development. It's also like a watching a high wire act, waiting for any given browser inconsistency to make the thing fall to it's doom.

[identity profile] fairdice.livejournal.com 2007-07-17 10:50 am (UTC)(link)
You really don't think this was planned all along? The fact that Apple released Safari-for-Windows, which looks to me like it was a huge effort, seemed to indicate that they had always planned Safari to be the iPhone development platform, and SfW is their (first attempt at an) SDK...