Welcome Guest, Not a member yet? Register   Sign In
processing XML and CI - Best practice
#1

[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?
#2

[eluser]xwero[/eluser]
XML is data and data is manipulated by models, so your idea is good IMO.
#3

[eluser]Phil Sturgeon[/eluser]
Agreed. Models are for handling all kinds of stored data, not just database tables.




Theme © iAndrew 2016 - Forum software by © MyBB