Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
Mengapa Blockly?
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Blockly memungkinkan Anda berfokus pada penerapan blok ke domain tanpa perlu mengkhawatirkan
kompleksitas cara blok tersebut harus dirender, ditarik, atau dihubungkan.
Ini berlaku untuk berbagai kasus penggunaan pendidikan, seperti:
- Melatih siswa menuju pemrograman berbasis teks.
- Mendorong pemikiran komputasi.
- Menjelajahi konsep lain (misalnya fisika) secara komputasi.
Serta banyak kasus penggunaan industri, seperti:
- Analisis dan pembersihan data.
- Otomatisasi (misalnya, dalam robotika, alur kerja proses, dll.).
- Konfigurasi (misalnya di toko online, IoT, dll.).
Kekuatan
Blockly memiliki sejumlah keunggulan yang menjadikannya pilihan paling populer untuk
mem-build lingkungan pemrograman berbasis blok.
- Ketersediaan. Blockly dipublikasikan di NPM, sehingga Anda dapat mewajibkannya
dengan cara yang sama seperti dependensi web lainnya.
- Berfitur lengkap. Blockly dilengkapi dengan blok umum yang menghasilkan kode dalam 5 bahasa pemrograman populer (JavaScript, Python, Lua, Dart, dan PHP). Selain itu, plugin ini memiliki ekosistem plugin yang berkembang pesat dan memberi Anda
lebih banyak kemampuan.
- Kemampuan penyesuaian. Blockly memungkinkan Anda menentukan blok, kolom,
dan input Anda sendiri dengan mudah. Selain itu, banyak fungsi intinya yang dapat ditukar dengan fungsi kustom Anda sendiri.
- Internasionalisasi. Library blok inti Blockly dilengkapi dengan
terjemahan dalam lebih dari 90 bahasa, termasuk versi kanan-ke-kiri untuk bahasa Arab
dan Ibrani.
- Open Source. Google membagikan teknologi Blockly kepada semua orang sehingga bersama-sama kita dapat mengedukasi developer generasi berikutnya.
Alternatif
Ada beberapa kasus penggunaan yang wajar untuk menggunakan library selain
Blockly. Berikut beberapa opsi lainnya:
- PXT: Ini adalah editor yang dibangun di Blockly yang mendukung MakeCode. Kode ini menghasilkan JavaScript secara eksklusif, yang memungkinkannya
mengonversi dari kode ke blok. Alat ini juga dilengkapi dengan compiler dan simulator.
- Droplet: Ini adalah editor yang mendukung
Pencil Code. Dengan alat ini, Anda dapat mengetik untuk membuat blok tanpa
menarik, dan juga mendukung peralihan dari kode ke blok.
- Node-red: Ini adalah editor pemrograman berbasis node, bukan berbasis blok, tetapi memenuhi fungsi serupa. Alat ini populer untuk
menghubungkan perangkat hardware, sering kali dalam konteks industri.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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."]]