Web Apps Compared to VoltBuilder Apps: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Created page with "NS Basic/App Studio apps can be deployed two different ways: as Web Apps or compiled into PhoneGap apps. Web Apps are loaded by the browser and can be saved to the Home screen..."
 
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
NS Basic/App Studio apps can be deployed two different ways: as Web Apps or compiled into PhoneGap apps. Web Apps are loaded by the browser and can be saved to the Home screen. PhoneGap apps are full native apps, able to be submitted to app stores.
AppStudio apps can be deployed two different ways: as Web Apps or compiled using VoltBuilder or Cordova into native apps. Web Apps are loaded by the browser and can be saved to the Home screen. VoltBuilder and Cordova apps are full native apps, able to be submitted to app stores.


PhoneGap has two ways you can work with it. The PhoneGap Build option is easy to use and the one we primarily are dealing with here. PhoneGap SDK is much more complex, but provides additional features. Check out our tutorials for iOS and Android.
There are two ways to make native apps. VoltBuilder option is easy to use and the one we primarily are dealing with here. [[Cordova|Cordova CLI]] is much more complex, but provides additional features. Check out our tutorials for iOS and Android.


If you want to see the rap version of this chart, check out Mobile Dev Rap Battle: Native Code vs. Web Apps!
If you want to see the rap version of this chart, check out [http://www.youtube.com/watch?v=fchbLzwtexk Mobile Dev Rap Battle: Native Code vs. Web Apps!]


{|  class="nsbtable"  
{|  class="wikitable"  
!  width=20% |  
!  width=20% |  
!  width=40% | Web App
!  width=40% | Web App
!  width=40% | PhoneGap App
!  width=40% | Native App
|-  
|-  
| Size of created apps (minimum)
| Size of created apps (minimum)
Line 15: Line 15:
|-  
|-  
| Maximum size of app + data
| Maximum size of app + data
| 5 megs
| 25 megs (iOS)
| Limited by device itself
| Limited by device itself;
|-  
|-  
| Can apps run offline?
| Can apps run offline?
| yes
| yes
| yes
| yes
|-
| Where are apps stored on device?
| In browser's sandbox.
| In regular file store.
|-  
|-  
| Performance
| Performance
| Excellent
| Excellent
| Slower for CPU bound operations on iOS.
| Slower for CPU bound operations.
|-  
|-  
| Eligible for Store?
| Eligible for Store?
Line 47: Line 51:
| Additional Plugins
| Additional Plugins
|  
|  
| Capture, Connection, Device, File, Storage, Camera, Contacts, Events, Notification
| Many - see the complete list [https://volt.build/docs/approved_plugins/plugins on VoltBuilder's site].
|-  
|-  
| How to deploy
| How to deploy
| To the test server: hit F6.
| To the test server: hit F6.
<p>To your own server: Set up username and password, then hit F6.
To your own server: Set up username and password, then hit F6.
<p>Then, on the device, enter the app's URL into the browser,  
Then, on the device, enter the app's URL into the browser, then save to Home screen.
then save to Home screen.
| [[Submitting to the iOS App Store|iOS]]: join Apple's developer program, get certificates (Mac required), upload using VoltBuilder, use Apple's upload tool to submit to App Store, wait for approval or rejection. Customer can then get app through App Store.
| iOS: join Apple's developer program, get certificates (Mac required),
[[Submitting to the Google Play and Amazon Stores|Android]]: Download result file from VoltBuilder and distribute  
enter certificates into PhoneGap Build, use Apple's upload tool to
submit to App Store, wait for approval or rejection.  
Customer can then get app through App Store.
<p>Android: Download result file from PhoneGap Build and distribute  
directly or through Google marketplace.
directly or through Google marketplace.
|-  
|-  
| How to update a deployed app
| How to update a deployed app
| Deploy the app to the server. Next time the user starts the app,
| Deploy the app to the server. Next time the user starts the app, it will be automatically updated.
it will be automatically updated.
| iOS: Go through the whole submission process again. Once complete, app will show up as an update in the App Store.
| iOS: Go through the whole submission process again. Once complete,  
Android: distribute directly or through Google marketplace.
app will show up as an update in the App Store.
<p>Android: distribute  
directly or through Google marketplace.
|-  
|-  
| How to delete a deployed app
| How to delete a deployed app
| User can delete manually. If app is deleted from server, it will
| User can delete manually. If app is deleted from server, it will be automatically deleted from user's device.
be automatically deleted from user's device.
| User can delete manually.
| User can delete manually.
|-  
|-  
| How to delete app's data
| How to delete app's data
| User can delete manually in Settings. If app is deleted from server,  
| User can delete manually in Settings. If app is deleted from server, it will be automatically deleted from user's device.
it will be automatically deleted from user's device.
| Will be deleted with app.
| Will be deleted with app.
|-  
|-  
| Sharing data between apps
| Sharing data between apps
| Apps from the same server can share SQLite databases  
| Apps from the same server can share SQLite databases (subject to 5 meg limit)
(subject to 5 meg limit)
| Apps are sandboxed and cannot interfere with each other's data.
| Apps are sandboxed and cannot interfere with each other's data.
|-  
|-  
| Other software needed
| Other software needed
| Nothing.
| Nothing.
| iOS: XCode 4.2 + iOS SDK (1.64 gigs)<br>
| iOS: iOS Application Installer<br>
Android: Nothing
Android: Nothing
|-  
|-  
| Development OS
| Development OS
| Windows XP, Vista or 7
| Windows 10
| iOS: OS X<br>
| iOS: OS X<br>
Android: Windows, OS X or Linux
Android: Windows, OS X or Linux
|}
|}

Latest revision as of 14:44, 9 April 2021

AppStudio apps can be deployed two different ways: as Web Apps or compiled using VoltBuilder or Cordova into native apps. Web Apps are loaded by the browser and can be saved to the Home screen. VoltBuilder and Cordova apps are full native apps, able to be submitted to app stores.

There are two ways to make native apps. VoltBuilder option is easy to use and the one we primarily are dealing with here. Cordova CLI is much more complex, but provides additional features. Check out our tutorials for iOS and Android.

If you want to see the rap version of this chart, check out Mobile Dev Rap Battle: Native Code vs. Web Apps!

Web App Native App
Size of created apps (minimum) About 100K About 250K
Maximum size of app + data 25 megs (iOS) Limited by device itself;
Can apps run offline? yes yes
Where are apps stored on device? In browser's sandbox. In regular file store.
Performance Excellent Slower for CPU bound operations.
Eligible for Store? No. iOS: Yes. Can go into App Store.

Android. Yes. Can go into Marketplace.

Distribute without going through store? Yes. iOS: No.

Android. Yes.

Percent you have to give up 0% iOS: 30%

Android. 30% (MarketPlace)

Security of code OK: obfuscated OK: obfuscated
Additional Plugins Many - see the complete list on VoltBuilder's site.
How to deploy To the test server: hit F6.

To your own server: Set up username and password, then hit F6. Then, on the device, enter the app's URL into the browser, then save to Home screen.

iOS: join Apple's developer program, get certificates (Mac required), upload using VoltBuilder, use Apple's upload tool to submit to App Store, wait for approval or rejection. Customer can then get app through App Store.

Android: Download result file from VoltBuilder and distribute directly or through Google marketplace.

How to update a deployed app Deploy the app to the server. Next time the user starts the app, it will be automatically updated. iOS: Go through the whole submission process again. Once complete, app will show up as an update in the App Store.

Android: distribute directly or through Google marketplace.

How to delete a deployed app User can delete manually. If app is deleted from server, it will be automatically deleted from user's device. User can delete manually.
How to delete app's data User can delete manually in Settings. If app is deleted from server, it will be automatically deleted from user's device. Will be deleted with app.
Sharing data between apps Apps from the same server can share SQLite databases (subject to 5 meg limit) Apps are sandboxed and cannot interfere with each other's data.
Other software needed Nothing. iOS: iOS Application Installer

Android: Nothing

Development OS Windows 10 iOS: OS X

Android: Windows, OS X or Linux