Mobile Development 22 min read

App Factory Transformation: Converting a Mature Platform App into a Scalable Mobile App Factory

This article explains the background, goals, and step‑by‑step methodology for refactoring a mature mobile platform app into an App Factory that supports rapid, modular development of innovative independent apps through systematic decoupling, middleware management, and automated engineering pipelines.

58 Tech
58 Tech
58 Tech
App Factory Transformation: Converting a Mature Platform App into a Scalable Mobile App Factory

Background and Goal – In the highly competitive mobile internet market, companies create app matrices to quickly launch vertical‑domain apps and capture traffic. Transforming a mature platform app into an App Factory enables efficient, low‑cost production of innovative apps while reducing the high trial‑and‑error cost of monolithic platforms.

How to Achieve the Goal – The process starts with establishing an App Factory guidance framework, then incrementally refactoring the platform app based on concrete business needs, such as independent app development or vertical‑business cross‑platform development.

Implementation Steps – 1) Create an entry project that aggregates Pods from the engineering pool; 2) Build a custom business Pod for each innovative app, containing UI, logic, and SDK configurations; 3) Decouple middleware by extracting required base and business modules from the platform app; 4) Clearly define decoupling requirements and prioritize tasks; 5) Choose appropriate decoupling techniques (protocol‑based abstraction, IOC, feature sinking, code duplication).

Decoupling Techniques – Protocol construction abstracts dependencies via runtime APIs, custom routing, categories, or explicit protocols; IOC pattern injects dependencies through a container; Feature sinking moves shared functionality to lower‑level modules; Code variant generation duplicates simple utilities when necessary.

Ensuring Middleware Stability – A coupling‑detection tool scans Pods for illegal references and alerts the team, while code‑review processes enforce dependency rules such as “upper layers may depend on lower layers, but not vice‑versa.”

Expanding Decoupling Scope and Automation – Continuous identification of needed middleware for new apps, automated generation of entry projects, and future backend support for one‑click app creation further improve iteration speed and quality.

Conclusion – The App Factory framework gradually converts a mature platform app into a modular, reusable architecture that accelerates innovative app development, reduces coupling, and supports large‑scale mobile product lines such as 58招聘, 58二手车, and 58租房.

Mobile DevelopmentiOSmodularizationAndroidMiddlewareDecouplingApp Factory
58 Tech
Written by

58 Tech

Official tech channel of 58, a platform for tech innovation, sharing, and communication.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.