![]() |
Any developers up? Questions about XML
Working on a project. It will have about 1,500-2,000 separate entries with about 10 fields per entry. There won't be a huge amount of queries at first but scalability is a concern for the future. XML is a necessity.
1. Should I go with an XML file or a Database? 1a. Straight XML or MySql with XML export? 2. Anyone want to give me any advice or pointers on the way that you would do it. |
1) Save data in your MySQL
2) Cache your xml file |
1) You have got to be kidding.
2) You need more experience; If I were you, I'd start reading up on database design. |
Need more information before we can give you a suggestion. The nature of the data sounds like it's tabular in nature. Why is XML required? Data are data.
|
Quote:
|
Quote:
1. No I'm not kidding. 2. You have no clue how much experience I have with MySQL. I don't know much about XML. I am still learning. 3. You didn't answer my question. You contributed zero. So why waste your time? You'll never get those 2 minutes of your life back. |
Quote:
|
Quote:
|
I would store the data in the database, then assuming you have an ORM approach, have a to_xml method that will convert the record object into xml.
|
Quote:
So I take it you were just born with the ability to design databases? You didn't learn right? God you are fucking moronic. |
Pipe delimited text files. That's the way to go :winkwink:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Use your database and user other sites XML feeds.
only use xml from your DB if your providing for widgets or API's |
rss2xml.php3
|
Quote:
|
Quote:
1. If its same, go with any SQL data base 2. If its differnt then go with a XML data base (I personaly use MS SQL 2008 and its XML support) Jay |
Quote:
|
All times are GMT -7. The time now is 02:32 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123