TinyPortal

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

Title: Store pre-includes in php array instead of in database
Post by: forumside on June 06, 2016, 03: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, 03: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, 03: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, 04:23:52 PM
well at this time there are no plans to change from how they are done.