Introducing mochaJS!
It's all about the javascript library...
Don't you just love when development time runs out of control? I mean WAY past the time in which you thought you'd be done with it?
But, as a free, open-source project, I think I can afford to indulge myself in doing it just the way I want...
This brings me to the subject: javascript. I decided the CMS should have a kick-ass javascript library, so not too long ago, I got down to the task of building it out, and it's coming along swimmingly.
Like the rest of mocha, mochaJS will be completely free and open-source- and here's the kicker: you don't need the rest of the CMS to use the javascript. You can deploy it on any site. It's completely unobtrusive, and there will be versions for both the DOM-compliant crowd and Internet Explorer. This means less code running in either instance, easier hacking of the code, easier maintainability, and graceful degradation.
Let me also mention that it's good, clean, traditional scripting. One impetus behind doing this, aside from wanting my own library for my own content management system, was that the many frameworks/libraries out there try too hard, I think, to reinvent the wheel, resulting in a lot of obscure javascript coding, if you want to hack on them, not to mention the odd calls to functions. And why, pray tell, are we adding symbols to function calls? You can have eye-candy and useful features without making things awkward.
Well, really, just to use the functions I'm writing, you don't even need to write a line of script. Not ONE. All you need is some semantically marked-up HTML, and there will be documentation declaring which classnames correspond to which functions. It's very, very simple. And the code is well-structured and well-documented, though there will likely also be file versions with all comments and white space removed for efficiencey, though honestly, even with the white space and commenting, the file sizes are pretty small.
If things keep their current pace, all of mocha should be rolled and ready for release by New Year's Eve. I think...
Comments:
No comments yet