Home
Username:
Password:
Developing iPhone Web Apps Tutorials

Building Overview / Deploying the App

Subtitles of the Movie

Dashcode has saved the folder and the files within it. They're all here and I've connected to my website to a folder that I've created called jftest and all I have to do to manually upload it is to use Fetch to put all of those files onto the website. There's nothing more I have to do. If I were using MobileMe I could use, without any problems, the Dashcode. I could also deploy it on this computer with no problems - it's just for the cross-domain scripting and, as you can see, getting around that is no big deal. Now, there's one step left to do and that is to test to see that the application runs and the simplest way of doing that is to test it in a browser. The first thing is to test it in the browser because you can see it on the screen; that's why the Simulator is used. It's much easier to work that way and then once it works in the browser then do a final test, a live test on an iPhone because that's where it has to end up. But by jumping all the way to the iPhone right at the beginning you may miss some things and particularly because the iPhone screen is smaller than what you're seeing on your computer screen you may miss things that you won't find maybe for a week or more, when someone says, what is that strange thing over there? So, what I've done I've uploaded it and now it's time to test it in a browser. I still have my browser open so what I'm going to do is to test to make certain that that upload worked and that I can get to the Web App in the browser, then I'll look at it on the iPhone. What I should see in the browser is something that looks a bit like this. In fact, very much like this. So let me come in here. I'm going to open another window and come to jftest was the folder I put it in, JFRSS was the folder that Dashcode created - that's what I saved it as - and index.html and lo and behold look at what I've got here and I want to compare all three of these. This is Dashcode. This is what I was looking at when I built the App. This is what I was looking at when I looked at the Feed using the URL and I saw the Feed in a browser. Here, this is sort of a combination of the two. It is the data from here, this is the data from the Feed itself and I'm accessing it through the iPhone Web App that is now up on my website. That's the simplest way of implementing something like this. It can be useful as I said. You give people the URL, which is this. Put it as a link on your web page and say Click here to get the latest news on your iPhone, or however you want to phrase that and then just remind them to Bookmark it with the Plus that's down here so that they can come back to it easily and place it on their home page. So, that's all you have to do to build a rather simplicated but rather powerful iPhone Web App. Now let's look deeper into what we've done and explore other adventures that you can use with iPhone Web Apps and Dashcode.

Tutorial Information

Course: Developing iPhone Web Apps
Author: Jesse Feiler
SKU: 34075
ISBN: 1-935320-89-0
Release Date: 2009-12-31
Duration: 8 hrs / 103 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available