สรุปงาน Global Azure 2024 – Thailand

สรุปงาน Global Azure 2024 – Thailand สำหรับในปีนี้จะมี 12 หัวข้อ ในวันที่ 19 และ 20 เมษายน พ.ศ. 2567 โดยจะเน้นหลักๆไปในส่วน Service ด้วย AI ครับ

[KBTG-GO#06] Refactoring with Go

รอบนี้ยาวเลยมาหลังสงกรานต์ หลังจากเคลียร์งานธุระต่างๆหมด หัวข้อมี ดังนี้ What is Code Smells ? Code Smells are symptoms of poor design or implementation choices Martin Fowler Type Of Code Smells มีเยอะมาก แบ่งได้ 5 กลุ่ม Bloaters – Don’t have to be that big มันใหญ่ไป Tool Abusers – Misuse Change Preventers -ปรับเปลี่ยนยาก //จริงๆ Maintain ยาก Dispensable – ไม่จำเป็นต้องมี Couplers – Too much depend on each other จริงต้องไปดู Coupling Cohesion เหมือน Recap ป โท เลย ลองดูจาก Lecture 2110624_SDD_01.00.00.pdf ได้ น่าจะทำมา 6-7 ปี และ Refactoring Improving design without changing behaviour หรือ Behavior-preserving transformation อันนี้สรุปสั้นๆ ชัดดีชอบ – แบบยาวๆ — Martin Fowler Refactoring != Rewrite – When to Refactor? – Why…

Entity type IdentityUserLogin requires a primary key

พอดีลองเล่น EF สักหน่อย หลักๆจะใช้ Dapper เอา แล้วมีเคสมือลองไปแก้ ลองเปลี่ยน ที่นี่พอลอง Run จะเจอ Error Solution Note: จริงๆ ไม่ควร Database First มาเป็น Code First บน Production นะครับ

[KBTG-GO#05] DevOps

สัปดาห์นี้มาช้านิดนึง ไปลองทำ Fun-Ex มา 55 หัวข้อประมาณนี้ 1 .DevOps – Why DevOps Flow เดิม Waterfall ทำเสร็จ กว่าจะ Deploy อีกนาน โดยอาจจะให้ Change Approval Board (CAB) อนุมัติ ก่อนให้ทีม Operation ทำงาน กว่าจะแก้ได้ช้า และมีปัญหาเรื่อง Enviroment DevOps มีคน Idea มาจากฝั่ง Ops ตอนปี 2006-2007 มีคำถาม Migrate ยังแล้วจะรู้ว่าใช้ได้ไหม ทำทีละส่วนและเทส + แนวคิด Agile เกิด #DevOps ปี 2009 โดยมี 3 มุม – CAMS และ CALMS mindset อะไรที่เสริมให้เกิด DevOps นอกจากตัว CAMS พี่ปุ้ยมีแนะนำอีกตัว CALMS ซึ่งจะเพิ่มในส่วนของ L ขึ้นมา โดยคุณ Jez Humble นั้น ซึ่ง L คือ Ref: CALMS Framework | Atlassian – 4 Keys Metric (Dora Metric) Ref: DORA Metrics: Measuring What Really Matters About Your Software Delivery | Sourced Group – DevOps Benefit…