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

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 https://blog.jsecademy.com/naming-conventions-in-programming/

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

23 Likes
NFC - my third extension [FREE]
Text Tools Extension
[Free] Telegram Bot API Extension
Guide for beginner Extension Developers
[Free]CustomProgressView - Create Animated Progress View
Extension creating doubt
Responsive - Make App Responsive In Different Devices [Extension] [PAID]
[F/OS] my toast extension-V 3.0
BulkSmsSender - Send Bulk SMS From Your App [Extension] [PAID]
[Paid] SmoothMenuBar - New way for creating Bottom or Top Menu
[Free] Extract Links Extension - My first Extension!
App Launcher Extension(FREE)
Closed For Reselling the extension!
Keyword Searcher (My Second Extension)
[F/OS] Temperature Converter Extension (My first Extension)
[FREE] Circular Animation Extension
[FREE] Accessibility Tools - Perform Back, Home and Recents
[FREE] ScanView -ZxingView Version 2- Extension
[FREE] V2 Updated Secured Countdown Timer Extension Unhackable
[FREE] V2 Updated Secured Countdown Timer Extension Unhackable
[Paid] Mobile DTH Recharge Electricity Gas Bill Payment For India Extension
How can I implement Error Handling Event in IDE
[Free / Open-Source] Number Formatting - my first extension! version 3.0
Simple android settings extension{free}
[Free] Responsive Text Components Maker
[Extension] To Get PI Value In Evaluated Form
RandomQuotes Extension - An Extension for generating all types of quotes
[PAID] ScratchIT - Create Scratch card with Image
Need Some Beta Testers for my upcoming Extension
[PAID] LikeeVideoDownloader - Download Likee Videos without Watermark
How can i fix this error
[Free]My new simple background color animate extension
[FREE] Animated Gradient Background/Animated Your Background [Version - 1]
Launch Tool Extension tool to work with activity starter[F/OS]
[F/OS] my Sharex extension V:3.0
[F/OS] my toast extension-V 3.0
[PAID] Resize Image Online In RealTime
[F/OS] my toast extension-V 3.0

Nice guide @Taifun

2 Likes