Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7945661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:56:10+00:00 2026-06-04T00:56:10+00:00

Here is the scenario … We have a custom CMS built by a 3rd

  • 0

Here is the scenario … We have a custom CMS built by a 3rd party … We dont have direct access to the DB but the content can be exported to an XML file or accessed via API calls.

I need to build a micro site and I want to know which is better (overall) … To build the site using the XML with all of the stories (less than 700Kb) and having to parse it when I need to display the news list (title, excerpt, date, byline) and then again when a user wants to see the complete story…. Or make individual calls via an API that gives me the story list in one call and the story in another call (via the story id).

Which is best? I see two things happening here. The XML file needs to be updated with a separate process when new content is added. That is automatically pulled with the API approach. However, using an XML has its benefits because I can use a caching system to serve the file from memory. I can also cache API calls to benefit from recurrent request to the API.

What are your thoughts in this? What do you suggest?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:56:12+00:00Added an answer on June 4, 2026 at 12:56 am

    If the API returns sufficient information for your needs, that would be recommended over using XML as a data store which is likely a bad idea in terms of performance.

    If the file is not too huge and you read more than write you could also choose to use var_export to store your data as native PHP data structure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm hoping that i'm simply overlooking something simple. But here the scenario. I have
we have a (in our oppinion) very simple scenario here. But we got stuck
I know how to write tab host,but here the scenario is little bit different
Here's my scenario - I have an SSIS job that depends on another prior
Here is the scenario that I have. I have a cvs repository in one
Here's the scenario: You have a Windows server that users remotely connect to via
Here's the scenario: I have a textbox and a button on a web page.
I have a rather odd scenario here, hoping someone might have some insight. I
I am new to design patterns and I have a scenario here. I am
Here is the scenario: I have 1 master page and web-forms in that master

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.