Retrieve content via JSON, use WP as a hull for displaying it
-
Hey!
I am possibly trying to do something very special and I am not yet sure I am on the right track, so feel free to overthrow everything.I will be building a website for mainly showing events, enable filtering those and display specific ones by the categories and event type you chose. So far that can be done quite well with WordPress and Custom Post Types. The special basis for this project is, that WordPress will not save the data.
I am working with a company who is specialised in providing databases for storing content with XML markup to keep the data output neutral and things like those. As their strength is not in frontend design and functionality WordPress is the tool of choice for doing that part of the work.
They will provide a JSON API/an interface to retrieve all possible and needed data from their database but I am not sure whether I should store that data in the WordPress database or not.
My main concerns are things like synching the WP database with theirs (you could handle that, I am sure), copying uploaded files from their servers to mine etc. pp.
So I thought I would just query their database, retrieve all information, “build” the page I want to output and cache the whole HTML output on my server. In that way I would just have to check their database for the latest changes and rebuild those pages. But I really wonder how to do the last part without generating “real pages” in WordPress and caching them afterwards.
This is not yet planned totally and there will be talks with the database guys soon, but I′d like to make my mind up on those things before and I stumble about this specific way to do it. Maybe it′s not the best way after all for performance reasons and whatever, but in my mind I′m like “let them handle the data, you care about the looks”.
Any ideas on this?
Thanks!
Kind regards
Florian
- The topic ‘Retrieve content via JSON, use WP as a hull for displaying it’ is closed to new replies.