Welcome Guest, Not a member yet? Register   Sign In
Where to put data logic not related with database?
#1
Question 

I am retrieving data from files (with library), then parsing it (with ?) and then saving parsed data into database (with model). I want this three steps separated. Where should I put parser?

Models in CodeIgniter are binded with database tables ($table variable is mandatory) and libraries should be used for common things, not for a specific jobs. I was thinking models should be used for working with any data, not only for database related things. But binding models with tables confusing me. Thank you for your suggestions.
Reply


Messages In This Thread
Where to put data logic not related with database? - by Muzikant - 07-12-2023, 04:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB