android - 目前哪个开发语言能跨平台开发原生app
PHP中文网
PHP中文网 2017-04-18 09:07:02
0
23
1981

就是一次开发后可以在安卓,ios及pc上运行的?

续问1?
如果考虑上手快,小项目(网站移动版相似),用哪种开发又快又好呢(主要考虑快,一次代码到处发布)???

续问2?
如果在以上基础还考虑未来的升级等的话,考虑哪 种开发?

PHP中文网
PHP中文网

认证0级讲师

reply all(23)
阿神

As for language, the author should already have the answer in his mind, yes. It’s JS.
But react is learned once and written many times
ionic is written once and executed everywhere.

ionic2 has introduced native modules, and many people are already using them. However, it will not officially explode until the official version of ng2 is released.
Now react has exploded...
But ionic/angular and react are reaching the same goal by different paths. They are all the development trends of the front-end in the future. If you go on this road, you will follow the trend, and you will improve both technically and personally.

I have tried several domestic frameworks, but they feel like a waste of time

阿神

I recommend Deviceone. The principle of Deviceone is closest to ReactNative. Deviceone’s app runs on the mobile phone, and all the interfaces you see are pure native UIs. For example, the button label corresponds to the UIButton class on iOS, and the Button class on android.

What’s stronger than react native is that it truly writes once, run anyway, while react native is learn once, write anyway. react native is not truly cross-platform.

In addition, compared to react native, deviceone is much more mature in application and supports almost 100 cross-platform components. Officials and some individual developers are still expanding this component library.

The app developed by device one is compiled from a small native core and some native components selected by the developer from the component library.

小葫芦

Try DeviceOne. It is both cross-platform and native. It supports android, ios, windowsphone and windows pc. Our company is using this for projects.

PHPzhong

DeviceOne is still possible, it is all designed with a graphical interface and drag-and-drop development. Easy to get started. You can try it. Our App is online. You can search "Natto" in AppStore.

小葫芦

After writing it once, it can run on computers and mobile phones without modification. I only think of websites with B/S architecture.
So I also thought of an application development idea, which is to move the B/S architecture to the client.
So I cross-compiled the ARM Linux version of PHP on Ubuntu (for Android, Raspbian, etc.), packaged PHPDroid, the APK package is only 5.7MB, and developed applications based on WebView + PHP's built-in HTTP server and SQLite database. The PHP script was written once Finally, there is no problem running on PC and Android, and code reuse can be achieved.

阿神

It’s cross-platform and native, so, my answer is no!

左手右手慢动作

React Native?

阿神

JavaScript’s cross-platform performance is pretty good
React Native is indeed very popular now

阿神

react needs to be written multiple times
ionic, it can only appear on android and ios

小葫芦

Crooked building, Qt

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template