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.

Introduction to Trongate MX

Trongate MX empowers you to build modern, highly interactive web applications with minimal coding. Acting as the perfect companion to the Trongate PHP framework, it bridges the gap between server-side development and modern front-end development.

Key Features

Trongate MX is a JavaScript library for developers who don't like writing JavaScript! Here's what sets it apart from other JavaScript libraries that you may have heard of:

  • Seamless integration: Works flawlessly with the Trongate PHP framework.
  • Comprehensive HTTP support: Handles GET, POST, PUT, DELETE, and PATCH methods effortlessly.
  • Dynamic DOM manipulation: Enables smooth content swapping and advanced updates.
  • Built-in modal handling: Simplifies the creation and management of modal dialogs.
  • Form submission and validation: Streamlines error handling and feedback for form inputs.
  • Stateful animations: Adds visual polish with animations for success and error states.
  • Polling and event throttling: Reduces resource load while maintaining responsiveness.
  • Enhanced navigation: Pushes URLs for better browser history and navigation support.
  • Secure by design: Includes support for authentication, authorization, and CSRF protection.

Getting Started

Trongate MX comes pre-installed with the Trongate framework, meaning you can dive right in without additional setup. It's designed to help you add powerful, dynamic behaviors to your web pages with just a few well-placed attributes - no need to write heaps of JavaScript.

In the next sections, you'll learn how to:

  • Use Trongate MX attributes for dynamic behaviors.
  • Handle user input with form validation and error feedback.
  • Create responsive, interactive UI components in record time.

Whether you're building a lightweight website or a feature-rich application, Trongate MX equips you with the tools to create interactive, server-driven interfaces efficiently, letting you focus on what matters - building something amazing.

×