Tagged articles
Midway
31 articles · Page 1 of 1
Node.js web frameworks have evolved from lightweight tools like Express to enterprise solutions such as Nest and Midway, and now to front‑end‑focused platforms like Next.js, with modern designs emphasizing modularity, type safety, serverless support, and developer‑friendly hooks that bridge front‑end and back‑end development.
ExpressKoaMidway
0 likes · 9 min read

This article traces the evolution of Node.js web frameworks—from early lightweight options like Express and Koa, through enterprise‑grade solutions such as Egg and Midway, to modern front‑end‑oriented stacks like Next.js and Nuxt.js—highlighting their features, trade‑offs, and the progressive design principles behind Alibaba’s Midway framework.
Frontend IntegrationMidwayNode.js
0 likes · 11 min read

This article traces the evolution of Node.js web frameworks—from early lightweight options like Express and Koa, through enterprise‑grade solutions such as Egg and Midway, to modern front‑end‑oriented stacks like Next.js and Nuxt.js—highlighting their features, trade‑offs, and the progressive design principles that enable seamless full‑stack development.
BackendMidwayWeb Framework
0 likes · 10 min read

This guide explains how to install, configure, and use Midway 3.x's info component to expose application details, customize the info route, hide sensitive data, and access diagnostic APIs for deeper backend insight.
BackendInfo ComponentMidway
0 likes · 4 min read

The article describes Vivo’s plugin management platform for activity components, built with a Midway Node.js backend, Vue.js frontend, and MySQL, which automates component extraction, Markdown documentation, GitLab hook‑driven NPM package retrieval, and AST‑based export parsing to provide a reusable library that has already saved over 20 person‑days of development effort.
GitLabMidwayNode.js
0 likes · 25 min read

Midway 3.0 was officially released on January 20, 2022, introducing multi‑version documentation, a clarified tech stack for standard, serverless, and integration projects, a redesigned API syntax with zero‑API calls, enhanced operators, Prisma ORM support, a new full‑stack suite, and a lightweight request SDK for both Node.js and browser environments.
APIBackendMidway
0 likes · 11 min read

The 8.11 Midway face‑to‑face livestream recap highlights a year of componentization, serverless evolution, progressive design, new mini‑program cloud development, Vercel support, GitHub Actions, code generation, and the preview of Midway 3.x, outlining the framework's roadmap and community contributions.
MidwayNode.jscloud-native
0 likes · 8 min read

Midway 2.0 introduces a runtime‑based Hook system, removes compiler constraints, enables faster startup under 2 seconds, supports code reuse, new middleware models, flexible configuration via midway.config.ts, enhanced testing utilities, and broader deployment scenarios including web servers, all backed by open‑source Vite and Prisma integrations.
ConfigurationMidwayNode.js
0 likes · 12 min read

Learn step‑by‑step how to install Midway’s Prometheus plugin, configure Docker‑based Prometheus and Grafana, expose metrics from a Node.js app, and visualize them in Grafana dashboards, enabling effective monitoring and operations for your services.
DockerGrafanaMidway
0 likes · 7 min read

Midway Serverless 2.0 (codenamed “Hercules”) revamps the original framework with unified decorators, a modern CLI, faster Vite‑based builds, enhanced testing, and seamless integration of traditional web frameworks, delivering a smoother, more efficient serverless development experience.
CLIMidwaybackend development
0 likes · 10 min read

This article reviews Midway's 2020 Serverless rollout, detailing how strong/weak dependency analysis, traffic‑model estimation, and multi‑layer traffic control were combined to achieve ten‑fold scale growth and robust stability for Node.js Serverless services across Alibaba's businesses.
MidwayNode.jsdependency analysis
0 likes · 8 min read

This article details how Alibaba's Taobao ecosystem leveraged Node.js Serverless and the Midway Serverless framework during the 2020 Double‑11 shopping festival to achieve massive QPS growth, improve development efficiency, ensure high availability, and provide a scalable, cloud‑native front‑end solution.
Alibaba CloudMidwayNode.js
0 likes · 9 min read

This article details how Alibaba’s Taobao front‑end team leveraged Node.js Serverless on Alibaba Cloud to handle up to 50,000 QPS during the 2020 Double 11 event, improving development efficiency, scaling capabilities, and operational reliability through the Midway Serverless framework and related tooling.
AlibabaCloud FunctionsDouble 11
0 likes · 9 min read

This article introduces Midway's lightweight, dependency‑free Swagger component that leverages the framework’s own decorators to generate Swagger‑compatible JSON, explains its advantages and limitations, showcases code examples for multi‑scenario service injection, details recent configuration refactoring that speeds up local development, and highlights new request‑parameter decorators for richer API documentation.
API DocumentationConfigurationMidway
0 likes · 7 min read

This article introduces Midway Serverless, a new cloud‑native Node.js framework that brings React‑like Hooks to serverless development, explains Alibaba's Serverless landscape, details the framework’s toolchain, architecture and standards, showcases its functional R&D, API‑free calls, progressive development features, and shares performance results and future plans.
Functional DevelopmentMidwayNode.js
0 likes · 16 min read

