סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
למה לחסום?
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בעזרת Blockly, אפשר להתמקד בהחלת בלוקים על הדומיין בלי לדאוג לגבי המורכבות של עיבוד, גרירה וחיבור של הבלוקים האלה.
הוא רלוונטי למגוון רחב של תרחישים חינוכיים, למשל:
- יצירת תכנות מבוסס-טקסט בקרב התלמידות והתלמידים.
- עידוד חשיבה מחשובית.
- חקר מושגים אחרים (למשל פיזיקה) באופן ממוחשב.
כמו בהרבה תרחישים לדוגמה בתחום, כמו:
- ניתוח וניקוי נתונים.
- אוטומציה (למשל, ברובוטיקה, בתהליכי עבודה של תהליכים וכו').
- הגדרות אישיות (למשל, בחנויות וירטואליות, ב-IoT וכו').
נקודות חוזק
ל-blockly יש כמה יתרונות, שהופכים אותו לאפשרות הפופולרית ביותר לבניית סביבת תכנות מבוססת-בלוקים.
- זמינות. Blockly מתפרסם ב-NPM, כך שתוכלו לדרוש אותו באותו אופן שבו זקוקים לתלות אחרת באינטרנט.
- הצגה מלאה. חברת Blockly מגיעה עם בלוקים נפוצים שיוצרים קוד ב-5 שפות תכנות פופולריות (JavaScript, Python, Lua , Dart ו-PHP). בנוסף, יש לה סביבה עסקית משגשגת של יישומי פלאגין, שמעניקה עוד יותר יכולות.
- התאמה אישית. בעזרת Blockly תוכלו להגדיר בקלות בלוקים, שדות ומקורות קלט משלכם. בנוסף, תוכלו להחליף הרבה מהפונקציות העיקריות שלה בפונקציות משלכם בהתאמה אישית.
- הפיכה לבינלאומי. ספריית הבלוקים העיקרית של Blockly כוללת תרגומים ביותר מ-90 שפות, כולל גרסאות מימין לשמאל עבור ערבית ועברית.
- קוד פתוח. Google משתפת את הטכנולוגיה של Blockly עם כולם כדי שיחד נוכל ללמד את הדור הבא של מפתחים.
אפשרויות אחרות
יש תרחישים מסוימים שבהם הגיוני להשתמש בספרייה אחרת מאשר ב-Blockly. הנה כמה אפשרויות נוספות:
- PXT: כלי עריכה שמבוסס על Blockly שמפעיל את MakeCode. הוא מפיק JavaScript באופן בלעדי, ולכן הוא מאפשר להמיר מקוד לבלוקים. הוא גם מגיע עם מהדר וסימולטור.
- Droplet: העורך שמפעיל את Pencil Code. הוא מאפשר להקליד כדי ליצור בלוקים בלי לגרור, ותומך גם במעבר מקוד לבלוקים.
- Node-red: כלי עריכה תכנות מבוסס צמתים ולא מבוסס בלוקים, אבל הוא ממלא פונקציה דומה. התהליך הזה פופולרי לחיבור של מכשירי חומרה, לעיתים קרובות בהקשר של התעשייה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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."]]