使用Ionic还是Cordova? [英] Use Ionic or Cordova?

查看:197
本文介绍了使用Ionic还是Cordova?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望构建一个使用大量视频和图片的简单应用程序。该应用程序应在运行Andriod和iPhone操作系统的不同移动设备上运行。 Ionic是否还将每个应用程序转换为所有移动设备选项?



您建议使用Cordova或Ionic?

解决方案

Disclamer:这听起来像广告,所以我不得不说我没有附属于Ionic,我只是碰巧这么喜欢,对它的爱。



Ionic不仅仅是一个UI框架。 Ionic允许您:





此外,他们正在为您的Ionic应用程序构建全栈后端​​服务和工具,例如部署(用于部署新版本而不经过Apple审核流程!) , Google Analytics(分析)推送通知



Ionic CLI(命令行界面)在后端使用Cordova,允许您为iOS和Android构建(直接使用Ionic CLI)应用程序$ c> ionic build ios ionic build android 和woila)。



使用Angular作为前端框架,所以如果你熟悉它,它将作为一个奖金。他们也与Angular 2.0团队密切合作


$ b $总之,我个人认为Ionic有一个光明的未来,所以如果没有别的什么 - 给它一个尝试,我敢打赌,你会喜欢用它做一个应用程序的容易。


We want to build a simple application that use a lot of videos and images. The application should run on different mobile devices running Andriod and iPhone operating systems. Does Ionic also convert each application to all mobiles options ?

What do you suggest to use Cordova or Ionic?

解决方案

Disclamer: This will sound like advertisement, so I have to say I'm in no way affiliated with Ionic, I just happen to like it so much that I'm sharing the love for it.

Ionic is so much more than "just" an UI framework. Ionic allows you to:

  • generate icons and splash screens for all devices and device sizes with a single command: ionic resources. This alone saves you at least a day of image preparing for various sizes.
  • instantly update your apps with code changes, even when running directly on your device with ionic run --livereload
  • build and test iOS and Android versions side-by-side and see changes instantly with ionic serve --lab
  • share your Ionic apps with clients, customers, and testers all around the world without ever going through the App Store with ionic share
  • easily accessing the full native functionality of the device using ngCordova (here you get to use any Cordova plugin - so Ionic is indeed much more than Cordova per se)

Also, they're building a full-stack backend services and tools for your Ionic app like Deploy (for deploying a new version without going through Apple review process!), Analytics, Push notifications.

Ionic CLI (command line interface) uses Cordova in the backend and allows you to build (directly using Ionic CLI) apps for iOS and Android (you by doing ionic build ios or ionic build android and woila).

Ionic uses Angular as a frontend framework so if you're familiar with it it will come as a bonus. They're working closely with the Angular 2.0 team too.

All in all, I personally think Ionic has a bright future, so if nothing else - give it a try I bet you'll like the ease of making an app with it.

这篇关于使用Ionic还是Cordova?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