Phonegap x native application

2

Phonegap x native application: What are the main advantages and disadvantages of the two.

    
asked by anonymous 07.03.2015 / 20:16

2 answers

7

Development with: PhoneGap

PhoneGap is a framework for the development of hybrid applications using the latest web technologies. Well known by webDevelopers , which are: HTML5 , CSS3 and javaScript .

It is a framework fully compatible with other frameworks , which are responsible for the user- interface, such as jQuery Mobile .

Advantages

  
    
  • Easy to manipulate native platform components.
  •     
  • Easy to develop single code for multiple platforms.
  •     
  • Ease of learning, no need to learn the language of the platform.
  •     
  • Learning is even easier for those who are already a Developer webpage.
  •     
  • Compatibility with other frameworks .
  •     
  • Framework open- source
  •     

Disadvantages

  
    
  • It is only recommended for small and medium-sized applications.
  •     
  • Poor performance
  •     
  • Developing interfaces is complicated
  •     
  • Poor usability
  •     

Development with: native code

In general, development with native code is the most recommended for all developers . It allows you greater access to all platform tools and also better control of your application. However, it has its drawbacks, which will be quoted below.

Advantages

  
    
  • Enormous documentation.
  •     
  • Great usability.
  •     
  • Great performance.
  •     
  • More advanced code organization.
  •     
  • Creating interfaces is made easy (platform dependent).
  •     
  • Security.
  •     
  • Active Community.
  •     
  • Recommended for small, medium and large applications.
  •     
  • Easy access to device features (such as sensors).
  •     
  • Applications that use 2D / 3D capabilities are faster by comparing phoneGap .
  •     

Disadvantages

  
    
  • It is necessary to learn the language required by the platform (Java, C #, Swift, ...).
  •     
  • Non-portable code for other platforms, requiring 1 code for each.
  •     

Battle of Giants

Developing natively is a good option, even if you need to learn a new technology. Still, learning a new technology will always be good for you. However, if you do not really care about it and do not care about usability or application performance, use phoneGap is recommended . Otherwise, developing natively is the best option. The bad of phoneGap is that application performance is pretty poor compared to a native. But anyway, if your application is not as complex, you can do it with phoneGap . Or if you prefer, you can nativamente , and have more control over your application on the platform you are developing.

Final verdict

Developing natively continues to be the best choice for developers right now. But with the great technological advance, who knows this does not change?

    
07.03.2015 / 23:05
0

See the following article comparing Native and Hybrid Applications advantages and disadvantages:

Article

If you want to develop hybrid applications I would indicate to you the ionic framework , it uses Javascript, CSS3 and HTML, based on Phonegap has a good documentation and many plugins on the internet to use.

    
08.03.2015 / 17:01