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.
在上兩篇文章之后,我的收件箱中充滿了有關(guān)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.
我的“ 漸進(jìn)式Web應(yīng)用程序開發(fā)實(shí)用技巧 ”分享了PWA技術(shù)的實(shí)際優(yōu)勢,而我的“ 漸進(jìn)式Web應(yīng)用程序與本機(jī) ”進(jìn)一步加強(qiáng)了許多人的信念,即漸進(jìn)式Web應(yīng)用程序正是他們所需要的。
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應(yīng)用程序的未來。 我支持PWA技術(shù),這是軟件開發(fā)行業(yè)將來應(yīng)該采用的方法。 但是,漸進(jìn)式Web應(yīng)用程序不是萬能藥,不是萬能的解決方案。
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.
既然我已經(jīng)解釋了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之間進(jìn)行選擇比您想像的要容易。 只需回答四個簡單的問題,您就會自己看到正確的道路。
1.您有現(xiàn)成的發(fā)展嗎? (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的主要好處中,提到了漸進(jìn)式Web應(yīng)用程序開發(fā)的速度和簡便性。 但是,您已經(jīng)為移動應(yīng)用程序進(jìn)行了一些現(xiàn)成的開發(fā),因此可以抵消這一優(yōu)勢。
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?
只需單擊幾下鼠標(biāo),便無法將現(xiàn)成的移動應(yīng)用程序轉(zhuǎn)換為漸進(jìn)式Web應(yīng)用程序。 相反,必須從頭開始開發(fā)漸進(jìn)式Web應(yīng)用程序。 如果您已經(jīng)經(jīng)歷了漫長而復(fù)雜的本機(jī)應(yīng)用程序開發(fā)過程,那么為什么要扔掉它并從頭開始一切呢?
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.
當(dāng)然,您的移動應(yīng)用可能會過時或效率低下。 在這種情況下,您必須選擇在移動應(yīng)用程序開發(fā)公司的幫助下恢復(fù)它還是使用PWA技術(shù)構(gòu)建一個全新的應(yīng)用程序。
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是實(shí)施PWA的公司中最杰出的例子之一,因此決定選擇這兩種選擇。 他們開發(fā)了一個漸進(jìn)式Web應(yīng)用程序,但也沒有忘記傳統(tǒng)的移動應(yīng)用程序。
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.
關(guān)鍵思想 :如果您沒有現(xiàn)成的開發(fā),則PWA方法是一個很好的解決方案。 如果您已經(jīng)擁有應(yīng)用程序的本機(jī)或跨平臺移動版本,則完成這些操作將比從頭開始構(gòu)建新的應(yīng)用程序更容易和更有效率。
2.您打算只專注于移動設(shè)備嗎? (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功能的想法是改善用戶從移動設(shè)備訪問網(wǎng)頁的體驗(yàn)。 在引入PWA技術(shù)之前,愿意同時針對Web和移動設(shè)備的企業(yè)有兩種選擇:
- to adapt a web page to mobile devices 使網(wǎng)頁適應(yīng)移動設(shè)備
- to develop a mobile app from scratch 從頭開始開發(fā)移動應(yīng)用
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.
從用戶的角度來看,第一種選擇是笨拙且不便的。 從企業(yè)的角度來看,第二種選擇是消耗資源。
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的進(jìn)步帶來了黃金分割:給用戶帶來便利,為企業(yè)帶來效率。 如果您不打算進(jìn)入網(wǎng)絡(luò)或臺式機(jī)市場,而是選擇只專注于移動應(yīng)用程序,則無需構(gòu)建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. ?
當(dāng)然,在開發(fā)漸進(jìn)式Web應(yīng)用程序時,您會成功,因?yàn)槟跒锳ndroid和iOS開發(fā)一個應(yīng)用程序。 但是,這正是使用Ionic,Cordova或React Native進(jìn)行跨平臺開發(fā)所能實(shí)現(xiàn)的。
Meanwhile, Pinterest has developed a progressive web app to augment their already existent web platform and mobile app.
同時,Pinterest開發(fā)了一個漸進(jìn)式Web應(yīng)用程序,以增強(qiáng)其已經(jīng)存在的Web平臺和移動應(yīng)用程序。
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.
關(guān)鍵思想 :PWA最適合同時針對Web和移動平臺的企業(yè)。 如果您只選擇其中之一,則沒有理由選擇漸進(jìn)式Web應(yīng)用程序開發(fā)。
3.您是否不愿意讓您的用戶通過Web瀏覽器訪問該應(yīng)用程序? (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.
移動應(yīng)用程序與漸進(jìn)式Web應(yīng)用程序之間的另一個本質(zhì)區(qū)別在于,前者是從商店下載的,而后者是通過共享鏈接或直接從網(wǎng)站下載的,如下所示。
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.
口味不同。 如果您認(rèn)為與App Store或Google Play合作比比在Google上進(jìn)行SEO競爭或激勵用戶共享鏈接要容易得多,那么您應(yīng)該隨時選擇移動應(yīng)用開發(fā)。
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.
如果您認(rèn)為與Google搜索結(jié)果相比,要在商店的熱門搜索結(jié)果中更難成為特色,請使用PWA。 此外,如果您的網(wǎng)站已經(jīng)擁有足夠大的忠實(shí)用戶目標(biāo)受眾,那么漸進(jìn)式Web應(yīng)用程序?qū)⒆钸m合您。
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.
關(guān)鍵思想 :如果您希望用戶通過App Store或Google Play而不是通過瀏覽器訪問應(yīng)用程序,或者如果App Store優(yōu)化(ASO)聽起來比搜索引擎優(yōu)化(SEO)簡單,則應(yīng)使用移動應(yīng)用程序。
4.您是否需要高級移動設(shè)備功能? (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可以與地理位置一起使用,但是許多高級移動設(shè)備功能仍然無法實(shí)現(xiàn)。 漸進(jìn)式Web應(yīng)用程序不能與接近傳感器,高級相機(jī)控件,音頻或視頻記錄,指紋掃描,NFC甚至藍(lán)牙一起使用。
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.
向您的開發(fā)團(tuán)隊(duì)索取他們將無法實(shí)現(xiàn)的功能的PWA清單。 如果您不能沒有這些功能中的至少一項(xiàng),則應(yīng)該選擇移動開發(fā)。
For instance, the progressive web app of Pinterest does not feature the function of taking photos, which is present in their mobile app.
例如,Pinterest漸進(jìn)式Web應(yīng)用程序不具有拍照功能,該功能存在于他們的移動應(yīng)用程序中。
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.
關(guān)鍵思想 :與本機(jī)設(shè)備功能不兼容會阻礙您開發(fā)PWA。 雖然將來可能會解決此問題,但現(xiàn)在,您應(yīng)該使用移動應(yīng)用程序。
總結(jié) (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之前,您需要確定是否確實(shí)需要PWA方法。 首先回答四個簡單的問題:
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.
如果您對這些有關(guān)漸進(jìn)式Web應(yīng)用程序的大多數(shù)問題回答“是”,那么可能就不需要漸進(jìn)式Web應(yīng)用程序。 移動應(yīng)用程序?qū)⑼耆珴M足您的所有需求。
您對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是一家經(jīng)驗(yàn)豐富的漸進(jìn)式Web應(yīng)用程序開發(fā)公司 。 如果您需要以下服務(wù),請隨時與我們聯(lián)系 。
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?.
可以在以下位置找到發(fā)布在KeenEthics博客上的原始文章: 漸進(jìn)式Web應(yīng)用程序與本機(jī):選擇哪個以及何時選擇? 。
翻譯自: https://www.freecodecamp.org/news/four-questions-to-understand-if-you-need-pwa/
pwa 問題
總結(jié)
以上是生活随笔為你收集整理的pwa 问题_您真的需要PWA吗? 这里有四个问题可以帮助您做出决定。的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c++飞扬的小鸟游戏_通过建立一个飞扬的
- 下一篇: 倦怠和枯燥_如何不断学习(不倦怠)