<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Arisa Kaewsuan on Medium]]></title>
        <description><![CDATA[Stories by Arisa Kaewsuan on Medium]]></description>
        <link>https://medium.com/@arisa.kaewsuan?source=rss-2c92764b6f98------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1x4Yzv5O6qQTXQwsCnVWBA.jpeg</url>
            <title>Stories by Arisa Kaewsuan on Medium</title>
            <link>https://medium.com/@arisa.kaewsuan?source=rss-2c92764b6f98------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:52:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arisa.kaewsuan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Learn how to build a PWA .]]></title>
            <link>https://medium.com/@arisa.kaewsuan/learn-how-to-build-a-pwa-84ba52c79b61?source=rss-2c92764b6f98------2</link>
            <guid isPermaLink="false">https://medium.com/p/84ba52c79b61</guid>
            <dc:creator><![CDATA[Arisa Kaewsuan]]></dc:creator>
            <pubDate>Tue, 09 May 2023 13:41:51 GMT</pubDate>
            <atom:updated>2023-05-09T14:57:51.571Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Learn how to build a PWA</strong></h3><h3><strong>:: What is PWA ? ::</strong></h3><p>PWA ย่อมาจาก Progressive Web Application คือ มาตรฐานการทำเว็บจาก Google</p><h3><strong>:: Why must be PWA ? ::</strong></h3><p>ทำไมเราควรทำเว็บตามมาตรฐาน PWA แล้วแบบเดิมไม่ดียังไง ? . . . เพราะ ในยุคปัจจุบันคนหันมาใช้ app บนสมาร์ทโฟนกันเยอะ (พี่เกิ้ลเลยเก็บ data ได้น้อยลง) Google จึงทำวิจัยและพบว่าแท้จริงแล้ว user ส่วนใหญ่เลือก Download เฉพาะ apps ที่จำเป็นเพื่อประหยัดพื้นที่ใช้งาน Google จึงเกิดแนวคิดพัฒนานำข้อดีของ app มาผสมผสานกับข้อดีของ web ขึ้นเพื่อให้คนหันมาใช้งานเว็บมากขึ้น (พี่เกิ้ลก็จะได้เก็บ data ได้เยอะๆ ) โดย “ทำให้การใช้เว็บมี user experience คล้ายการใช้ app” ซึ่ง Google ได้กำหนดลักษณะสำคัญ 3 ข้อที่เว็บแบบ PWA พึงมี คือ</p><blockquote><strong>1. Reliable :</strong> คือ เว็บที่ทำตามมาตรฐาน PWA ต้องมีความน่าเชื่อถือ</blockquote><ul><li>อันดับแรกที่จะทำให้เว็บน่าเชื่อถือ คือ เว็บนั้นๆสามารถเข้าใช้งานได้ทั้ง online &amp; offline ซึ่งคล้ายๆกับ concept statefull ใน application ที่ทำให้แม้คุณพิมพ์งานทิ้งไว้แล้วไฟดับคุณยังสามารถทำงานต่อไปได้ โดยที่ข้อมูลไม่หายไปเบื้องหลังที่จะทำให้เว็บเราทำแบบนั้นได้คือ “ Service Worker “</li><li>อันดับที่ 2 ที่ทำให้เว็บของเราน่าเชื่อถือ คือ เรื่องความปลอดภัยของข้อมูล ต้นทางส่งยังไง ปลายทางก็ต้องได้อย่างงั้น ไม่ถูกปลอมแปลง ไม่ถูกดักฟัง เบื้องหลังที่จะทำให้เว็บเราปลอดภัยคือการใช้ “ HTTPS “ น้องเป็นโปรโตคอลที่ใช้สื่อสารเหมือน HTTPS น้องมี S เพิ่มมาเพราะน้อง secure นั่นเอง :) น้องทำได้เพราะน้องใช้ Asymmetric Algorithm ซึ่งหากมีการดักจับข้อมูลจะอ่านไม่รู้เรื่องอยู่ดี เพราะน้องจะทำการแปลงข้อมูลของเรา เป็นภาษาพิสดาร เช่น เราป้อนรหัส 4522338 ก็จะถูกเข้ารหัส ( encoding ) เปลี่ยนเป็น XsR7o/86 แบบนี้ทำให้ผู้ไม่หวังดีเข้าถึงข้อมูลของเราไม่ได้นั่นเอง ผู้ที่จะอ่านข้อมูลที่ถูกได้นั้นจะมีเพียงผู้ป้อนและผู้รับปลายทางเท่านั้น ทำให้นิยมใช้กับเว็บไซต์ที่ต้องการความปลอดภัยสูงอย่างธนาคาร เว็บที่ใช้บัตรเครดิต รวมถึงร้านค้าออนไลน์ด้วย</li></ul><blockquote><strong>2.</strong> <strong>Fast :</strong> คือ เว็บที่ทำตามมาตรฐาน PWA ต้องเร็ว</blockquote><ul><li>เบื้องหลังที่จะทำให้เว็บของเราเร็ว คือการทำ “ minifest ”</li><li>และการ update ข้อมูลแบบ real time</li></ul><blockquote><strong>3. Engaging : </strong>คือ เว็บที่ทำตามมาตรฐาน PWA ต้องมี user experience ใกล้เคียงกับ mobile application</blockquote><ul><li>โดยการทำ web responsive</li><li>โดยการทำฟีเจอร์ที่เปิดเว็บแบบ full screen แล้วไม่มี address bar ของ browser ทำให้รู้สึกเหมือนกำลังใช้ app จริงๆ</li></ul><h3>:: Example websites using the PWA standard ::</h3><p>เว็บไซต์ที่ใช้มาตรฐาน PWA เช่น twitter, Tinder, Pinterest, Spotify, . . .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LDg1HE8k2pXFkKLJ" /><figcaption>Photo by <a href="https://unsplash.com/ja/@alexbemore?utm_source=medium&amp;utm_medium=referral">Alexander Shatov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>:: Let’s try to build a PWA website ! ::</h3><p>comming soon . . .</p><h3>:: References ::</h3><ul><li><a href="https://web.dev/patterns/">PWA document website</a> : ที่จัดทำโดย Google</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ba52c79b61" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>