Snippets | Nomads | Projects | Applications
Nomads | Philosophy | Index
NoMAD Code:
- No-Modification Code Modules
NoMAD Philosophy:
- Nomadic Cultures, because of their mobile nature, have learned to be selective about what they carry with them - with high value placed on simple, reliable and multi-purpose use. Which is not to say they don't also have a great appreciation for beautiful design, for certainly they do!
Taking this as our inspiration, the NoMAD Code philosophy strives to develop, test, and streamline code in order to build efficient reusable, and multi-use modules that can enhance efficient design, implementation and upgrading.
The Programming concept of "Modular Design" is nothing new, but the implementation is often, well, not-exactly modular - seemingly more theory than practice.
The idea behind NoMAD Code Design is to be actually modular in practice: written to a more structured standard, which is saved and shared using internally-complete modules. This produces code which can be more reliably implemented and accessed from outside the module--
without any modifications required.
At first glance, this might seem to be problematic, introducing unnecessary bulk which takes longer to write, however in practice, being able to rely on ready-built, tested methods, using standardized code-modules, eliminates much custom-made code. Custom code, being less tested, is often more prone to problems and requires trouble-shooting, patches and work-arounds... adding bulk and wasting time.
A typical NoMAD Package may involve several files.
Particularly those made for web development, which require multiple languages such as CSS, PHP and JavaScript.
NoMAD code is designed to meet several expectations:
- More complete structure, allowing flexible application
- Methods are non-singular in application, using variables instead of assumed values - often taking variable parameters
- Clearly defined Call-Back function structures, allow custom use of results - outside the module.
- Backward Compatible design methodologies, encourage improvement of the code and reliable implementation.
- Version Control -- when a problem or more efficient solution is found:
- NoMAD source should be updated with a new (backward compatible) version
- or a fork generated.
- Modifications needed for a specific implementation should either be completely external, or produce an updated or forked version.
- Variable and function names which are unlikely to conflict with code outside of the module.
- User-Feedback and
- Bug-Reporting
(And, nobody is perfect so there is always room for improvement...)
If you haven't figured it out yet, this is one of the driving forces behind the creation of {Snippets Pub}: to allow collaborative development of NoMAD Code packages and make sharing them easy.