Technical architecture diagram for an iPhone app
Is there any sample technical architecture diagram for an iPhone app which could depicts high开发者_Python百科 level components and their interactions.
Please guide.
Is there something in particular you are looking for? Have you taken a look at Apple's iOS application programming guides? Or are you looking for their technology overview?
It's nothing like a web application architecture.
Sure, like any software, there's a "front end" and "a back end". But even the simplest web app requires a number of decisions to be made - consider a LAMP app - you've decided a linux box will run apache and serve HTTP responses based on PHP code accessing a MySQL database. And maybe on the client side you're using a Javascript framework!
But any popular web app is more complicated then that, because you need to make sure the app scales and runs all the time when there is a number of possible points of failure. Therefore, an architecture is necessary.
iOS is nothing like that. The user taps a piece of glass and their device draws something to the screen. The complexity of the architecture is based on the demands of the app - can the developer get away with using UIKit or do they need to use CoreAnimation/OpenGL? How complicated is the data in play, should they use Core Data? If it's a media-based app, what video/audio/image frameworks should be used, if any? Etc.
Possibly the only architecture decisions that need to be made are how an app interacts with a server backend... but that's a web app architecture, not an iOS app architecture. Typically an iOS developer that needs to diagram an app architecture can draw an arrow that points to "Cloud" and be done with it.
精彩评论