V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
gdtv
V2EX  ›  iDev

假如性能可以放在次要方面,哪个跨平台的 app 开发方案最好

  •  
  •   gdtv · Apr 25, 2018 · 7747 views
    This topic created in 2925 days ago, the information mentioned may be changed or developed.

    小公司,oneman 开发,现需要开发一个 app,给用户用的,不是公司内部用,用哪种方案开发好?最好是 html5 的。

    21 replies    2018-04-26 09:02:14 +08:00
    wzw
        1
    wzw  
       Apr 25, 2018
    小程序?
    gdtv
        2
    gdtv  
    OP
       Apr 25, 2018
    @wzw 不要小程序
    honeycomb
        3
    honeycomb  
       Apr 25, 2018 via Android
    @gdtv reactive native?
    murmur
        4
    murmur  
       Apr 25, 2018
    react native 和 cordova+wkweview 这 2 个各有优缺点 看你团队水平如何了
    murmur
        5
    murmur  
       Apr 25, 2018   ❤️ 2
    考虑到这论坛又叫 i2ex 和 i2rn,我只写一下 cordova 的特点,react native 你在网上查就可以,weex 就别考虑了
    1、cordova 的复用性是最高的,直接嵌入 h5 页面就完了,基本不需要什么额外的学习量
    2、cordova 解决的问题一般就是 webview 的问题,而这其中又以 sb ios 的问题最多,所以基本上 safari 浏览器的解决方案都对 cordova 适用
    3、cordova 下你熟悉的所有前端库和组件都可以适用,是所有,不限于 react,vue、angular、jquery 也是可以的
    4、cordova 在某些底层功能的适配看上去要比 react native 要好,比如 nfc 什么,文档看上去就炫酷啊

    问题:
    1、cordova 对没有 wkwebview 或者 android4.4+支持的情况下可能渲染会被 rn 碾压
    2、ios11.3 是个相当 sb 的版本,ionic wkwebview 和 code-push 等组件都在这个版本上出了问题,甚至是源生的 uiwebview 也各种问题频发,当然也许是运气不好?但是为啥 11.2 他就不出问题呢
    af463419014
        6
    af463419014  
       Apr 25, 2018
    几年前用过 phonegap
    就是用户体验没有原生的 app 好
    shootsoft
        7
    shootsoft  
       Apr 25, 2018 via iPhone
    有试过微软的 xamarin forms 的吗?
    parkcg
        8
    parkcg  
       Apr 25, 2018 via iPhone
    flutter 没人推荐吗,我琢磨用来写写看
    beginor
        9
    beginor  
       Apr 25, 2018 via Android   ❤️ 1
    cordova,xamarin 以及 Google 新撸的 flutter 都是不错的选择, 看你熟悉什么了
    AngelCriss
        10
    AngelCriss  
       Apr 25, 2018 via Android
    @parkcg 环境没装好就放弃了
    sxsexe
        11
    sxsexe  
       Apr 25, 2018
    react native 吧,成熟,出了问题好找解决方法
    parkcg
        12
    parkcg  
       Apr 25, 2018
    @AngelCriss 有这么坑? 官网看着很美好
    MeteorCat
        13
    MeteorCat  
       Apr 25, 2018
    我以前公司用 ionic
    按领导的说法,我们的先抢占市场,现在手机发展这么快,早晚会更新换代,我们要立足 android4.4 开发(那时候普遍手机都是 2.x 时代),至于 4.4 以下版本不做考虑
    doctorwei
        14
    doctorwei  
       Apr 25, 2018   ❤️ 1
    hbuilder
    whypool
        15
    whypool  
       Apr 25, 2018
    rn>ionic>weex 目前混合开发第一梯队,性能,插件集成,编译什么的都比较成熟

    appcan apicloud hbuider 第二梯队吧,快速出产品,资讯类的 app 简直方便,一天一个没毛病
    cjw1115
        16
    cjw1115  
       Apr 25, 2018
    Xamarin.Forms 呀,多好的技术
    wangxiaoaer
        17
    wangxiaoaer  
       Apr 25, 2018
    @parkcg #8 手写界面受不了。
    CFM880
        18
    CFM880  
       Apr 25, 2018
    综合来看 weex 和 RN, 通过内置解析器最后转为原生 view 的适合楼主,纯 html5 的 ionic 慎用,没准是我写的不好,ionic 各种坑填
    ak47947
        19
    ak47947  
       Apr 26, 2018
    mark 学习下
    hackxing
        20
    hackxing  
       Apr 26, 2018
    https://www.apicloud.com/ 公司借助 apicloud 开发了两个 App 并上线使用 可以考虑一下
    gdtv
        21
    gdtv  
    OP
       Apr 26, 2018
    @hackxing 曾经试用过 apicloud,但不喜欢受制于人,以及隐私问题,不喜欢用 apicloud
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3678 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 04:47 · PVG 12:47 · LAX 21:47 · JFK 00:47
    ♥ Do have faith in what you're doing.