Kintone Technical Training - Development Tips & Useful Tools
Here is the Development Tips & Useful Tools study content of Kintone Technical Training.
If you want to access the reference link in it directly, please download this PDF file.
We hope you enjoy Kintone technical training journey!
these guidelines to prevent security issues in your JavaScript programs. • Important Points • Prevent Cross-Site Scripting (XSS) • Prevent Cross-Site Request Forgery (CSRF) • Use HTTPS • Store Data Appropriately • Consider the Impact to the Kintone Service • Avoid sending large amounts of requests within a short time period • Check Operations on Several Web Browsers • Set an appropriate user agent https://kintone.dev/en/legal/secure-coding-guidelines/ 5
these guidelines. • Important Points • Character Encoding • Namespaces and Variables • id/class attributes that are used in Kintone • Retrieving the URL https://kintone.dev/en/legal/javascript-coding-guidelines/ 6
License 2. Choose a Code Editor 3. Learn How to Use Kintone APIs 4. Understand How to Debug 5. Use the JavaScript Code Checker: ESLint 6. Learn How to Develop Efficiently 8
a Kintone Developer License from the developer site. • It is a year free Kintone environment for developers who want to test out Kintone customizations using Kintone APIs. • kintone.com domain environment • You can get from Kintone Developer Program English site. • cybozu.com domain environment • You can get from cybozu developer network Japanese site. • cybozu.cn domain environment • You can get from cybozu developer network Chinese site. 9
your favorite Code Editor. • Visual Studio Code (VSCode) • This is the tool to use in this Kintone Technical Training materials. • Brackets • Sublime Text • Atom 10
learn the way to use Kintone APIs and develop Kintone customization using contents below. • How to Attach Scripts to Kintone Apps • https://kintone.dev/en/tutorials/introduction-to-kintone-customizations/how-to-attach-scripts-to- kintone-apps/ • Kintone Technical Training • https://www.youtube.com/playlist?list=PLJOThIyQA7oOINO73ah34ZdHy13Sd6331 11
up on the console of your browser. • Read through the following article to get a good understanding of how to debug Kintone customizations. https://kintone.dev/en/tutorials/development-productivity/debug-with-developer-tools/ 12
“@cybozu/eslint-config” rule when you develop Kintone customization. • You can check the code with ESLint on both an editor (e.g., Visual Studio Code) and a command-line interface (e.g.,Terminal and PowerShell). https://github.com/cybozu/eslint-config 13
ways to develop Kintone customization efficiently. • You can check the detail of the options in the next section. • SDK • Customization File Management Tool • Command Line Tool • UI Customization Tool • Plug-in development tool 14
Client for JavaScript • Kintone Java Client • Customization File Management Tool • kintone-customize-uploader • Command Line Tool • Kintone Command Line Tool (cli-kintone) • UI Customization Tool • Kintone UI Component • Plug-in Development Tool • create-kintone-plugin • kintone-plugin-packer • plugin-uploader • webpack-plugin-kintone-plugin • kintone-config-helper 16 Note that it is just a recommendation, so please select a tool as needed. And make sure check the support policy and the limitations of each one before using it.
up essential files for Kintone plug-in. https://github.com/kintone/js-sdk/tree/master/packages/create-plugin 27 Recommended for those who have no experience in plug-in development and who want to make from scratch. create-kintone-plugin contains kintone-plugin- packer and plugin- uploader.
files into a plug-in. https://github.com/kintone/js-sdk/tree/master/packages/plugin-packer 28 Recommended for those who have experience in plug-in development and who have existing files.
you to easily upload a plug-in zip file to Kintone. https://github.com/kintone/js-sdk/tree/master/packages/plugin-uploader 29 Recommended for those who want to automate uploads to Kintone.
into a Kintone plug-in. https://github.com/kintone/js-sdk/tree/master/packages/webpack-plugin-kintone-plugin/ 30 Recommended for those who want to use webpack to package plug-in files.
and form layout information of Kintone app. https://github.com/kintone-labs/config-helper 31 This tool can be useful with kintone UI Component especially when building a plug-in setting page.