Trestles is an experiment in developing a single-page application (SPA) without using the popular JavaScript and CSS frameworks such as Angular, React, Knockout, Bootstrap, or even jQuery!
The purpose is both as a learning exercise and a study in the pros and cons of using popular frameworks. In the past several years I've built many apps and websites using these libraries. Often they are a blessing, but sometimes they are a curse. I've been witness to an entire generation of young programmers who don't actually know how to program JavaScript. They only know how to use the framework flavor of the month.
Ever wondered how a client-side router works? Or what jQuery actually does when it makes an AJAX call? Or how Bootstrap displays a modal dialog? All of those questions and more will hopefully be answered in the form of a well-documented sample application.
To prove the idea I'll be creating a SPA that mimics all the UI elements of a popular chat app such as Skype™, capable of running on Cordova, Electron, mobile and/or desktop browsers, but in pure JavaScript. Will the result be insanely fast JavaScript or copious amounts of boilerplate code? Who knows? Only time will tell.
I believe in the "release early, release often" mantra. The current state of the project is 'conception'.
I would encourage anyone interested to star the project and follow the progress as I chip away at it and report the lessons learned.
The MIT License (MIT)
Copyright (c) 2017, Jacob Slusser, https://github.com/jacobslusser
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.