2014-06-29 20:23
浏览 43

将带有Yii的webapp转换为本机应用程序--Abache Cordova和Netbeans

I have a question about web and native app development and integrating multiple frameworks.

I currently have a web app (html 5, css, js/jquery, php, mysql) and want to make available as a native app on Android and iOS. It uses Yii framework and I was thinking about using Netbeans IDE and Apache Cordova to make the conversion. How do I go about this? Can someone supply some links or an explanation to clear things up for me?

If you have a different method you'd like to recommend instead of Cordova, I'd appreciate that too. Please provide why you prefer that method though.

I've seen plenty of information on this forum and the web that explains this process, but non with Yii in mind.

Thank you for all and any help!

图片转代码服务由CSDN问答提供 功能建议

我对Web和本机应用程序开发以及集成多个框架有疑问。 < 我目前有一个网络应用程序(html 5,css,js / jquery,php,mysql),并希望在Android和iOS上作为本机应用程序提供。 它使用 Yii 框架,我正在考虑使用Netbeans IDE和 Apache Cordova 进行转换。 我该怎么做? 有人可以提供一些链接或解释来为我清理事情吗?

如果您有不同的方法,而不是Cordova,我也会很感激。 请提供你喜欢这种方法的原因。

我在这个论坛和网上看到了很多关于这个过程的信息,但是没有考虑到Yii。 \ n


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • doumu6941 2014-06-30 11:59

    I had the same issue. since we have decided to drop the native app and use an html5 website design i picked, Yii+backbone.js .

    in your case, if you plan on building a native app, the backend ( PHP or Yii in your case ) will not be used as a smart web server , because you will use a JS framework.

    Known and well loved and used frameworks are:

    • angular.js
    • backbone.js
    • knockout.js
    • ember.js
    点赞 评论
  • douduandiao1368 2014-06-30 11:51

    Keep in mind, php is a server side language. Its not client based. Yii could serve as a backend providing the data thats all. When you want to use cordova you need a client side framework like jquery mobile.

    点赞 评论

相关推荐 更多相似问题