Get Started | Blockly | Google Developers
文章推薦指數: 80 %
How to get started integrating Blockly into your application. ... First, download the source code from GitHub. If you know how to use Git or Subversion, ...
Blockly
Language
English
BahasaIndonesia
Deutsch
Español
Français
Português–Brasil
Русский
中文–简体
日本語
한국어
Signin
Home
Guides
Reference
Samples
GetHelp
Summits
Publications
Blockly
Home
Guides
Reference
Samples
GetHelp
Summits
Publications
Overview
GetStarted
ConfigureBlockly
InjectionOptions
ConfigurationStructGridMoveZoomFixedSizeWorkspaceResizableWorkspaceToolboxCodeGeneratorsEventsSerializationCloudStorageThemesKeyboardNavigationTranslationsContextMenusAddCustomBlocks
CreateCustomBlocks
OverviewBlocklyDeveloperToolsDefineBlocksBlockColourLocalizeBlocksGeneratingCodeBlockParadigmsStyleGuideOperatorPrecedenceCachingArgumentsTypeChecksExtensionsandMutatorsVariables
Fields
OverviewAnatomyofaFieldValidators
Built-inFields
OverviewAngleCheckboxColourDropdownImageLabelLabel(Serializable)NumberTextInputVariable
CustomizingFields
OverviewCreatingaCustomFieldExtendinganExistingFieldUpgradingaCustomField
ApplicationIntegration
BestPracticesGeneratingandRunningJavaScriptAttributingBlockly
ModifyBlockly
Contributing
OverviewWritingaGoodIssueWritingaGoodPRStyleGuideCommitMessageGuideTheCodeReviewProcessWritingaCodelabAddingaPluginIssueLabelsBlockly-samplesRepositoryStructurePlaygroundDevelopmentSetupForkingBlocklyBuildingAdvancedCompilationTranslatingUnitTesting
Plugins
OverviewUsingBlocklyAPIsDebuggingNamingConventions
Interfaces
OverviewConnectionCheckerMetricsManager
Home
Products
GoogleforEducation
Blockly
Guides
GetStarted
Thisdocumentisaimedatdeveloperswhowishtocreatetheirownapplications
thatincorporateBlocklyasacodeeditor.Itisassumedthatoneisgenerally
familiarwithBlockly'susage,andonehasabasicunderstandingofHTMLand
JavaScript.
Afterreadingthisdocument,youmaywishtotrythe
GettingStartedcodelab.
Overview
Blocklyisdesignedtoeasilyinstallintoyourwebapplication.Usersdrag
blocksaround,Blocklygeneratescode,yourapplicationdoessomethingwiththat
code.Fromyourapplication'spointofview,Blocklyisjustatextareainwhich
theusertypessyntacticallyperfectJavaScript,Python,PHP,Lua,Dart,oranother
language.
Blocklyis100%clientside,requiringnosupportfromtheserver(unlessone
wantstousethecloud-storagefeature).Thereareno3rdpartydependencies
(unlessonewantstorecompilethecore).Everythingisopensource.
GettheCode
Recommended:npm
Blocklyispublishedonthe
npmregistryand
yarnregistry.Werecommendaccessing
Blocklythroughapackagemanagerbecause:
ItiseasiertostayuptodatewithchangesinBlockly
Itencouragesusingpluginsinsteadof
monkeypatchingBlockly
Ifyouneedmoreconvincingyoucanwatchour2021Blocklyonnpmtalk.
Ifyouarealreadyusingapackagemanager,youcaninstallBlocklywith
npminstall--saveblockly
YoucanreferenceBlocklyinyourapplicationcodewith:
importBlocklyfrom'blockly';
Thiswillimportthedefaultpackages.Formoreinformation,
seethepackagereadme,
andtheexamplesforusingBlocklywith
Node
andwebpack.
Unpkg
Ifyouaren'tusingapackagemanagerforyourproject,butdon'twanttohave
tocopythecodeyourself,youcanuseunpkg.
延伸文章資訊
- 1Webduino Blockly 特殊功能
自從Webduino Blockly 推出以來,受到許多使用者的喜愛,加上不少的熱情使用者, ... 選後就會將畫面裡的積木組成,下載為png 圖片,方便用於各種印刷品或教學使用。
- 2108資訊科技銜接課程: Blockly 積木程式 - 快樂學習網
Blockly 是Google 所推出的圖像式程式編輯工具,不需安裝任何的外掛程式,只要打開瀏覽器就可以開始進行程式創作,透過積木的 ... 點選Blockly.zip鏈結來下載這檔案。
- 3(體驗版) Webduino Blockly 編輯器
(體驗版) Webduino Blockly 編輯器前往Webudino 雲端平台! 官網 教學 API 文件 關卡練習. English, 正體中文, 简体中文. X. All. 積木, Ja...
- 4fChart程式設計教學工具+Blockly中文離線版
Cake Blockly版 NClass類別圖 下載fChart6 標準版. fChart程式碼編輯器是一套輕量級整合開發環境,不只可以編譯, 編輯和執行C, C++, C#, VB和Java程...
- 5Get Started | Blockly | Google Developers
How to get started integrating Blockly into your application. ... First, download the source code...