Goodbye DEF_*


Subject: Goodbye DEF_*
I just wanted to write a small topic about DEF_* files from the old (but still good) mod Category Hierarchy.

I didn't know where to post it, because the Off Topics section is not for Icy Phoenix... while this topic is Icy Phoenix related... so if I have posted in the wrong forum, please moderators move this topic :LOL: (just kidding of course!).

Well, I'll go straight to the point.

DEF_* files in CH mod are responsible for caching some basics data requested in almost all pages, allowing the system to requests these data directly from cache instead of querying each time the DB. Of course these files should speed up things for highly traficated boards.

The authors decided to place them into the include folder (with CHMOD 666) because phpBB 2 doesn't have an SQL cache.

Since CH in Icy Phoenix is highly modified since its first release, and since Icy Phoenix does have a complex cache system, I have finally decided to remove two (among the three) DEF_* files (the ones for themes and words censor) and reorganize a little bit the third (and most important) one.

The only DEF_* file still in Icy Phoenix is now DEF_TREE and it is responsible for caching important information about the forum index. That file is so important because in phpBB 2 categories, forums, topics and posts tables were not optimized for big boards with many forums and users. This file allows a great gain in speed when viewing forum index or some category / subforum.

phpBB 3 has been totally recoded regarding forums and topics structure (also phpBB 3 has SQL cache): in phpBB 3 tables there are now much more information which reduce the need to use JOIN queries (or queries among several tables), and this is a great improve for any forum or subforum page.

In Icy Phoenix I still don't use the full new phpBB 3 structure for forums and categories, but I do for topics and posts. The objective is to recode even forums and categories tables, but that will be for another future version, not the one still in development.

Back on topic... Icy Phoenix now uses only the cache folder for all things that need to be cached, and many cache settings are now available both in ACP and in constants.php. Icy Phoenix caching system is really complex, but it showed to work fine even in some highly traficated sites, so after months of testing I'm quite happy with it.

I think that the current cache system will be the definitive one for current development version. So after having fixed the bugs in the next coming beta, I will go for RC and then final release.

You don't have to bother anymore about those nasty DEF_* files in include folder... :mricy:

Subject: Re: Goodbye DEF_*
thank you for this nice offtopic post :mrgreen:

i was asking my what happend to def_themes , why there are not id-s anymore... now i know answer :wink:

Subject: Re: Goodbye DEF_*
Topic locked! Kidding. :LOL:

That sounds great MG! It looks like we're still on track like you wanted. :)

Subject: Re: Goodbye DEF_*
thanks luca

this sounds like Icy is going to be faster when a rocket then.

allready jumping around nervously waiting for final release

Subject: Re: Goodbye DEF_*
Well that saves me a great deal of headaches when using extreme styles....

nice on

thanks

:mrgreen: :mrgreen:

Subject: Re: Goodbye DEF_*
DWho wrote: [View Post]
Well that saves me a great deal of headaches when using extreme styles....

That bug was solved months ago... :P

Subject: Re: Goodbye DEF_*
is that the add tpl filenames in html bug well not a bug more of an inconvenience when adding or new themes or post...

:mrgreen: :mrgreen:

Subject: Re: Goodbye DEF_*
Yes... precisely... I can't remember when I fixed it, maybe 5 months ago... anyway it is fixed in the latest beta. :P

Subject: Re: Goodbye DEF_*
Fantastic your the man... coolp


:mrgreen: :mrgreen:

Subject: Re: Goodbye DEF_*
Thank you for this nice topic and information. :mricy:

It's sounds great.

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9281s (PHP: 2% SQL: 98%)
SQL queries: 17 - Debug Off - GZIP Enabled