Wiris

Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathType
                      • Technical documentation
                      • MathType for HTML editors
                      • Integration architecture

                      MathType integrations architecture

                      Reading time: 2min

                      MathType integrations are built on a modular architecture that separates the editor integration (frontend) from the processing and rendering logic (services). Understanding this architecture helps you choose the right deployment model and configuration for your needs.

                      Clipboard01.jpg

                      The three-layer architecture

                      MathType integrations follow a three-layer architecture:

                      1. Integration frontend (client-side).
                      2. Integration services (server-side or cloud).
                      3. MathType editor services (core processing layer).

                      These components work together to enable formula editing, rendering, accessibility generation, and storage within web-based editors. This architecture is designed to:

                      • Decouple UI integration from processing logic.
                      • Support both cloud and on-premises deployments.
                      • Allow flexible configuration depending on infrastructure needs.

                      Integration frontend

                      The part that runs in the browser and connects MathType to the editor (TinyMCE, CKEditor, Froala, and others).

                      Integration services

                      Middleware that processes requests between the frontend and MathType editor services.

                      MathType editor services

                      Core MathType services responsible for formula processing and rendering tasks, such as:

                      • Formula rendering.
                      • Accessibility generation.
                      • Math processing.
                      • Editor functionality.

                      These services are hosted by default in the MathType cloud, but can also be self-hosted with the appropriate license.

                      The frontend integration is configured to work with MathType cloud services by default. Most customers will find these service settings sufficient. Only customers who need specific infrastructure, security, or deployment requirements should consider self-hosting services.

                      How the components interact

                      Stage 1: Integration frontend (client-side)

                      The frontend integration is a JavaScript component embedded into the editor. It is responsible for:

                      • Adding MathType and ChemType buttons to the toolbar.
                      • Opening the MathType editor interface.
                      • Sending requests to integration services.
                      • Inserting and editing formulas within the editor content.

                      By default, the frontend connects to MathType cloud services.

                      Stage 2: Integration services (middleware layer)

                      Integration services act as a bridge between the frontend and MathType editor services. They:

                      • Receive requests from the frontend.
                      • Call MathType editor services.
                      • Transform and return responses to the frontend.

                      These services are available in Java and PHP and can be hosted either in the cloud or on your own infrastructure.

                      Stage 3: MathType editor services (core processing)

                      This is the core layer that handles:

                      • Rendering formulas.
                      • Generating accessible representations.
                      • Processing mathematical input.

                      These services are hosted by default in the MathType cloud, but can also be deployed on-premises with the appropriate license.

                      Stage 4: End-to-end flow

                      A typical formula lifecycle works as follows:

                      1. User clicks the MathType button in the editor.
                      2. The frontend opens the MathType editor.
                      3. Integration services communicate with MathType editor services.
                      4. The user creates or edits a formula.
                      5. The formula is processed and rendered.
                      6. The result is returned to the frontend.
                      7. The formula is inserted into the editor content.

                      Deployment models

                      MathType integrations support several deployment models depending on your infrastructure and security requirements. The most common deployment models are:

                      • Default cloud deployment.
                      • Self-hosted Integration Services.
                      • Fully self-hosted deployment.

                      Each model offers a different balance between operational simplicity, customization, and infrastructure control. For a detailed comparison of deployment options, see MathType integrations deployment models.

                      Frontend vs Integration Services responsibilities

                      In all deployment models, the frontend is responsible for editor interaction, while services handle formula processing, rendering, storage, and other backend responsibilities. The following table summarizes where different configuration options are applied:

                      MathType Editor services location

                      Integration frontend

                      Integration services

                      Proxy configuration

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      Formula image storage (cache) location

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      Content storage format

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      Image rendering format

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      Cross-domain adjustments

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      Performance

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      MathType editor modal window properties

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg

                      MathType editor (GUI)

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg(1)

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg(1)

                      MathType editor services properties

                      png-transparent-door-organization-tick-cross-angle-logo-business.png

                      262-2627516_clipart-cross-tick-green-tick-png-icon.jpeg(2)

                      Key differences

                      Frontend handles

                      • Toolbar configuration.
                      • Editor UI behavior.
                      • Basic GUI properties.

                      Integration services handle

                      • Formula rendering format.
                      • Content storage format.
                      • Image caching and storage location.
                      • Proxy and cross-domain configuration.
                      • Performance optimization.

                      Common Misunderstandings

                      MathType is just a frontend plugin

                      The frontend is only one part of the system. Rendering, storage, and processing depend on backend services.

                      All configurations can be done in the editor

                      Many important settings, such as rendering, storage, caching, and performance, are configurable only through integration services.

                      Related Concepts

                      • MathType integrations deployment models.
                      • Deploy Integration Services with PHP.
                      • Deploy Integration Services with Java.
                      • Configure Integration Services.
                      • Integration Services parameters.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • MathType for Moodle
                      • MathType Add-in for Microsoft 365
                      • Equation conversion process from MathType 7 to MathType Add-in for Microsoft 365

                      MathType integrations architecture

                      The three-layer architecture Integration frontend Integration services MathType editor services How the components interact Stage 1: Integration frontend (client-side) Stage 2: Integration services (middleware layer) Stage 3: MathType editor services (core processing) Stage 4: End-to-end flow Deployment models Frontend vs Integration Services responsibilities Key differences Frontend handles Integration services handle Common Misunderstandings MathType is just a frontend plugin All configurations can be done in the editor Related Concepts

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand