I'm new in iOS development and I'm just following some tutorials on youtube, I'm confused between page based application template and view based application template. I'm using xcode 4.6 and the tutorial I'm following has page based application using xcode 4.0 using a view based application. Xcode 4.6 has no view based application.
What are the difference of page base application and view based application in Xcode? Are they the same?
There are two general approaches to building web applications today: traditional web applications that perform most of the application logic on the server, and single-page applications (SPAs) that perform most of the user interface logic in a web browser, communicating with the web server primarily using web APIs.
The first point to start 'web application vs. website' differentiation with is interactivity. A website provides visual and text content that the user can see and read, but not affect in any way. In the case of a web application, the user can not only read the page content but also manipulate the data on this page.
Web application is designed for interaction with end users. Website basically contains static content. The user of web application can read the content of web application and also manipulate the data. The user of website only can read the content of website but not manipulate .
The difference between SPA and MPA is that MPAs secures each page to its core. Therefore, it takes more time and effort to maintain the security; hence, page loading time is more. SPAs secure endpoints faster, but the security level is low. SPAs generally rely on JavaScript.
Page based application and view based applications are just templates only that makes your job a little bit easier. Depending upon your template selection Xcode
will automatically generate some files and use some controls. It is not necessary to start with such kind of template you can even start with an empty application . There you are designing from scratch. You can choose a template based on type of your application.
Inorder to find the difference just create applications using both templates and run it. Page based application uses pageViewController that switches pages while swiping just like turn pages of a book. single view application creates a single view controller and its view. If you choose single single view application initially dont worry. Add pageViewController and design properly, you can make it as a Page based application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With