myPatterns/JS:
the custom notations library for JavaScript
myPatterns/JS is the library providing custom notations for matching
data structures in JavaScript programs. This gives you the ability to:
- use predefined notations: With virtually no initial
training, myPatterns/JS simply allows you to use
JSON patterns
for matching lists/arrays and structures/objects, that is
recognizing and decomposing data in one step.
- define new notations: If you are willing to invest just a
bit more in learning about myPatterns/JS, you can override these
predefined notations with your own notations, for specific objects
of your choice, by simply redefining one method of those objects.
In AJAX applications, predefined or custom patterns can also be used
to extract data from sequences of values, more concisely than an
equivalent Select/From/Where query.
More advanced features include active patterns support, which allows
matching objects without exposing their internal structure.
pointers
terms
myPatterns/JS is distributed under
the LGPL licence
(version 3).
If you need professional services around myPatterns/JS (training,
consulting, technical support, and more), please
contact us.