Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13378] Ti API: Define a formal module naming convention

GitHub Issuen/a
TypeStory
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsn/a
ReporterBryan Hughes
AssigneeUnknown
Created2013-04-04T21:07:21.000+0000
Updated2018-02-28T20:03:52.000+0000

Description

The naming scheme we have for modules is rather inconsistent at the moment. as an example, we have Ti.Mapping and Facebook, but they should follow the same convention. Should we prefix things with Ti or not? Should we use a dot as a separate, or should we use the CommonJS/AMD pattern of slashes? Should we prepend Ti, and if so under what conditions? These questions and more should be formalized in a naming guide document. There are also some technical considerations on some of the platforms, and this could require some changes to them.

Comments

No comments

JSON Source