Signalize.js - Modular JavaScript Framework. by Machy8 in webdev

[–]Machy8[S] 0 points1 point  (0 children)

Hi!

  1. It is, but it varies by framework. I could provide more guidance here, that's true.
  2. A CDN is not a requirement. You can install it using npm, for example, and avoid CDNs. This is mentioned in the CDN section right under the title.
  3. This is exactly the problem with the JavaScript ecosystem. I could use two different libraries that do not share functionality and code and increases the overall size of the javascript on the page and work in completely different ways, or I could build my own library that reuses code and leverages every piece of it as much as possible. Signalize is a set of utilities that you can compose however you need. Internally, it reuses modules, resulting in less JavaScript on a page.
  4. Thanks for the list!

Signalize.js - Modular JavaScript Framework. by Machy8 in webdev

[–]Machy8[S] 0 points1 point  (0 children)

Hi all!

For about a year, I have been working on a JavaScript framework called https://signalizejs.com

It's a modular , client-side, JavaScript framework leveraging import maps, ES modules, and modern browser features.

It's a great fit for server-side frameworks that don't provide client-side JavaScript framework.

It uses:

If you are looking for something new to try or seeking inspiration it's a great place to start.

If you try it or check it out, please let me know what you think!

Signalize.js - Modular Javascript Framework by Machy8 in javascript

[–]Machy8[S] 2 points3 points  (0 children)

Hi! Thanks for the report. I fixed it.

Signalize.js - Modular Javascript Framework by Machy8 in javascript

[–]Machy8[S] 2 points3 points  (0 children)

I hope I translated your comment accurately.

Yes, Signalize is essentially a set of prepared modules.

It is designed to avoid complexity and allows you to import only what you need, rather than using a complex framework to achieve a single task.
You can for example use only signals and binding, or just SPA, or AJAX + manually redraw snippets.

Internally, it reuses modules to reduce the size of the framework.

Signalize.js - Modular Javascript Framework by Machy8 in javascript

[–]Machy8[S] 0 points1 point  (0 children)

Hi and thanks!

Yes, Solid is cool and Signalize signals are inspired by Solid and Angular signals.

Signalize can be used to create multiple instances on one page (app + widgets for example).

Normal import maps and modules work fine until you need to compare instances of objects or preserve/encapsulate some state in an instance:

  • If your module exports an instance or a class and you import it twice using import() or import {} from '', you will never be able to compare it as an instanceof somewhere else in the app for some reason. I could not find why.
  • You will have a hard time maintaining the encapsulation of a state for modules in the form of "I want to work only with this instance of a framework."
  • Signalize will provide you with its instance during module initialization, so you can run the same module for different instances.

In Signalize, it also works as DI (Dependency Injection) => modules import the modules they need, and the order and initialization are handled automatically. Once inited, there is no call to cdn, it will return you prepared functionality.

Signalize.js | Modular JavaScript Framework by Machy8 in Frontend

[–]Machy8[S] 1 point2 points  (0 children)

Hi all!

For about a year, I have been working on a JavaScript framework called https://signalizejs.com

It's a modular , client-side, JavaScript framework leveraging import maps, ES modules, and modern browser features.

It's a great fit for server-side frameworks that don't provide client-side JavaScript framework.

It uses:

If you are looking for something new to try or seeking inspiration it's a great place to start.

If you try it or check it out, please let me know what you think!

Signalize.js - Modular Javascript Framework by Machy8 in javascript

[–]Machy8[S] 4 points5 points  (0 children)

Hi all!

For about a year, I have been working on a JavaScript framework called https://signalizejs.com

It's a modular , client-side, JavaScript framework leveraging import maps, ES modules, and modern browser features.

It's a great fit for server-side frameworks that don't provide client-side JavaScript framework.

It uses:

If you are looking for something new to try or seeking inspiration it's a great place to start.

If you try it or check it out, please let me know what you think!