开发工作:Web 与应用程序
就开发工作而言,具有相同功能集的网络前端和智能手机应用之间的关系是什么样的?不同智能手机平台(iOS、symbian 操作系统、Android 等)的应用程序之间的开发工作是否存在任何具体差异,忽略训练时间?一个总体的估计就完全让我满意了。 ;)
提前致谢, 弗林施。
what does the relation between a Web frontend and a smartphone App with identical feature sets look like regarding the development effort? Are there any specific differences regarding the development effort between Apps of different smartphone platforms (iOS, symbian OS, Android, etc.) ignoring training time? A general estimation would completely satisfy me. ;)
Thanks in advance,
Flinsch.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我犹豫是否称其为估计,甚至是有根据的猜测,但也许通过提出一些想法,我可能会帮助您思考。
忽略任何特定的平台细节,我发现 Web 与 Native 的根本区别在于,在 Web 情况下,您需要做一些额外的工作:
a)。您的演示文稿与后端分离,中间可能有 HTTP。因此,需要编写服务以及需要处理与通知和/或轮询相关的问题。
b).您可能会使用浏览器进行演示,因此您将使用某种 JavaScript 类型的库,但这些库仍然很难驱动。
因此,如果您的目标是单一设备,我的猜测是编写本机代码可能比基于 Web 的代码快 50% - 假设您确实针对相同的功能。
似乎发生的事情是我们妥协了 Web 应用程序,在一定程度上减少了功能,从而减少了开销。
还有另一个因素,Web 应用程序的 UI 部分原则上是可移植的,因此实际上 Web 应用程序开发可能是一项合理的投资,即使它确实需要付出更多的努力。
我怀疑可移植性很可能最终成为主要考虑因素。
I hesitate to call this an estimate, or even an informed guess, but perhaps by putting down some ideas I might help your thinking.
Ignoring any particular platform specifics I see the fundamental difference of Web v Native is that in the Web case you have some extra work to do:
a). You have presentation separated from the backend, with probably HTTP in between. So there are services to write and issues concerned with notifications and/or polling to deal with.
b). You're likely using a browser to do the presentation so you will be using some JavaScript kind of library, and these are still hard to drive.
So, if you are targeting a single device my guess is that writing native code is likely to be 50% quicker than web-based code - assuming that you really are targetting identical function.
What seems to happend is that we compromise Web Apps, reducing functionality somewhat and hence the overhead is reduced.
Also there's another factor, the UI portions of the Web App are in principle portable, hence in fact the Web App development may be a reasonable investment even if it does take more effort.
I suspect that portability may well end up being a dominant consideration.
具体差异?有很多,但每个都有自己的权衡:
还有更多(请随意添加),但所有这些都是软件开发人员如果想要进入所选领域就必须考虑的开发工作的一部分。
specific differences? There are plenty, but each with their own tradeoff:
There are more (feel free to add) but all these are part of the development effort that a software developer has to look at if they want to go a a field of choice.