Architectural Outline #2
tellyworth
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Brief outline and architectural ideas
This repo is intended as a PoC and possible MVP of a sort of "universal importer" for WordPress.
It is built as a WordPress plugin, but otherwise is intended to be written in such a way that it could be used in several contexts such as:
The idea is to have a common "universal" framework for migrating site-to-site. Individual modules would support various types of source input handlers (HTML, RSS, WXR, various export formats); and various types of output handlers (pages, posts, blocks, media files, products, navigation, and so on).
This is all very rough and I expect it will change rapidly as I start experimenting with code and test cases.
Main Concepts
Some of the main pieces I see in the architecture are:
This could well be done on top of the existing WP_Importer class. The idea is to do a similar job, but incorporate transformation steps at both the input and output stages.
PoC/MVP Goal
The minimum viable pieces for something usable would be:
Expectations
This is experimental code and ideas. It is not intended to conform to the same coding standards as finished production code, WP core, etc.
Once the initial experiments have settled down into something more stable, it could be moved to a WordPress repo.
Beta Was this translation helpful? Give feedback.
All reactions