pwa 问题_您真的需要PWA吗? 这里有四个问题可以帮助您做出决定。

pwa 问题

为什么需要PWA并不成问题。 让我们看看为什么您可能不需要它 (Why you need a PWA is not in question. Let’s see why you may NOT need it)

My inbox has been filled with questions regarding PWAs after my last two articles.

在上两篇文章之后,我的收件箱中充满了有关PWA的问题。

My “Practical Tips on Progressive Web App Development” shared the actual advantages of the PWA technology, and my “Progressive Web Apps vs Native” further strengthened many people's belief that a progressive web app is exactly what they need.

我的“ 渐进式Web应用程序开发实用技巧 ”分享了PWA技术的实际优势,而我的“ 渐进式Web应用程序与本机 ”进一步加强了许多人的信念,即渐进式Web应用程序正是他们所需要的。

I am exceptionally happy that I managed to convince them that PWAs are the future of web apps. I support the PWA technology as a path that the software development industry should take in the future. But progressive web apps are not a panacea, not a one-size-fits-all solution.

我非常高兴能够说服他们PWA是Web应用程序的未来。 我支持PWA技术,这是软件开发行业将来应该采用的方法。 但是,渐进式Web应用程序不是万能药,不是万能的解决方案。

Since I have already explained what PWA means and why you need a PWA, today, I am going to finish the job and show why you may NOT need a PWA.

既然我已经解释了PWA的含义以及为什么需要 PWA ,那么今天,我将完成工作并说明为什么您可能不需要 PWA

Making the choice between using and not using PWA is easier than you assume. Just answer four simple questions and you will see the right path yourself.

在使用和不使用PWA之间进行选择比您想像的要容易。 只需回答四个简单的问题,您就会自己看到正确的道路。

1.您有现成的发展吗? (1. Do you have any ready-made developments?)

The speed and simplicity of the progressive web app development have been mentioned among the major benefits of PWAs. However, this advantage can be negated by the fact that you already have some ready-made developments for a mobile app.

在PWA的主要好处中,提到了渐进式Web应用程序开发的速度和简便性。 但是,您已经为移动应用程序进行了一些现成的开发,因此可以抵消这一优势。

Converting a ready-made mobile app to a progressive web app cannot be done with a few simple clicks. Instead, a progressive web app has to be developed from scratch. If you had already gone through the lengthy and complicated process of native app development, why would you throw it out and start everything from the beginning?

只需单击几下鼠标,便无法将现成的移动应用程序转换为渐进式Web应用程序。 相反,必须从头开始开发渐进式Web应用程序。 如果您已经经历了漫长而复杂的本机应用程序开发过程,那么为什么要扔掉它并从头开始一切呢?

Surely, your mobile app can be outdated or inefficient. In this case, you have to choose whether to revive it with the help of a mobile app development company or to build an entirely new application using the PWA technology.

当然,您的移动应用可能会过时或效率低下。 在这种情况下,您必须选择在移动应用程序开发公司的帮助下恢复它还是使用PWA技术构建一个全新的应用程序。

For instance, Pinterest – one of the brightest examples of companies that implemented PWA – decided to choose both options. They have developed a progressive web app but did not forget about the traditional mobile application either.

例如, Pinterest是实施PWA的公司中最杰出的例子之一,因此决定选择这两种选择。 他们开发了一个渐进式Web应用程序,但也没有忘记传统的移动应用程序。

Key idea: The PWA approach is a great solution if you have no ready-made developments. If you already have a native or cross-platform mobile version of your app, it will be easier and more productive to finish those rather than build a new application from scratch.

关键思想 :如果您没有现成的开发,则PWA方法是一个很好的解决方案。 如果您已经拥有应用程序的本机或跨平台移动版本,则完成这些操作将比从头开始构建新的应用程序更容易和更有效率。

2.您打算只专注于移动设备吗? (2. Do you plan to focus on mobile devices only?)

The idea of PWA features is to improve the experience of a user accessing a web page from a mobile device. Until the PWA technology was introduced, the businesses willing to target both web and mobile had two options:

PWA功能的想法是改善用户从移动设备访问网页的体验。 在引入PWA技术之前,愿意同时针对Web和移动设备的企业有两种选择:

  • to adapt a web page to mobile devices

    使网页适应移动设备
  • to develop a mobile app from scratch

    从头开始开发移动应用

