We're thrilled to announce the arrival of Trongate MX, an exciting, stability-first JavaScript library inspired by HTMX. Trongate MX empowers developers to enjoy dynamic features without writing JavaScript, streamlining the development process and enhancing productivity. With immediate effect, Trongate MX now comes pre-installed with the Trongate framework.

Trongate MX will serve as a key component for the next iteration of Trongate Pages - our upcoming major release. We have big plans for Trongate Pages, which require HTMX-like JavaScript functionality. Although we admire HTMX for its innovation and capabilities, it lacks a few essential Trongate-specific features, and it includes several features we do not need. This led us to the decision to create Trongate MX, a library inspired by HTMX but tailored to the unique needs of the Trongate framework.

Key Features of Trongate MX

  • Seamless integration with the Trongate framework
  • HTMX-like functionality tailored for Trongate
  • Zero JavaScript coding required for complex interactions
  • Stability-focused design

Trongate MX is developed specifically for the Trongate framework, leveraging many of its built-in features out of the box. This includes seamless utilization of token-based authentication and authorization, as well as effortless interaction with other Trongate functionalities such as form validation and dynamic modal creation. Consequently, users of Trongate MX benefit from a comprehensive suite of features without the need for additional coding.

Our Vision for Trongate MX

It's important to note that Trongate MX is not intended to compete against HTMX, nor are we planning to engage in JavaScript wars. HTMX remains an excellent library, and Trongate MX serves as an alternative specifically designed for the Trongate ecosystem. Furthermore, it should be noted that Trongate MX is not associated with or endorsed by the creators of HTMX.

Our ultimate goal with Trongate MX is to use it as a critical component for the development of Trongate Pages, which we believe has the potential to become the best content management system in the PHP ecosystem. Trongate MX serves as a crucial building block in realizing this vision, enabling developers to create custom widgets easily and efficiently.

Getting Started

To help you get started with Trongate MX, we've created a comprehensive YouTube series that walks you through its features and implementation. You can find the playlist on YouTube here: Trongate MX Tutorial Series.

UPDATE: Here's another tutorial that covers the topic of how to work with dynamical modals and animations using Trongate MX: Dynamic modals & animations with Trongate MX

For more detailed guidance, comprehensive documentation is available to help you navigate the features and usage of Trongate MX. You can access the documentation here: Trongate MX Documentation.

We're excited to see what you'll build with Trongate MX and how it will enhance your development experience within the Trongate framework. Happy coding!