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.pswp.cn/news/391284.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/391284.shtml
英文地址,請注明出處:http://en.pswp.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&…