Phonegap x native application: What are the main advantages and disadvantages of the two.
Phonegap x native application: What are the main advantages and disadvantages of the two.
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 .
- 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
- It is only recommended for small and medium-sized applications.
- Poor performance
- Developing interfaces is complicated
- Poor usability
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.
- 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 .
- 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.
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.
Developing natively continues to be the best choice for developers right now. But with the great technological advance, who knows this does not change?
See the following article comparing Native and Hybrid Applications advantages and disadvantages:
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.