บทความ

Robot Framework คืออะไร มีประโยชน์อย่างไร

รูปภาพ
 Robot Framework  คืออะไร มีประโยชน์อย่างไร Robot Framework คือ โปรแกรมหรือซอฟต์แวร์ ประเภท Open Source ชนิดหนึ่ง สำหรับการทำ Testing แบบ Automation เหมือนการทำงานแบบ RPA  ทดสอบการใช้ของซอฟต์แวร์ที่พัฒนาขึ้นมา มีรูปแบบการเขียนธรรมดาแล้วง่ายต่อความเข้าใจ  โครงสร้างการเขียน Robot Framework  การเขียนโปรแกรมด้วย Robot Framework มีโครงสร้างพื้นฐานที่เรียกว่า "Test Suite" ซึ่งประกอบด้วยหน่วยงานที่เรียกว่า "Test Cases" และ "Keywords" ดังนี้: Test Suite (ชุดทดสอบ) : Test Suite เป็นโครงสร้างหลักที่ใช้ในการจัดระเบียบและจัดการกับ Test Cases และ Keywords ต่างๆ ซึ่งประกอบไปด้วย: Settings (การตั้งค่า) : ส่วนนี้ใช้ในการกำหนดค่าและการตั้งค่าสำหรับ Test Suite เช่น การเรียกใช้คลังคำสั่ง (Library), การกำหนดตัวแปร (Variables), และการตั้งค่าอื่นๆ Variables (ตัวแปร) : ส่วนนี้ใช้ในการกำหนดค่าตัวแปรที่จะใช้ใน Test Cases หรือ Keywords Test Cases (กรณีทดสอบ) : ส่วนนี้ประกอบไปด้วย Test Cases หลายๆ รายการที่ใช้ในการทดสอบความสมบูรณ์และความถูกต้องของซอฟต์แวร์ Keywords (คำสั่ง) : ส่วนนี...

OWASP คืออะไร มีหน้าที่อะไรบ้าง

รูปภาพ
  OWASP คืออะไร มีหน้าที่อะไรบ้าง Open Web Application Security Project (OWASP) เป็นองค์กรไม่แสวงหาผลกำไรที่ให้ความรู้เกี่ยวกับการทำให้ระบบคอมพิวเตอร์ มีความปลอดภัยมากยิ่งขึ้น โดยจะมีการจัดอันดับความเสี่ยงด้านความปลอดภัยในทุกๆปีเพื่อใช้เป็นแหล่งอ้างอิงเพื่อลดความเสี่ยงในด้านความปลอดภัยของระบบ 12 พ.ค. 2565

Tips for writing clean code — Laravel

12 Laravel security best practices for 2023

Start Project with the Latest Laravel Version Set up Safeguard Secrets with Environment Variables Implement HTTPS for Secure Communication an SSL/TLS certificate. Config Cross-Site Scripting (XSS) Attacks Validate User Inputs Thoroughly Use API Authentication with Laravel Sanctum Role-Based Authorization Use Eloquent for Secure Database Operations Content Security Policy (CSP) Up to Date With composer Monitor and Log Security Events security audits and penetration testing

Laravel + Angular js

  Laravel & Angular is simply a PHP package for Laravel. It is not opinionated regarding your Angular app. However we recommend using the official @angular/cli tool. Install Laravel Installation composer require jadjoubran/laravel-angular config/app insert to Jadjoubran\LaravelAngular\Provider\LaravelServiceProvider::class, command install php artisan laravelangular:install JWT Auth Installation Angular Installation Lumen Installation $app->register(App\Providers\AppServiceProvider::class);

How to Livewire Laravel in 2023?

 Hot to Livewire Laravel in 2023 1️⃣ Artisan Commands 2️⃣ Making Components 3️⃣ Rendering Components 4️⃣ Actions  5️⃣ Events  6️⃣ Validation 7️⃣ Query String 8️⃣ Pagination 9️⃣ States 🔟 Flash Messages #LaravelDeveloperThailand #php #laravel #framework #MVC #OOP

How to Database Relationships in Laravel10

Type of Relationship in Database Laravel One-to-One - One Record in the table is associated with One. For example a customer and card ID number One to Many - One record in the table is associated with multiple records.  Many to Many - Multiple records in the table are associated with multiple records. 1. One-to-One Using in-Class Model: hasOne()  Example                     $this->hasOne(Product:::class); 2. One to Many using in Class Model:  hasMany() Method Example                     $this->hasMany(Product::class); 3. Many to Many Using in-Class Model: hasOne() latestOfMany(), oldestOfMany() and ofMany() Example                     $this->hasOne(Product::class)->latestOfMany();                          ...