Linkman Pwa

Profile
Forum NickLinkman Pwa
RegisteredThu 22/Apr/2021, 11:07am
Topics by Linkman Pwa
1Mari Cuba Web Apps yg Saya Bina Version 0.1a (16) - Tue 15/Jun/2021 9:42pm
2Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda (26) - Sun 6/Jun/2021 5:44pm
3Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda (44) - Sun 30/May/2021 7:39pm
4Pelajaran 4 - Pilih CSS Framework yg Sesuai untuk Web Apps Anda - Sun 23/May/2021 10:31pm
5Pelajaran 3 - Responsive Dropdown Button (Hamburger Menu) untuk Website/Apps Pwa (6) - Sun 16/May/2021 10:15pm
6Pelajaran 2 - Macamana nak Mula Membina Website/Apps Pwa (3) - Sat 15/May/2021 8:51pm
7Pelajaran Pertama PWA adalah 3 Teknologi Serangkai - Html5, Css3 dan Javascript ES6 (5) - Mon 10/May/2021 8:56pm
8Bolehkah Anda Membina Sendiri Apps/Website Tanpa Menggunakan Framework? (3) - Fri 7/May/2021 9:18am
9Bina Sendiri Apps Android/iOS/Website Dengan Teknologi PWA utk Berniaga di Social Media (10) - Mon 3/May/2021 8:49pm
10Senarai 14 CSS Framework untuk Memudahkan Kerja Web Programming (1) - Mon 26/Apr/2021 8:05pm
11Linkman PWA Adalah Nick utk Membina Apps dan Website untuk Berniaga di Internet dan Media Social - Progressive Web Apps (14) - Thu 22/Apr/2021 11:42am
Comments by Linkman Pwa
1Mari Cuba Web Apps yg Saya Bina Version 0.1a - Tue 22/Jun/2021 9:51am
Test menggunakan google lighthouse untuk azmanoz.com semua hijau. klik disini: https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fazmanoz.com 100% - Performance 93% - Accessibility 100% - Best Practices 91% - SEO Progressive Web Apps (PWA) - N/A Google Lighthouse is an open-source, automated tool for measuring the quality of web pages. Nota: Saya masih belum masukkan ciri2 PWA (service worker, manifest jason dll)
2Mari Cuba Web Apps yg Saya Bina Version 0.1a - Sun 20/Jun/2021 9:01am
Assumption wajib: screen width utk programmer programmer yg maintain software ini wajib menggunakan laptop atau screen desktop lebih besar. setiap line code yg dibuat lebih kurang lebar laptop iaitu sekitar 1300px. cubaan utk edit code menggunakan smartphone adalah tidak optimum dan tak sesuai.
3Mari Cuba Web Apps yg Saya Bina Version 0.1a - Sat 19/Jun/2021 10:05am
design principle: html-first atau php-first? 1) html first - keutamaan code diberikan kepada html dan php hanyalah diselit di dalam html tags 2) php first - keutamaan diberikan kepada PHP dahulu dan html hanya diselitkan didalam php code. (banyak menggunakan fungsi 'echo' tapi saya dapati code lebih kemas). saya pilih cara ini.
4Mari Cuba Web Apps yg Saya Bina Version 0.1a - Sat 19/Jun/2021 10:02am
design principle: 1) Model View Controller (MVC) Biasanya kesemua expert akan suggest membuat pengasingan diantara Model, View & Controller. ini memang cara terbaik terutama utk software yg mempunyai berpuluh2 atau beratus2 programmer (dan bajet USD juta2) 2) Separation of Concern Oleh sebab apps ini kecil sahaja, saya memilih cara lain iaitu ''Separation of Concern''. Cara saya berbeza sikit dimana programmer lain menakrifkan 'concern' sebagai jenis code yg sama iaitu css, php atau javascript. Saya menakrifkan ''separation of concern'' berdasarkan jenis segment tersebut.. adakah ianya header? atau navbar? atau content? atau footer? atau database schema? concern yg sama dimasukkan kedalam file yg sama supaya mudah utk dicari apabila saya perlu mengajar staff baru programmer utk maintain software ini nanti. ia tidak melanggar coding principle asas sebab bila check di Google Lighthouse utk code verification tak ada keluar error.. semua tick hijau.
5Mari Cuba Web Apps yg Saya Bina Version 0.1a - Sat 19/Jun/2021 9:50am
problem solved: masalah timestamp (waktu) di server dan laptop di rumah tidak sama solution dgn menggunakan php default timezone function: date_default_timezone_set('Asia/Kuala_Lumpur'); problem 2 solved: server timestamp =============== kadang2 saya taknak timestamp dgn latest date tapi sebab record database (mysql) jenis timestamp.. update berlaku juga secara automatik. penyelesaiannya adalah buang property timestamp di mysql dan update sendiri menggunakan date() function bila perlu sahaja. - gunakan php function date(''Y-m-d~H:i:s'')
6Mari Cuba Web Apps yg Saya Bina Version 0.1a - Sat 19/Jun/2021 9:49am
Todo/Challenges: To create/alter table within apps without using phpmyadmin. Saya dapati utk create dan modify database & table menggunakan phpmyadmin agak slow.. terpaksa toggle between coding & phpmyadmin.. terutama sekali kalau dah upload ke webhosting.. nak login ke cpanel pulak mmg leceh.. solution: 1) first round create field wajib sahaja - autoincrement number - record id - user id - registered timestamp - last update timestamp 2) everytime new fields are required.. we must be able to do so within the apps itself using the highest admin level (king = level 7)
7Mari Cuba Web Apps yg Saya Bina Version 0.1a - Wed 16/Jun/2021 10:59am
design prinsip: password hash oleh kerana password adalah sensitive, jangan simpan password registered users dalam plain text di dalam database kerana boleh dibaca.. sebaliknya simpan dalam bentuk hash md5() yg telah ditambah ''salt'' utk menambah lagi securiti.
8Mari Cuba Web Apps yg Saya Bina Version 0.1a - Wed 16/Jun/2021 10:56am
cabaran utk sanitise data.. iaitu macamana nak bersihkan data yg user masukkan dan pastikan bebas dari ancaman 1) cross site scripting attack (XSS attack) - guna php htmlspecialchars() 2) sql poison injection - guna php mysql_real_escape_string() 3) URL ($_GET) poison injection - guna function saya buat sendiri - function buat sendiri - allow_alphanumeric_character_only() - kalo user masukkan character pelik2 macam $*%! dll.. semua akan dibuang. 4) URL ($_GET) alteration - bagaimana nak elakkan user1 dari edit user2 punya record hanya dengan menukar record ID di URL? ..yg ni saya masih dalam kajian.. tapi sangat penting dari segi securiti!! saya akan tanya programmer majalahcom..
9Mari Cuba Web Apps yg Saya Bina Version 0.1a - Wed 16/Jun/2021 10:55am
cabaran: macamana cara utk mendapatkan ID yg pendek dan kemas mcm majalah.com. setakat yg saya buat guna php uniqid() - dapat ID yg panjang mcm nih - 60C8B15DD4F59 (13 characters) saya nak cari cara utk buat ID yg pendek - GJNXJG5G4H (10 characters sahaja).. nanti saya tanya programmer majalah.com.. buat masa ni pkp mmg tak boleh jumpa face to face.. kalo nak terangkan dlm whatsap mmg susah..
10Mari Cuba Web Apps yg Saya Bina Version 0.1a - Wed 16/Jun/2021 10:55am
untuk login system, saya berikan 'Acces Level'. Tujuannya supaya boleh dibezakan jenis2 users. Saya akan gunakan konsep catur/chess utk Access Level 1) level 0 - web visitor, tak login 2) level 1 - guest login (akan di 'disable' bila apps siap nanti) 3) level 2 - pawn (level paling bawah selepas login) 4) level 3 - rook - vip 5) level 4 - knight - vvip 6) level 5 - bishop - (level admin, bawah arahan queen) 7) level 6 - queen (second power.. boleh buat semua yg king buat kecuali create/de1ete table) 8) level 7 - king (paling power, boleh create/de1ete table)
11Mari Cuba Web Apps yg Saya Bina Version 0.1a - Wed 16/Jun/2021 10:55am
cabaran2 1) w3schools mengajar cara buat website responsive yg sangat baik menggunakan cara 'css flex' .. tapi tak tahu sebab apa mereka gunakan method 'desktop first'. Saya kena tukar kpd 'mobile first' 2) kemudian Net Ninja mengajar php/mysql macamana nak masukkan data, edit dan de1ete kedalam table.. tapi masalahnya net ninja tak tunjukkan macamana cara nak login. dia buat website 'open' semua orang boleh post info, edit & de1ete. Jadi saya kena buat login system dahulu.
12Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 10:35pm
Dan banyak lagi.. jika kita klik sampai page ke 10 bila search 'web hosting malaysia'. saya akan check nanti:- https://www.shezawebhost.com https://www.vpsmalaysia.com.my https://www.tezhost.com.my https://jimathosting.com https://www.1host.my https://kenhost.com.my https://jomhosting.net https://wy.com.my https://www.malaysiahosting2u.com https://cunhost.com
13Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 10:16pm
KLhost - Founded in 1999, KLhost Network Sdn Bhd has since established itself as a premier web host whose goals are to provide superior customer support, reliability, and service to the Internet community. KLhost - about us: https://www.klhost.com/about-us KLhost website: https://www.klhost.com Office in Damansara Perdana, Petaling Jaya, Selangor
14Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 10:13pm
Hostpro - We've been a leader in the small business hosting industry since 2003! Whether you have a basic hosting account or racks of servers, you're a VIP in our eyes. Hostpro - About https://www.hostpro.com.my/about-hostpro.html Hostpro website: https://www.hostpro.com.my Office in Bayan Baru, Penang (Penang Cybercity)
15Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 10:08pm
Go Get Space - We started back in 2008 in Kuala Lumpur.. Go Get Space now hosts more than 60,000+ domains worldwide, Go Get Space - Story & Team: https://gogetspace.com/our-story-and-team/ Go Get Space website: https://gogetspace.com
16Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 10:03pm
Casbay is a leading web hosting solutions company since 2010. We never stop innovating, upgrading and improving to serve you better. Casbay - About https://www.casbay.com.my/about Casbay Sdn Bhd - ebsite https://www.casbay.com.my
17Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 9:24pm
GB Network Solutions has been setting the standard for reliability and performance in our industry since 2007 and will be around for years to come. GB Network Solutions website: https://www.gbnetwork.my GB Network Solutions website: https://www.gbnetwork.my/about Office in Cyberjaya, Selangor
18Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 9:21pm
Cloudspace is a brand by Bitforge Sdn Bhd which has been around sinсе 2010. Wе hаvе bееn providing rеliаblе, scalable аnd ѕесurе hosting ѕоlutiоnѕ for individuаlѕ аnd buѕinеѕѕеѕ оf аll ѕizеѕ and locations. Cloudspace - About https://www.cloudspace.com.my/about/ Cloudspace website https://www.cloudspace.com.my Office in Mont Kiara, KL.
19Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:55pm
RapidCloud Malaysia is Southeast Asia’s leading premier enterprise cloud computing solutions provider. Since 1999, we have been focussing on providing high quality and affordable services for our clients. RapidCloud - About https://webhosting.com.my/about RapidCloud website https://webhosting.com.my 2016 - Emerge Systems (M) Sdn Bhd is now known as RapidCloud (M) Sdn Bhd
20Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:48pm
Myduniahosting - Own by Rafatech System Sdn Bhd. We started in 2008 and always have strive to provide straight forward honest and reliable web hosting services in Malaysia. Myduniahosting - About Us: https://www.myduniahosting.com/about-us Myduniahosting website: https://www.myduniahosting.com/
21Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:39pm
Bigdomain - Our team consists of Internet veterans that have more than 10 years of experience in helping SMEs grow through Digital transformation using the cloud and Malaysia SEO. Bigdomain Website https://bigdomain.my Offices in Penang & Subang Jaya
22Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:24pm
IPServerOne was started by Mr. Lee Cheung Loong in 2003. Today IPServerOne has grown to be a company of 50 professionals occupying 2 office lots located at Glomac Damansara, Kuala Lumpur Company about: https://www.ipserverone.com/about IPServerOne website: https://www.ipserverone.com
23Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:14pm
Sempoihosting adalah webhosting yg dah agak lama. Tapi hari ini tak boleh akses. Saya akan check semula lain kali. Sempoi Hosting https://www.sempoihosting.com
24Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 8:04pm
iWhost - How We Got Here? Our CEO, En Shamsul Kamal, started Internet Webhosting as a reseller of a company based in United States Of America. History: https://blog.iwhost.com/2018/07/27/history/ iWhost website: https://www.iwhost.com Dahulunya dikenali sebagai: (sebelum 1 Jan 2020) https://internet-webhosting.my
25Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 11:53am
Cynet is a web hosting company based in Malaysia established in 2006 by a team of young & adventures entrepreneur. About Us: https://www.cynet.com.my/aboutus Cynet Website: https://www.cynet.com.my
26Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 11:34am
ServerFreak Technologies Sdn. Bhd. opens its door to business in 2003 and since then we have become one of the fastest growing hosting provider in Malaysia. About Company: https://www.web-hosting.net.my/company.html ServerFreak Website: https://www.web-hosting.net.my
27Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 11:27am
Yeahhost Premium Hosting Provider. Targeting your needs in hosting solutions. With more than 16 years hosting experience. Company profile: https://www.yeahhost.com.my/company-profile Yeahhost website: https://www.yeahhost.com.my
28Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 11:13am
SyokHost.com dilancarkan pada April 2010 oleh En. Mohd Fuad Bin Ishak di Kulim, Kedah dan ianya adalah jenama webhosting di bawah syarikat Syok Computer Centre. (PG0205455-X) Syokhost website: https://www.syokhost.com/syarikat.html SyokHost website: https://www.syokhost.com
29Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Tue 8/Jun/2021 11:08am
harini saya nak senaraikan webhosting2 yg saya jarang lihat tapi sebenarnya dah lama bertapak di Malaysia.
30Memilih Domain dan Webhosting di Malaysia untuk Web Apps Anda - Sun 6/Jun/2021 6:47pm
Untuk pembelian domain pulak, saya biasa guna namecheap. Sebenarnya ada sangat banyak company yg menawarkan servis domain di Malaysia dan seluruh dunia. Tapi saya dah terbiasa guna namecheap sejak dulu dan malas nak cuba yg baru.. https://namecheap.com
31Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Fri 4/Jun/2021 12:20pm
Tut 42 - Classes & Objects (part 2) https://youtu.be/BUdGWoMMPQs - getter & setter - still intro to OOP for beginners
32Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Fri 4/Jun/2021 12:06pm
Tut 41 - Classes & Objects (part 1) https://youtu.be/bt4znmLQCZ8 - intro to OOP - what are Classes & Objects - using __construct
33Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Fri 4/Jun/2021 11:43am
Tut 40 - File System (part 2) https://youtu.be/UT9zKFYr18U - the better way to open file, use function - fopen - then read rh content using - fread - to read a single line use - fgets - to read a single character - fgetc - to write into a file use - fwrite - when finished, c1ose using - fc1ose - to de1ete file use - unlink to learn all the modes of fwrite check here: https://www.w3schools.com/php/func_filesystem_fopen.asp
34Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 6:37pm
Tut 39 - File System (part 1) https://youtu.be/yUzcYBuSgc4 - to read from txt file use function - readfile - to check if file exist use - file_exists - to duplicate file use - copy - to check where is file - realpath - to check file size - filesize - to rename file - rename - to make new directory - mkdir
35Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 5:40pm
Tut 38 - Superglobal: Cookies https://youtu.be/GNGf-I5pNrI $_COOKIE - we use Sessions to track variable and keep in server - we use Cookies to track variable and keep in user computer - for sensitive data, using Sessions maybe safer than Cookies - set a cookie with function - setcookie()
36Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 5:25pm
Tut 37 - Null Coalescing https://youtu.be/8Bsvrm4gHGs - setting a default value to a variable - this would prevent error if the value does not exist previously - we will use double question mark (??)
37Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 5:18pm
Tut 36 - Superglobal: Sessions https://youtu.be/6ZDTUZ1KRUI $_SESSION - Sessions - to carry over variables from a page to another page - stores data in the server between page requests - the session will last until we c1ose browser - this tutorial will show how sessions work. - start sessions with function - session_start() - to de1ete one session value use - unset() - to unser all session values use - session_unset()
38Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 4:55pm
Tut 35 - Superglobals https://youtu.be/sMhSKNAHXZ8 - superglobals start with dollar sign and underscore ($_ ) - example: $_GET, $_POST, $_SERVER, $_SESSION, $_COOKIE etc - $_SERVER['SERVER_NAME'] - $_SERVER['SCRIPT_FILENAME'] - $_SERVER['PHP_SELF']
39Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 4:49pm
Tut 34 - Ternary Operators https://youtu.be/L-S0rsFR-gQ - ternary operators are ways to write code that is shorter and cleaner
40Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 4:37pm
Tut 33 - Finishing Touches https://youtu.be/vkH5WZ-4ngU - using CSS tu beautify the website - our small pizza project completed!
41Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 4:10pm
Tut 32 - Deleting a Record https://youtu.be/3lpPfEdU-8A - using hidden input type to pass ID - use sql statement - de1ete FROM
42Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 3:52pm
Tut 31 - Getting a Single Record https://youtu.be/G8OYy-y3C9A - how to view details of a single record - send the record ID using GET request - use sql statement - SELECT FROM WHERE - use php statement - mysql_fetch_assoc($result) - the fren reesult with - mysql_free_result($result) - then close connection with - mysql_close($conn)
43Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Thu 3/Jun/2021 3:28pm
Tut 30 - Saving Data to the Database https://youtu.be/ijHc_3t2arE - first, modularised the database connection - sanitise data before adding to mysql with mysql_real_escape_string() - add data using INSERT INTO statement
44Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 7:01pm
Tut 29 - Control Flow Alternative Syntax https://youtu.be/1Py5GjnnreE - this tutorial is a sidenote - for better code readibility, we will use this syntax - foreach with endforeach - if with endif
45Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 6:46pm
Tut 28 - Rendering Data: the Explode Function https://youtu.be/wT5CVoOdLlE - using explode() function - then use foreach loop
46Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 6:34pm
Tut 27 - Rendering Data to the Browser https://youtu.be/3T8bp9DlypU - rendering data using foreach loop - use materialize CSS to format output
47Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 6:22pm
Tut 26 - Getting Data From a mysql Database https://youtu.be/WGuyxGJW9hs - our first mysql query using mysqli_query() - then fetch resulting rows as an array using: mysqli_fetch_all($result, MYSQLI_ASSOC) - then free the memory using mysqli_free_result() - then close connection using mysqli_close() - then see result using $print_r
48Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 5:34pm
Tut 25 - Connecting to a Database https://youtu.be/zpTlJ6dtOxA - add user account in mysql using phpmyadmin - then connect to mysql using php mysqli_connect() - if error, show using mysqli_connect_error()
49Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 5:23pm
Tut 24 - Setting Up a MySQL Database https://youtu.be/YFlIw4KMpVM - using PhpMyAdmin software - create table and number of columns - for ID, use INT with AutoIncrement & Primary Key feature - for title, use varchar with 255 length - for date/time, use TIMESTAMP with CURRENT_TIME
50Pelajaran 5 - Belajar Kombinasi Php dan Database Mysql (Mariadb) untuk Web Apps Anda - Wed 2/Jun/2021 5:06pm
Tut 23 - MySQL Introduction https://youtu.be/N2L9KZo2szY - start to learn Mysql database - what is relational database