Skip to content

An extended version of Handlebars.js with built-in two-way data binding functionality, GuardRails.js offers enhanced feedback and control for your dynamic HTML templates. This fork provides a robust framework for creating interactive and responsive web applications, ensuring your data and UI stay in sync effortlessly.

License

Notifications You must be signed in to change notification settings

SparkInnovationsCorp/GuardRailsJs

 
 

Repository files navigation

Sure! Here’s a README for GuardRails:


GuardRails

GuardRails is a forked version of Handlebars.js with the primary goal of supporting two-way data binding. This extension provides additional functionality while maintaining the simplicity and efficiency of Handlebars.

Introduction

Handlebars.js is a popular templating engine known for its simplicity and power. However, it lacks built-in support for two-way data binding, which is essential for many modern web applications. GuardRails aims to bridge this gap by incorporating two-way binding capabilities into Handlebars, making it more versatile for dynamic applications.

Features

  • Two-Way Data Binding: Automatically sync data between the model and the view, enabling more interactive and dynamic user interfaces.
  • Enhanced Functionality: Additional helper functions and features to extend the core capabilities of Handlebars.
  • Backward Compatibility: Maintains compatibility with existing Handlebars templates, allowing for a seamless transition.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Handlebars License Statement

Copyright (C) 2011-2019 by Yehuda Katz

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.

GuardRails License Statement

Additional code incorporated into Handlebars to develop GuardRails is
copyright (C) 2024 by Jason Bramble. Permission is hereby granted, free of
charge, to any person obtaining a copy of this modified and supplemented code
and associated documentation files (the "Modified Software"), to deal in the
Modified Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Modified Software, and to permit persons to whom the Modified 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 Modified Software.

THE MODIFIED 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
MODIFIED SOFTWARE OR THE USE OR OTHER DEALINGS IN THE MODIFIED SOFTWARE.

Contributing

We welcome contributions from the community. Please read our CONTRIBUTING.md file for more information on how to get involved.

Acknowledgments

  • Thanks to Yehuda Katz and the contributors of Handlebars.js for creating and maintaining such a robust templating engine.

About

An extended version of Handlebars.js with built-in two-way data binding functionality, GuardRails.js offers enhanced feedback and control for your dynamic HTML templates. This fork provides a robust framework for creating interactive and responsive web applications, ensuring your data and UI stay in sync effortlessly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.0%
  • HTML 2.1%
  • TypeScript 2.1%
  • Shell 0.5%
  • Ruby 0.2%
  • Mustache 0.1%