TinyPortal

Development => Feedback => Topic started by: forumside on June 06, 2016, 10:22:01 PM

Title: Store pre-includes in php array instead of in database
Post by: forumside on June 06, 2016, 10:22:01 PM
I think it will be better to store TP integrate_pre_include all include files list not in smf settings table, but in simple php array. So server will do less mysql queries and fetching all settings query will take less memory.
Title: Re: Store pre-includes in php array instead of in database
Post by: illori on June 06, 2016, 10:25:29 PM
why should we stop using SMF's hook system? this is why it was made.
Title: Re: Store pre-includes in php array instead of in database
Post by: forumside on June 06, 2016, 10:55:33 PM
Ok, I understand SMF did their hooks for easy integration of various mods and bridges.
But in some cases it is too general and not always optimal way.
So I think it this specific point it will be much better to do it different way.
Title: Re: Store pre-includes in php array instead of in database
Post by: illori on June 06, 2016, 11:23:52 PM
well at this time there are no plans to change from how they are done.