metron. This library has a long and storied history dating all the way back to Windows Vista, during a time when I was consulting with Peirce College in Philadelphia. Peirce had several administrative needs that called for some lightweight applications. Eager to experiment, I took it upon myself to explore creating sidebar gadgets (off hours). The Windows sidebar gadgets were quirky, and were required to be small in size, so utilizing a third-party library like jQuery wasn't an option. As a result, I started to build out some convenience functions for cross-browser compatibility, including AJAX calls. Some of these functions were covered by libraries like jQuery and Scriptaculous, but again, the need was for something small and custom. It was from this that
metron was born.
When I left BDi,
metron came with me, and I had placed it on GitHub, making it Open Source. I used the library in several University of Virginia projects, and it became a solid component of the online testing system that my team rebuilt. During this time, ECMAScript began to flourish with browsers not just supporting more functionality, but many quality components being incorporated natively (such as
document.querySelector()). I also became a heavy user of TypeScript.
metron library had become small, but very useful. Furthermore, I started to become influenced by Chris Love's ideas of "use only what you need even if it means rolling your own." Love has a small jQuery replacement for DOM selection called Dollar Bill. I realized that in
metron I had a very lightweight library that carried only what I needed, and was a good tool for both mobile and desktop browser development. I also realized that I could do more with it.
Meanwhile, I built a generator off hours that output TypeScript in a pattern-based format. This too was used at UVA. I had abstracted enough into a base library that it dawned on me that a lightweight HTML5 library was forming. Once again influenced by Chris Love's recent, err… love, for "HTML native," I decided that I could improve upon my patterns a great deal to create a flexible framework for CRUD operations.
So as of this past week, I deprecated the old
metron library, and created a new library called
metron v2. This new
I'm really excited for this turn of events, as