Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| naming_conventions [2014/02/20 00:01] – yann | naming_conventions [2025/01/15 21:40] (current) – external edit 127.0.0.1 |
|---|
| In application and test project, packages follow naming conventions. | In application and test project, packages follow naming conventions. |
| |
| A test project always includes a ''aaa.bbb.TestPPP'' class, where ''aaa.bbb'' is the main package in the application project, e.g., "sad.detection.test" in ''SAD Tests'', and ''PPP'' is the name of the application project, e.g., ''SAD''. | A test project always includes a ''aaa.bbb.TestPPP'' class, where ''aaa.bbb'' is the "main" package in the application project, e.g., "sad.detection.test" in ''SAD Tests'', and ''PPP'' is the name of the application project, e.g., ''SAD''. |
| |
| A project that offer an interface to be implemented by a variety of algorithms always has a package ''aaa.bbb'' and a package ''aaa.bbb.repository''. In ''aaa.bbb'' are the interface(s) and the repository to dynamically access the algorithms at run-time. Repositories implements the interface ''util.repository.IRepository'' and are ''final''. In the ''aaa.bbb.repository'' are the algorithms implementing the interface(s). See the page dedicated to [[repositories]]. | A project that offers an interface to be implemented by a variety of algorithms always has a package ''aaa.bbb'' and a package ''aaa.bbb.repository''. In ''aaa.bbb'' are the interface(s) and the repository to dynamically access the algorithms at run-time. Repositories implement the interface ''util.repository.IRepository'' and are ''final''. In the ''aaa.bbb.repository'' are the algorithms implementing the interface(s). See the page dedicated to [[repositories]]. |