The first option is clumsy and inconvenient from the perspective of a user. The second option is resource-consuming from the perspective of a business.

从用户的角度来看,第一种选择是笨拙且不便的。 从企业的角度来看,第二种选择是消耗资源。

The advancement of PWAs brought the Golden Mean: convenience for the user and efficiency for the business. If you do not plan to enter the web or desktop niche but choose to focus solely on mobile apps, there is no need to build a PWA.

PWA的进步带来了黄金分割:给用户带来便利,为企业带来效率。 如果您不打算进入网络或台式机市场,而是选择只专注于移动应用程序,则无需构建PWA。

Surely, when developing progressive web apps, you win because you're developing one application for both Android and iOS. However, this is exactly what you can achieve with cross-platform development with Ionic, Cordova, or React Native.  

当然,在开发渐进式Web应用程序时,您会成功,因为您正在为Android和iOS开发一个应用程序。 但是,这正是使用Ionic,Cordova或React Native进行跨平台开发所能实现的。

Meanwhile, Pinterest has developed a progressive web app to augment their already existent web platform and mobile app.

同时,Pinterest开发了一个渐进式Web应用程序,以增强其已经存在的Web平台和移动应用程序。

Key idea: PWAs work best for the businesses targeting both web and mobile platforms. If you choose to focus on only one of those, there is no reason to choose progressive web app development.

关键思想 :PWA最适合同时针对Web和移动平台的企业。 如果您只选择其中之一,则没有理由选择渐进式Web应用程序开发。

3.您是否不愿意让您的用户通过Web浏览器访问该应用程序? (3. Are you reluctant to let your users access the app via a web browser?)

Another essential difference between mobile apps and progressive web apps rests in the fact that the former are downloaded from the store, while the latter – via a shared link or directly from a website as it is illustrated below.

移动应用程序与渐进式Web应用程序之间的另一个本质区别在于,前者是从商店下载的,而后者是通过共享链接或直接从网站下载的,如下所示。

Tastes differ. If you think that working with App Store or Google Play is easier than fighting the SEO competition on Google or inspiring users to share your links, you should feel free to choose mobile app development.

口味不同。 如果您认为与App Store或Google Play合作比比在Google上进行SEO竞争或激励用户共享链接要容易得多,那么您应该随时选择移动应用开发。

If you think that it is more difficult to be featured in top search results in Stores comparing to Google search results, go with PWA. Besides, if your website already has a sufficiently large target audience of devoted users, progressive web apps would work best for you.

如果您认为与Google搜索结果相比,要在商店的热门搜索结果中更难成为特色,请使用PWA。 此外,如果您的网站已经拥有足够大的忠实用户目标受众,那么渐进式Web应用程序将最适合您。



Key idea: If you want your users to access the application via the App Store or Google Play rather than through a browser, or if app store optimization (ASO) sounds simpler than search engine optimization (SEO), you should go with a mobile app.

关键思想 :如果您希望用户通过App Store或Google Play而不是通过浏览器访问应用程序,或者如果App Store优化(ASO)听起来比搜索引擎优化(SEO)简单,则应使用移动应用程序。

4.您是否需要高级移动设备功能? (4. Do you need advanced mobile device features?)

While PWAs can work with geolocation, a lot of advanced mobile device features remain beyond their reach. Progressive web apps do not work with proximity sensors, advanced camera controls, audio or video recording, fingerprint scanning, NFC, or even Bluetooth.

虽然PWA可以与地理位置一起使用,但是许多高级移动设备功能仍然无法实现。 渐进式Web应用程序不能与接近传感器,高级相机控件,音频或视频记录,指纹扫描,NFC甚至蓝牙一起使用。

Ask your development team for the PWA checklist of features that they will not be able to implement. If you cannot do without at least one of these features, you should opt in favor of mobile development.

向您的开发团队索取他们将无法实现的功能的PWA清单。 如果您不能没有这些功能中的至少一项,则应该选择移动开发。

For instance, the progressive web app of Pinterest does not feature the function of taking photos, which is present in their mobile app.

例如,Pinterest渐进式Web应用程序不具有拍照功能,该功能存在于他们的移动应用程序中。

