Skip to content

RiwRiwara/Ezevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Introduction

Organizer@ & Admin Website for EZEVENT Platform

  • เป็นเว็บไซต์สำหรับใช้ใน EZEVENT แอพพลิเคชั่นมีเพิื่อให้ผู้ใช้ที่เป็น Organizer คอยจัดการกิจกรรมและจัดการผู้คน
  • สำหรับ Admin คอนชยจัดการทุกสิ่งทุกอย่าง
  • เป็น Web API สำหรับใช้ใน Mobile Application

Tech stach & Architecture

Tech Stack

  1. Laravel 10 Framework of PHP : เฟรมเวิร์ก Fullstack ใช้ร่วมกับ Blade Component
  2. Vite & tailwind : Vite คือ Frontend and build tool ช่วยในการพัฒนาระบบหน้าบ้านได้อย่างรวดเร็ว Tailwind คือ Style Framework
  3. Mysql database & Redis : ฐานข้อมูลแบบ Relational Database และ Redis ฐานข้อมูลแบบ no-sql run in Ram สำหรับทำการ Caching
  4. Xammp server : สำหรับจำลองเซิร์ฟเวอร์

Architecture

  • Design pattern base of Model - Views - Controller (MVC)
  • Strong of OOP programming
  • Diagram of MVC
    image

สิ่งที่สำคัญ

Model is responsible for maintaining application data and business logic.
View is a user interface of the application, which displays the data.
Controller handles user's requests and renders appropriate View with Model data
Model      เหมือนกับห้องเก็บของของแอปพลิเคชัน ทำหน้่าที่เก็บข้อมูลทั้งหมดเอาไว้ เช่น เป็นรายชื่อผู้ใช้ ผลลัพธ์ของเกม หรือข้อมูลใดๆก็ตาม 
           นอกจากนี้ โมเดลยังทำหน้าที่เหมือนสมองเล็กๆ ที่รู้จักคำนวณหรือตัดสินใจตามกฎเกณฑ์ต่างๆของแอปพลิเคชัน
View       เหมือนกับหน้าตาของแอปพลิเคชัน สิ่งที่ผู้ใช้เห็น ไม่ว่าจะเป็นปุ่ม กราฟิก ตัวหนังสือ ทั้งหมดก็มาจากวิว รับข้อมูลจากโมเดลมาแสดงผลในรูปแบบที่ดูเข้าใจง่ายและสวยงาม
Controller เหมือนคนคอยเฝ้าประตู ที่คอยรับคำสั่งจากผู้ใช้ ไม่ว่าจะเป็นการคลิกปุ่ม การกรอกข้อมูล แล้วคอนโทรลเลอร์ก็จะตัดสินใจว่าจะไปหยิบข้อมูลอะไรจากโมเดลมาให้วิวแสดงผล
           หรือจะบอกให้โมเดลไปคำนวณอะไรต่อ