Giter Site home page Giter Site logo

book-vuejs's Introduction

Vue คืออะไร

"Vue (pronounced /vjuː/, like view) is a progressive framework for building user interfaces."

จากคำกล่าวข้างต้น กล่าวไว้ว่า Vue นั้นอ่านว่า วิว เป็นเฟรมเวิร์คที่เน้นเรื่องการทำ User Interface

ง่ายๆเลยคือเป็นจาวาสคริปต์เฟรมเวิร์คที่เข้ามาช่วยเรื่องการแสดงผล เท่าที่ใช้งานมา ข้อดีของวิวที่เห็นหลักๆ ก็คือ

  1. ช่วยแยก logic การตัดสินใจออกจากการแสดงผล
    จากเมื่อก่อนถ้าหากเราต้องการซ่อน/แสดง หรือ แสดงซ้ำๆ อิลิเม้นต์ใดๆ เราจะเขียนโค้ดปนลงไปใน html แต่เมื่อเรามาใช้ Vue เราเขียนโค้ดฝังเข้าไปในส่วน html น้อยลงทำให้อ่านง่ายขึ้น

  2. ช่วยแยกหน้าเว็บออกเป็น component ทำให้การจัดการง่ายขึ้น

  3. ช่วยจัดการเรื่อง Dynamic data ให้กลายเป็นเรื่องง่าย
    จากเมื่อก่อนหากเราต้องการประมาณว่า พิมพ์ข้อความเข้าไปใน textbox แล้วข้อความนั้นแสดงผลให้เห็นทันที เป็นเรื่องที่ยากและวุ่นวายเอาการ แต่เมื่อหันมาใช้ Vue การทำตามความต้องการนี้จะกลายเป็นเรื่องง่ายๆ แค่ใช้ v-bind คำสั่งเดียว

book-vuejs's People

Contributors

gitbook-bot avatar platoosom avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.