Locked Posted December 10, 2009 Share Posted December 10, 2009 After looking through some google results i decided to ask the question here. I will be using the database to store all user information and will be relaying on it heavily, the only thing that i would be using xml for is to store language packs. Im just wondering what your experience is with language packs, is it better to store it in a database or xml? i know each has their own pros and cons such as a database would perform better (According to google results) and xml will be easier to get translated (Send the xml file to the translator). Link to comment https://forums.phpfreaks.com/topic/184611-xml-or-database/ Share on other sites More sharing options...
448191 Posted December 10, 2009 Share Posted December 10, 2009 How about both? Use a database but allow import/export. But if I may suggest, use a standard format. That doesn't have to be XML either. I would suggest Gettext, because it has tools available for all platforms. For a short overview of some of your options, check out the docs for Zend_Translate_Adapter: http://framework.zend.com/manual/en/zend.translate.adapter.html Link to comment https://forums.phpfreaks.com/topic/184611-xml-or-database/#findComment-974607 Share on other sites More sharing options...
Locked Posted December 10, 2009 Author Share Posted December 10, 2009 Hey thanks, the page was a good read even if it was short Most use full read all day. Link to comment https://forums.phpfreaks.com/topic/184611-xml-or-database/#findComment-974608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.