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.

18 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] SMS Reader Extension
:red_square: ##PLEASE READ FIRST## Posting a new extension to the community
Mifare Classic & Ultralight Extension
Number Progress Extension [1.0]
Glossy Card View Extensions
[FREE] TnParse (My first extension)
Could someone give me a easy and brief description of EventDispatcher?
[Paid] [Extension] Get Apps
FileStack extension
Data Science with Charts and GoogleSheets
TMIC: App Inventor Extension for the Deployment of Image Classification Models Exported from Teachable Machine
Error while testing my extension
[Free] Responsive App Size Extension (Update V2.0)
[free] ACTIVITY STARTER HELPER to access many actions , classes and app packages
Creating an extension header
[Free] [V2] Random Password Generator Extension
WebRadio Extension
[FREE] Alarm Manager Extension (under investigation)
[Free] Color Extension
[Free] Dictionary Extension : Developing Dictionary apps made Easy!
[Free Open Source] my toast extension 3.0
[FREE] Alarm Extension
Can anyone help me create this extension?
[FREE] Miscellaneous extensions for AI2 from The K Studio
Trying to compile an extension
(under evaluation) [Free] ColorExtractor - An extension to extract colors from image
Facilitate use of bloc
VideoPlayer - Play videos from local files or URLs in an HVArrangement or Dialog
EyeLoader that creates and manages animated eye and mouth components.
[FREE] 🗄️BigDB - Advanced key-value storage with TTL, metadata, multi-table support, encryption, and more
[paid] ⭐ Text Formater Extension
Select a non-own (non)media file from anywhere on Android 11+ and get full access without SAF or MANAGE_EXTERNAL_STORAGE
[FREE] AES Encrypt/Decrypt
Set Image output from extension
Any problem with this Java
(solved)Error in math extensions
I am making an extension
How to set color to an layout in extensions
My extension is compiling but after use in app,it is showing runtime error
[FREE/Open Source] PhysicsCalculator - Extension
How to set color to an layout in extensions
Overlap View Extension: Create overlying layout
Bitcoin Price Extension
[FREE] YouTube info extension
[FREE] TelegramTools : Tools To Work With Telegram
[FREE] VpnChecker - Detect If User Is Using VPN
NPM extension question
Is there any way to get file name without downloading it?