• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
processing XML and CI - Best practice


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?

XML is data and data is manipulated by models, so your idea is good IMO.

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.