Naming Conventions for Extension Developers

If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .

Example

naming

What does UpperCamelCase mean?

UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first letter of each of the multiple words capitalized within the new word that forms the name.letter

What does lowerCamelCase mean?

lowerCamelCase (part of CamelCase) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first letter of each of the multiple words (except the first one) capitalized within the new word that forms the name.

All components and extensions follow the naming conventions... and these naming conventions have been setup by the MIT App Inventor team, see also the App Inventor Extensions document

EDIT: Since a while there also exist helper blocks. Helper blocks are blocks that get connected to inputs on blocks associated with a component.

Example:
Unbenannt

The documentation of the helper blocks is here Adding Helper Blocks to a Component - Google Docs and How to Add a Dropdown Block to a Component - Google Docs


see here why naming conventions make sense

Why are naming conventions important programming?

Naming conventions help your code stay fluent within the context of your program . This is important because you want to have consistency throughout your entire program . Below you will find general rules when naming your variables. Variables tend to start with a letter.

taken from Naming Conventions in Programming | Founder at work

Feel free to use your own naming conventions in your own project, but if you like to provide an extension for others, then please follow the already defined naming conventions to make life easier for everyone.

Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

17 Likes
LayoutSheet [ Formerly : TopSheet]
[Open Source] Temperature Converter Extension (My first Extension)
[FREE] Charts Extension
java.lang.NoClassDefFoundError: Failed resolution of: Lcs/min2phase/Search; what does it means
[Free] TextClock : TextClock Widget for your apps
Glossy Card View Extensions
Number Progress Extension [1.0]
:red_square: ##PLEASE READ FIRST## Posting a new extension to the community
NPM extension question
[FREE] VpnChecker - Detect If User Is Using VPN
[Free] Color Extension
[FREE] TelegramTools : Tools To Work With Telegram
[FREE] YouTube info extension
Bitcoin Price Extension
Overlap View Extension: Create overlying layout
How to set color to an layout in extensions
[Free] Dictionary Extension : Developing Dictionary apps made Easy!
[FREE/Open Source] PhysicsCalculator - Extension
My extension is compiling but after use in app,it is showing runtime error
How to set color to an layout in extensions
I am making an extension
[Free Open Source] my toast extension 3.0
(solved)Error in math extensions
Any problem with this Java
Error while testing my extension
I had made a youtube extension
Is there any way to get file name without downloading it?
String to Double
Data Science with Charts and GoogleSheets
Mifare Classic & Ultralight Extension
TMIC: App Inventor Extension for the Deployment of Image Classification Models Exported from Teachable Machine
[Free/Beta] Puzzle Game - For made 2048 puzzle game
[FREE] AES Encrypt/Decrypt
FileStack extension
Could someone give me a easy and brief description of EventDispatcher?
[Free] [V2] Random Password Generator Extension
[FREE] TnParse (My first extension)