Plusgter

Welcome to the documentation for the Plugster framework! Plugster is a small jQuery-dependent framework for building client-side widgets for websites and applications.

Whether you are building a simple website or a complex web application, Plugster provides a powerful and flexible framework that can help you achieve your goals. In the following sections, we will provide an overview of the framework and show you how to get started using it in your own projects.

Motivation

When we started developing Plugster, we were looking for a simple JavaScript framework that would allow us to:

  • Separate our JavaScript code from our HTML code, making it easier to maintain and develop both.
  • Avoid using the $ shortcut in every JavaScript file to access DOM elements by holding them in the _ plugster property and binding them on page load. This helps to keep our JavaScript code more modular and easier to read.
  • Connect different Plugsters (client-side widgets) together as needed using events. This makes it easy to build complex web applications that are responsive and interactive, without the need for messy and complicated code.

Additionally, we looked at some state-of-the-art frameworks, but they lacked some of these features in one way or another and tended to have a very restrictive MVC model. We love being able to use any type of model in our client-side code (mainly JSON responses from RESTful APIs), and we also need to be able to manipulate those models from within our code directly and ultimately decide how to present the model data to the clients using any available browser-supported component or element available in the market.

Content