This article details the Midway Serverless framework's cloud‑native, React‑Hooks‑inspired approach to backend development, covering Alibaba's Node.js serverless landscape, the framework's architecture, new integrated development model, functional R&D features, and future open‑source plans.
MidwayNode.jscloud-native
0 likes · 17 min read

This talk walks through Alibaba's Node.js Serverless landscape, introduces the Midway Serverless framework and its new cloud‑integrated development model, and details its functional R&D, hook‑based APIs, performance optimizations, and real‑world adoption, highlighting future open‑source plans.
MidwayNode.jscloud-native
0 likes · 16 min read

This article explains Midway Serverless's core capabilities, design principles, anti‑corrosion architecture, toolchain, and migration workflow, showing how a single codebase can run unchanged across multiple cloud platforms while simplifying legacy application transition to serverless environments.
Cloud FunctionsMidwayMulti-cloud
0 likes · 12 min read

This article introduces Midway Serverless, explains its background in the serverless trend, details its architecture, directory structure, toolchain, dependency‑injection mechanism, anti‑corruption layer, lifecycle hooks, and how it enables seamless migration of traditional Node.js applications to multiple cloud platforms with minimal code changes.
Function-as-a-ServiceMidwayNode.js
0 likes · 11 min read

Midway Serverless v1.0 introduces a universal anti‑corruption layer that lets traditional EggJS applications be deployed to various cloud platforms with minimal code changes, offering a unified runtime adaptation, migration workflow, and outlining its advantages, limitations, and usage example.
Cloud MigrationEggJSMidway
0 likes · 5 min read

This article explains how Alibaba's Midway Serverless framework reduces server and governance costs by up to 70%, accelerates front‑end development and deployment, and addresses the benefits, challenges, and operational impacts of adopting a serverless, cloud‑native architecture.
Cloud Cost ReductionFrontend DevelopmentMidway
0 likes · 11 min read

Midway Serverless v1.0 introduces a cloud‑native, TypeScript‑based framework that unifies front‑end and back‑end development, simplifies platform migration, prevents vendor lock‑in, and leverages existing koa and egg ecosystems to dramatically improve development efficiency.
BackendMidwayNode.js
0 likes · 10 min read

This guide walks front‑end developers through the essential steps, tools, and best practices for using Midway FaaS to build serverless applications, highlighting four key pitfalls and how to avoid them while simplifying deployment across major cloud providers.
FaaSMidwayNode.js
0 likes · 10 min read

This guide walks front‑end developers through the major traps when adopting Alibaba’s Midway FaaS serverless framework—covering platform selection, CLI usage, code structure, local debugging, deployment configuration, and cost‑saving tips—so you can launch cloud‑native applications quickly without costly mistakes.
DevOpsFaaSMidway
0 likes · 8 min read

This talk explains the evolution of Alibaba’s internal Midway‑FaaS framework, detailing how it abstracts vendor‑specific serverless functions, introduces standardized serverless.yml, flexible runtime hooks, and TypeScript‑based development to achieve vendor lock‑in avoidance, scalability, cost efficiency, and improved developer productivity across multiple cloud platforms.
FaaSMidwayMulti-cloud
0 likes · 15 min read

This article explains how Alibaba’s internal Midway‑FaaS framework evolves serverless function architecture by addressing vendor lock‑in, enhancing flexibility, improving development efficiency with TypeScript, and extending runtime capabilities, all while enabling multi‑cloud deployment and cost‑effective operations.
FaaSMidwayMulti-cloud
0 likes · 13 min read


WecTeamDec 19, 2019 · Backend Development
This article shares practical experiences and techniques for migrating a medium‑size Koa2 project to TypeScript with Midway, covering tsconfig settings, the dangers of any, strategies using unknown, strict compiler options, type guards, assertion functions, and how to construct a concise, reusable type system for backend models.
KoaMidwayType System
0 likes · 27 min read

This article explains how to enable TypeScript’s incremental compilation feature in a Midway project by adding the "incremental": true option to tsconfig.json, demonstrates the resulting tsconfig.tsbuildinfo file, shows faster subsequent builds, and introduces the new createIncrementalProgram API introduced in TypeScript 3.6 for programmatic incremental builds.
Build OptimizationMidwayTypeScript
0 likes · 4 min read

Midway v1.0, the core framework of the MidwayJs ecosystem, introduces IoC‑based dependency injection, web‑scenario decorators, full Egg.js plugin support, and a TypeScript‑first API, offering a concise example that shows how business code can stay clean and decoupled.
IoCMidwayNode.js
0 likes · 3 min read

This article demonstrates how to replace Node.js's limited parent‑child IPC with a simple, newline‑delimited JSON protocol over TCP or file sockets using Midway 5.0, providing full‑duplex client‑server communication for arbitrary processes.
IPCMidwayNode.js
0 likes · 12 min read

This article explains common web security threats such as XSS and CSRF in a front‑end/back‑end separated architecture and demonstrates how the Midway framework provides HTML escaping, rich‑text filtering, and token‑based CSRF protection to safeguard user data and application integrity.
CSRFHTML EscapeMidway
0 likes · 13 min read
