แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
ทำไมต้องเป็น Blockly
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Blockly ให้คุณมุ่งเน้นที่การนำการบล็อกไปใช้กับโดเมนของคุณโดยไม่ต้องกังวลเกี่ยวกับความซับซ้อนในการแสดงผล การลาก หรือการเชื่อมต่อการบล็อกเหล่านั้น
ซึ่งสามารถนำไปใช้กับกรณีการใช้งานด้านการศึกษาได้มากมาย เช่น
- ให้นักเรียนเขียนโปรแกรมโดยใช้ข้อความ
- ส่งเสริมการคิดเชิงคำนวณ
- สำรวจแนวคิดอื่นๆ (เช่น ฟิสิกส์) ในการคำนวณ
รวมถึงกรณีการใช้งานในอุตสาหกรรมอีกมากมาย เช่น
- การวิเคราะห์และการทำความสะอาดข้อมูล
- การทำงานอัตโนมัติ (เช่น ในหุ่นยนต์ เวิร์กโฟลว์กระบวนการ ฯลฯ)
- การกำหนดค่า (เช่น ในร้านค้าออนไลน์, IoT ฯลฯ)
จุดแข็ง
Blockly มีจุดแข็งหลายอย่างที่ทำให้เป็นตัวเลือกที่ได้รับความนิยมสูงสุดในการสร้างสภาพแวดล้อมการเขียนโปรแกรมแบบบล็อก
- ความพร้อมใช้งาน Blockly ได้รับการเผยแพร่บน NPM คุณจึงกำหนดให้มีการเผยแพร่ URL ดังกล่าวได้เช่นเดียวกับที่จำเป็นต้องใช้ทรัพยากร Dependency อื่นๆ ของเว็บ
- แนะนำอย่างเต็มรูปแบบ Blockly มาพร้อมกับบล็อกทั่วไปที่สร้างโค้ดในภาษาโปรแกรมยอดนิยม 5 ภาษา (JavaScript, Python, Lua, Dart และ PHP) ทั้งยังมีระบบนิเวศของปลั๊กอินที่เฟื่องฟูซึ่งให้คุณมีความสามารถมากขึ้นไปอีก
- ความสามารถในการปรับแต่ง Blockly ให้คุณกำหนดบล็อก ช่อง และอินพุตของตัวเองได้ง่ายๆ นอกจากนี้ ฟังก์ชันหลักหลายๆ อย่างที่คุณสลับใช้เป็นฟังก์ชันที่กำหนดเองได้
- การปรับให้เป็นสากล คลังบล็อกหลักของ Blockly มาพร้อมคำแปลในกว่า 90 ภาษา รวมทั้งภาษาอาหรับและภาษาฮิบรูที่อ่านจากขวาไปซ้ายได้
- โอเพนซอร์ส Google แชร์เทคโนโลยีของ Blockly กับทุกคน เพื่อให้เราร่วมกันให้ความรู้แก่นักพัฒนาซอฟต์แวร์รุ่นถัดไปได้
ตัวเลือกอื่นๆ
มีกรณีการใช้งานบางกรณีที่เหมาะจะใช้ไลบรารีอื่นนอกเหนือจาก Blockly ต่อไปนี้เป็นตัวเลือกอื่นๆ
- PXT: นี่คือเครื่องมือแก้ไขที่สร้างขึ้นจาก Blockly ที่ขับเคลื่อน MakeCode เอาต์พุตนี้เอาต์พุตเฉพาะ JavaScript เท่านั้น
ทำให้แปลงจากโค้ดเป็นบล็อกได้ และยังมาพร้อมกับคอมไพเลอร์
และเครื่องมือจำลองอีกด้วย
- Droplet: เป็นเครื่องมือแก้ไขที่ขับเคลื่อนโดยPencil Code แป้นพิมพ์นี้ช่วยให้คุณพิมพ์เพื่อสร้างบล็อกได้โดยไม่ต้องลาก และรองรับการเปลี่ยนโค้ดจากบล็อก
- โหนดสีแดง: เป็นเครื่องมือแก้ไขโปรแกรมแบบใช้โหนดแทนบล็อก แต่มีฟังก์ชันที่คล้ายกัน เป็นที่นิยมในการเดินสายอุปกรณ์ฮาร์ดแวร์เข้าด้วยกัน ซึ่งมักเกิดขึ้นในอุตสาหกรรม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eBlockly is a versatile library for creating visual, block-based programming environments, suitable for education and industry applications.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a rich set of features, including pre-built blocks, code generation in multiple languages, and extensive customization options.\u003c/p\u003e\n"],["\u003cp\u003eBlockly is easily integrated into web projects, supports internationalization, and benefits from an active open-source community.\u003c/p\u003e\n"],["\u003cp\u003eWhile Blockly is a robust solution, alternatives like PXT, Droplet, and Node-red cater to specific use cases such as code-to-block conversion, hardware integration, or node-based programming.\u003c/p\u003e\n"]]],["Blockly enables users to apply blocks to their domain without managing rendering or connections. It's applicable in education for computational thinking and industry for automation, data analysis, and configuration. Key strengths include NPM availability, bundled blocks for multiple languages, customizability, internationalization, and open-source nature. Alternatives like PXT, Droplet, and Node-red exist for specific use cases, like JavaScript-only environments or node-based programming.\n"],null,["# Why Blockly?\n\nBlockly lets you focus on applying blocks to your domain without worrying about\nthe complexities of how those blocks should be rendered, dragged, or connected.\n\nIt is applicable to a wide range of educational use-cases, such as:\n\n- Working students toward text-based programming.\n- Encouraging computational thinking.\n- Exploring other concepts (e.g. physics) computationally.\n\nAs well as many many industry use-cases, such as:\n\n- Data analysis and cleaning.\n- Automation (e.g. in robotics, process workflows, etc).\n- Configuration (e.g. in online shops, IoT, etc).\n\nStrengths\n---------\n\nBlockly has a number of strengths that make it the most popular option for\nbuilding a block-based programming environment.\n\n- **Availability.** Blockly is published on NPM, so you can require it in the same way you require any other web dependency.\n- **Fully featured.** Blockly comes bundled with common blocks that generate code in 5 popular programming languages (JavaScript, Python, Lua, Dart, and PHP). Plus it has a thriving [plugin ecosystem](https://google.github.io/blockly-samples/#plugins) that gives you even more capabilities.\n- **Customizability.** Blockly lets you easily define your own blocks, fields, and inputs. Plus many of its core functionalities can be swapped out for your own custom ones.\n- **Internationalization.** Blockly's core library of blocks comes with translations in 90+ languages, including right-to-left versions for Arabic and Hebrew.\n- **Open Source.** Google shares Blockly's technology with everyone so, together, we can educate the next generation of developers.\n\nAlternatives\n------------\n\nThere are some use cases where it makes sense to use a library other than\nBlockly. Here are some other options:\n\n- [**PXT**](https://github.com/Microsoft/pxt): This is an editor built on Blockly that powers [MakeCode](https://makecode.com). It outputs JavaScript exclusively, which enables it to convert from code to blocks. It also comes bundled with a compiler and a simulator.\n- [**Droplet**](https://github.com/PencilCode/droplet): This is the editor that powers [Pencil Code](https://pencilcode.net/). It lets you type to create blocks without dragging, and also supports going from code to blocks.\n- [**Node-red**](https://nodered.org/): This is a node-based rather than block-based programming editor, but it fulfills a similar function. It is popular for wiring together hardware devices, often in industry contexts."]]