tencent cloud

Feedback

Overview

Last updated: 2024-12-02 19:27:44
    Note:
    Malagu is a third-party development tool with no Tencent Cloud official support unavailable currently. If you have any questions or feedback, please go to the Malagu community for discussion and contribution by using issues.

    Malagu Overview

    Aka the M framework, Malagu is a serverless-first, componentized, platform-independent progressive application framework based on TypeScript. It uses the same programming language and IoC design to develop frontend, backend, and frontend/backend integrated applications. It combines object-oriented programming (OOP), aspect-oriented programming (AOP), and other elements and draws on many design ideas of Spring Boot.
    On the backend, Malagu abstracts a set of APIs to facilitate adaptation to any platforms (SCF, AWS Lambda, Vercel, etc.) and basic frameworks (Express, Koa, Fastify, etc.). It is an upper-layer framework independent of such platforms and basic frameworks.
    In serverless scenarios, Malagu is used to develop projects by application. An application generally includes multiple APIs. If the application is large, it should be split into small micro-applications or micro-services. Just like the principle of granularity breakdown in the microservice architecture, reasonable granularity breakdown enables better application management. The framework will guarantee the execution performance of one application in one function.
    For more information, please see Malagu Framework.

    Malagu Architecture Diagram

    
    
    

    Why Malagu?

    How to Use Malagu

    The Malagu framework consists of a series of components, each of which is a node module. You can choose the appropriate components according to your business scenario. You can also develop your own components based on the component mechanism. For the convenience of fast development, Malagu provides a command line tool that has built-in out-of-the-box templates for different use cases. You can quickly create your applications through the command line tool.
    1. Run the following commands to install the relevant command line tool.
    $ npm install -g @malagu/cli # Install Malagu command line tool
    $ malagu init project-name # Use the `malagu init` command to select a template and initialize a template application
    $ cd project-name # Enter the root directory of the application
    $ malagu serve # Start the application. The default port is 3000
    2. Open a browser and access http://localhost:3000/.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support