Key idea: Incompatibility with native device features can hinder you from developing a PWA. While this issue may be solved in the future, for now, you should go with mobile apps instead.

关键思想 :与本机设备功能不兼容会阻碍您开发PWA。 虽然将来可能会解决此问题,但现在,您应该使用移动应用程序。

总结 (To Wrap Up)

Before asking for a PWA, you need to decide whether you really need the PWA approach. Start by answering four simple questions:

在请求PWA之前,您需要确定是否确实需要PWA方法。 首先回答四个简单的问题:

  1. Do you have any ready-made developments, such as a native mobile app?

    您是否有现成的开发,例如本地移动应用程序?
  2. Do you want to focus on mobile devices only? No desktop or web platforms?

    您是否只想专注于移动设备? 没有台式机或网络平台?
  3. Are you reluctant to let your users access the app via a web browser?

    您是否不愿意让您的用户通过网络浏览器访问该应用程序?
  4. Do you need advanced mobile device features? Are you going to use fingerprint scanning, NFC, or Bluetooth?

    您是否需要高级移动设备功能? 您要使用指纹扫描,NFC还是蓝牙?

If you answer "yes" to the majority of these questions about progressive web apps, then, probably, you do not need a progressive web app. A mobile app will fully cover all your needs.

如果您对这些有关渐进式Web应用程序的大多数问题回答“是”,那么可能就不需要渐进式Web应用程序。 移动应用程序将完全满足您的所有需求。

您对PWA有想法吗? (Do you have an idea for a PWA?)

My company KeenEthics is an experienced progressive web app development company. In case you need the following services, feel free to get in touch.

我的公司KeenEthics是一家经验丰富的渐进式Web应用程序开发公司 。 如果您需要以下服务,请随时与我们联系

You can read more of my articles on the KeenEthics blog: Four Questions to Understand If You Need PWA.

您可以在KeenEthics博客上阅读我的更多文章: 如果需要PWA,则需要了解四个问题 。

聚苯乙烯 (P.S.)

Also, I would like to say "thank you" to Tetiana Matviiok for helping me edit this article.

另外,我想对Tetiana Matviiok表示感谢,感谢他帮助我编辑本文。

The original article posted on KeenEthics blog can be found here: Progressive Web Apps vs Native: Which to Choose and When?.

可以在以下位置找到发布在KeenEthics博客上的原始文章: 渐进式Web应用程序与本机:选择哪个以及何时选择? 。

翻译自: https://www.freecodecamp.org/news/four-questions-to-understand-if-you-need-pwa/

pwa 问题

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/391284.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

利用ssh反向代理以及autossh实现从外网连接内网服务器

http://www.cnblogs.com/kwongtai/p/6903420.html转载于:https://www.cnblogs.com/littlehb/p/7598037.html

抑郁症损伤神经细胞吗_使用神经网络探索COVID-19与抑郁症之间的联系

抑郁症损伤神经细胞吗The drastic changes in our lifestyles coupled with restrictions, quarantines, and social distancing measures introduced to combat the corona virus outbreak have lead to an alarming rise in mental health issues all over the world. Social…

倦怠和枯燥_如何不断学习(不倦怠)

倦怠和枯燥In tech, constantly learning (both in and out of work) is an unstated job requirement. 在科技界,不断学习(工作中和工作中)是一项未阐明的工作要求。 When I was growing up, I would go to the bookstore with my dad every weekend, and every t…

Xcode 9.0 新增功能大全

Xcode是用于为Apple TV,Apple Watch,iPad,iPhone和Mac创建应用程序的完整开发人员工具集。Xcode开发环境采用tvOS SDK,watchOS SDK,iOS SDK和macOS SDK的形式捆绑Instruments分析工具,Simulator和OS框架。 …

Docker 入门(4)镜像与容器

1. 镜像与容器 1.1 镜像 Docker镜像类似于未运行的exe应用程序,或者停止运行的VM。当使用docker run命令基于镜像启动容器时,容器应用便能为外部提供服务。 镜像实际上就是这个用来为容器进程提供隔离后执行环境的文件系统。我们也称之为根文件系统&a…

python:pytest中的setup和teardown

原文:https://www.cnblogs.com/peiminer/p/9376352.html  之前我写的unittest的setup和teardown,还有setupClass和teardownClass(需要配合classmethod装饰器一起使用),接下来就介绍pytest的类似于这类的固件。 &#…

如何开始使用任何类型的数据? - 第1部分

从数据开始 (START WITH DATA) My data science journey began with a student job in the Advanced Analytics department of one of the biggest automotive manufacturers in Germany. I was nave and still doing my masters.我的数据科学之旅从在德国最大的汽车制造商之一…

iHealth基于Docker的DevOps CI/CD实践

本文由1月31日晚iHealth运维技术负责人郭拓在Rancher官方技术交流群内所做分享的内容整理而成,分享了iHealth从最初的服务器端直接部署,到现在实现全自动CI/CD的实践经验。作者简介郭拓,北京爱和健康科技有限公司(iHealth)。负责公…

从早期的初创企业到MongoDB的经理(播客)

In this weeks podcast episode, I chat with Harry Wolff, an engineering manager at MongoDB in New York City. Harry has been in the world of tech for over a decade, holding jobs in various startups before ending up at Mongo. 在本周的播客节目中,我与…

leetcode 1011. 在 D 天内送达包裹的能力(二分法)

传送带上的包裹必须在 D 天内从一个港口运送到另一个港口。 传送带上的第 i 个包裹的重量为 weights[i]。每一天,我们都会按给出重量的顺序往传送带上装载包裹。我们装载的重量不会超过船的最大运载重量。 返回能在 D 天内将传送带上的所有包裹送达的船的最低运载…

python:pytest优秀博客

上海悠悠:https://www.cnblogs.com/yoyoketang/tag/pytest/ 转载于:https://www.cnblogs.com/gcgc/p/11514345.html

uva 11210

https://uva.onlinejudge.org/index.php?optioncom_onlinejudge&Itemid8&pageshow_problem&problem2151 题意:给你十三张麻将,问你需要哪几张牌就可以胡牌,这个胡牌排除了七小对以及十三幺 胡牌必须要有一个对子加n个…

机器学习图像源代码_使用带有代码的机器学习进行快速房地产图像分类

机器学习图像源代码RoomNet is a very lightweight (700 KB) and fast Convolutional Neural Net to classify pictures of different rooms of a house/apartment with 88.9 % validation accuracy over 1839 images. I have written this in python and TensorFlow.RoomNet是…

leetcode 938. 二叉搜索树的范围和

给定二叉搜索树的根结点 root,返回值位于范围 [low, high] 之间的所有结点的值的和。 示例 1: 输入:root [10,5,15,3,7,null,18], low 7, high 15 输出:32 示例 2: 输入:root [10,5,15,3,7,13,18,1,nul…

456

456 转载于:https://www.cnblogs.com/Forever77/p/11517711.html

课后作业-结队编程项目进度-贪吃蛇

当前进度: 1.完成了窗口和蛇的绘制 2控制蛇的放向 3.绘制食物,随机出现 4.设计暂停键和开始键 有遇到过问题,但通过上网和向同学请教解决了转载于:https://www.cnblogs.com/qwsa/p/7605384.html

一百种简单整人方法_一种非常简单的用户故事方法

一百种简单整人方法User stories are a great way to plan development work. In theory. But how do you avoid getting burned in practice? I propose a radically simple approach.用户故事是计划开发工作的好方法。 理论上。 但是,如何避免在实践中被烫伤&…

COVID-19和世界幸福报告数据告诉我们什么?

For many people, the idea of ​​staying home actually sounded good at first. This process was really efficient for Netflix and Amazon. But then sad truths awaited us. What was boring was the number of dead and intubated patients one after the other. We al…

Python:self理解

Python类 class Student:# 类变量,可以通过类.类变量(Student.classroom)或者实例.类变量(a.classroom)方式调用classroom 火箭班def __init__(self, name, age):# self代表类的实例,self.name name表示当实例化Student时传入的name参数赋值给类的实例…

leetcode 633. 平方数之和(双指针)

给定一个非负整数 c ,你要判断是否存在两个整数 a 和 b,使得 a2 b2 c 。 示例 1: 输入:c 5 输出:true 解释:1 * 1 2 * 2 5 示例 2: 输入:c 3 输出:false 示例 3&…