Trongate MX
Documentation

Help Improve Our Docs

If you’ve found an error, spotted something missing, or feel a section could be clearer or better explained, we’d love to hear from you. Your feedback helps keep the documentation accurate and useful for everyone.

Please report issues or suggest improvements on GitHub. Community input is invaluable in making the docs stronger.

Not comfortable with GitHub? No problem — you can also get in touch with us directly via our contact form. We welcome all feedback.

Frequently Asked Questions

What is Trongate MX?

Trongate MX is a powerful front-end framework that turns simple HTML attributes into sophisticated web functionality. It's designed specifically for the Trongate PHP framework, allowing you to create dynamic, interactive web applications without writing JavaScript code.

Think of it as your bridge between static HTML and modern web applications. By adding straightforward attributes to your HTML elements, you can handle form submissions, update content dynamically, trigger success and error animations, manage modals, implement authentication, and create rich user experiences - all while maintaining clean, maintainable HTML code.

Why was Trongate MX built?

In today's fast-paced world of web development, there is an increasing demand for web applications to deliver the responsiveness and fluidity typically seen in native software.

Before the introduction of Trongate MX, PHP developers faced a tough choice: they could either:

  1. Ignore modern front-end development trends.
  2. Master a complex JavaScript framework.
  3. Write large amounts of custom JavaScript code.

None of these options were ideal.

Trongate MX was built to solve this challenge. With Trongate MX, developers can produce sophisticated, dynamic front-end interactions without having to write any JavaScript code!

What technical problem does Trongate MX solve?

The Trongate PHP framework is written in PHP, a server-side technology. Unfortunately, PHP frameworks have limitations when it comes to supporting sophisticated front-end web development tasks, primarily due to their server-side nature.

Trongate MX solves this by enabling the creation of real-time, dynamic web experiences without relying on heavy JavaScript frameworks or excessive custom JavaScript code. With Trongate MX, you can:

  • Create modern, interactive applications without writing JavaScript code.
  • Save time and avoid headaches from extensive front-end development.
  • Bypass the complexities, bloat, and rewrite culture that are an unfortunate norm for developers who have to work with large JavaScript frameworks.

In short, it lets you deliver cutting-edge front-end functionality while keeping your codebase clean and efficient.

How does Trongate MX fit into the broader Trongate ecosystem?

Trongate MX is a game changer for both Trongate developers and also for the makers of Trongate.

FOR DEVELOPERS

The addition of Trongate MX changes "Trongate" from a PHP framework to a cohesive ecosystem for building modern web applications. The idea of having a complete modern web development suite that has no third-party dependencies and prioritises stability is a rarity. It might even be an industry first!

FOR THE MAKERS OF TRONGATE

Trongate MX gives the makers of Trongate an opportunity to push the boundaries of what's possible for the Trongate ecosystem. The plan, moving forward, is to use Trongate MX to build an exciting assortment of intellectual assets that other PHP frameworks simply cannot offer.

Is Trongate MX open-source?

Absolutely! Trongate MX is fully open-source and released under the MIT License. You're free to use it in personal and commercial projects alike.

Can I use Trongate MX without using the Trongate (PHP) framework?

Yes, you can. Technically, all you need is to include the Trongate MX JavaScript file on your web pages, and you're good to go.

However, using it without the Trongate PHP framework means missing out on features like; dynamic modal building, token authorisation, CSRF protection, advanced animations and more.

Are there any plans for additional features in future versions?

Like the Trongate PHP framework, Trongate MX will be subjected to ongoing, continuous improvement. However, adding more features to Trongate MX is not the primary focus for the makers of Trongate.

Moving forward, the focus will be on creating groundbreaking tools using Trongate MX. For example, work has already begun on an exciting new content management system (built using Trongate MX), scheduled for release in the spring of 2025.

When that's ready, it'll be shipped with Trongate - free of charge.

How can I contribute to the development of Trongate MX?

Since Trongate MX is bundled with the Trongate framework, any contributions to the ecosystem are welcome. Feel free to submit a pull request via our GitHub repository:

https://github.com/trongate/trongate-framework

×