processing XML and CI - Best practice - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: processing XML and CI - Best practice (/showthread.php?tid=13565) |
processing XML and CI - Best practice - El Forum - 11-27-2008 [eluser]Spir[/eluser] Hi. I'm willing to use CI for an app I'm building. In this app I'll have to parse some XML to feed a page with data (so no DDB here). So I will grab my XML file, parse it using simle XML and manage it (CRUD). I was wondering where I should do that. in models? I'm not sure but I think it's the best way. Any recommandation? processing XML and CI - Best practice - El Forum - 11-27-2008 [eluser]xwero[/eluser] XML is data and data is manipulated by models, so your idea is good IMO. processing XML and CI - Best practice - El Forum - 11-27-2008 [eluser]Phil Sturgeon[/eluser] Agreed. Models are for handling all kinds of stored data, not just database tables. |