Two Laptop Bag*
The moose likes iOS and the fly likes Web vs Native app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Reply locked New topic
Author

Web vs Native app

Phelipe Maia
Greenhorn

Joined: Jun 29, 2009
Posts: 14
Hello Brandon Trebitowski, Christopher Allen, and Shannon Appelcline,

My question is about web and native app... If I have a system and I want to build an iphone application to communicate with the system for use some process, which one is the best way: build a web application to run on iphone using web frameworks, or build an native app with obj-c?

Tks
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
Each has it's pro's and cons. The biggest advantage of having a native app is that the user will not have to download lots of images, CSS and JavaScript from your system, and will only get the raw data, which will be great for the user (less data to download, and faster response). You can also store data on the user's device for offline browsing. The bad thing about it is that you have to write an app in a different language, which will not be portable along different devices (e.g. android), will need to get a mac computer, and will have to pay 100 USD per year to keep your app in the app store, and every time you need to make an update, you will have to go through the approval process of Apple.


Visit my blog: http://jnassef.blogspot.com/
Phelipe Maia
Greenhorn

Joined: Jun 29, 2009
Posts: 14
But if my native app needs the datas of my server system, the native app doesn't work offline to.... The both solution needs to communicate with the server to get the datas for work.
I was thinking that in the case of native app I could build a local cache to work offline some basics operations. Is it possible?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Phelipe Maia wrote:I was thinking that in the case of native app I could build a local cache to work offline some basics operations. Is it possible?


Use the OS's built in SqlLite database. It's perfect for this scenario.


GenRocket - Experts at Building Test Data
Phelipe Maia
Greenhorn

Joined: Jun 29, 2009
Posts: 14
Gregg Bolinger wrote:
Phelipe Maia wrote:I was thinking that in the case of native app I could build a local cache to work offline some basics operations. Is it possible?


Use the OS's built in SqlLite database. It's perfect for this scenario.


But If I build a native app, how does the communication could be made? I have to set up a webservice and my app should made requests against the webservice?

Tks...
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Phelipe Maia wrote:
Gregg Bolinger wrote:
Phelipe Maia wrote:I was thinking that in the case of native app I could build a local cache to work offline some basics operations. Is it possible?


Use the OS's built in SqlLite database. It's perfect for this scenario.


But If I build a native app, how does the communication could be made? I have to set up a webservice and my app should made requests against the webservice?

Tks...


That's a really common approach, yes.
Philip Richard
Greenhorn

Joined: Jan 27, 2011
Posts: 3
Native applications are the apps that are installed directly on smart phone devices including iPhone , Android, Blackberry. Web applications are applications which have browser based access to the internet from a mobile device. There are also many differences between them like User Interface, Home screen Icon, device compatibility and performance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web vs Native app
 
Similar Threads
do i need mac os for iphone application development ?
Inserting web content in your native iPhone application
cann't we do i Phone Development without Apple Machine?
What is the most underused "neat" feature of Android.
Which book do you suggest?