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

  • SEARCH
  • Home
  • 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 6635123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:00:43+00:00 2026-05-25T23:00:43+00:00

I have a project that has a ridiculous amount of customization required. As such,

  • 0

I have a project that has a ridiculous amount of customization required.

As such, I am looking for a way that will be the fastest (or near fastest) at runtime and also be rock solid stable to save a variable number of customized fields.

For instance:

The two locations save the same 2 data fields.

At location #1, the two fields must be returned in number_format($num, 3) format while at location #2 those same two fields are text fields with no formatting required.

I am trying to find the best (as defined above) way to save/retrieve the format of these fields.

As of right now I am leaning towards saving in XML and serialize(), but during run-time, to optimize for speed, I would only be polling the serialize() data. This approach would alleviate my concerns about data corruption in the serialize() data as I can manually parse the data in the XML doc if necessary.

NOTE: I am just concerned with the formatting/style/etc of how to
manipulate the fields for viewing, NOT the actual storing of the data
in those fields.

I personally would rather not have to save this customization data as raw files on the server, since that is what a database is for and each location’s customization data would be rather small (at most 40-50 fields).

  • 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-05-25T23:00:44+00:00Added an answer on May 25, 2026 at 11:00 pm

    Serialized values are not that easy to read (and edit) by humans compared to XML. However tools exist to parse serialized data, like the Serialized PHP library.

    On the other hand, serialized values can be easily read back into variables, much easier than with XML. For XML You would need to create a “serializer” that is able to convert variables to XML and back. There is one in PEAR (XML_Serializer), another XML Serializer is available in Symfony2 as well.

    Normally it’s wise to not create a database inside a dabase. If you need to, ensure you can easily change that later on w/o changing your application design too much.

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

Sidebar

Related Questions

I have this project that has a set price for a certain amount of
I have a project that has code which will communicate with a python script
I have a project that has several build configurations (FREE version, male-only, female-only, etc.).
I have a project that has a GUI (written in QT) and a command-line
I have a project that has components in several different directories and would like
We have a project that has been built in Flash and as3. It is
My use case is this... I have a project that has two production branches.
I have a client project that has posts assigned to their country of origin.
I have a maven project that has a set of library dependancies that are
I have created a project that uses scala that has some abstract classes definitions

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.