

Oleg wrote:so you can possibly help with that or poke Nils.
Oleg wrote:Extension ordering. Which order does extension finder return files in? Looks like this is not documented, and possibly not even defined.
# Table: 'phpbb_ext'
CREATE TABLE phpbb_ext (
ext_name varchar(255) DEFAULT '' NOT NULL,
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
ext_state text NOT NULL,
UNIQUE ext_name (ext_name)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;Oleg wrote:Some template hooks are style-specific, some are not (i.e. they should be invoked for all styles, they are providing sitewide markup). Specifying style name over and over in hooks is suboptimal, but currently the template engine does not know which style it is rendering.
Oleg wrote:Should we compile extensions' templates when core templates are compiled, or when templates are executed?
Oleg wrote:don't really have a design even so much as some rough ideas about going about getting it designed.
rxu wrote:As we can see, it does not have ext_id column. I'd suggest to create that to be able to sort extensions by id. Why is it needed? Imagine you have 2 or more extensions which exploit the same hook. Having id, we can 1) state what extension would overwrite previous ones results if needed, and 2) the order of extensions were installed (for example, for debugging purposes/etc). Probably, there're some more pros with the id.
So, generally, my suggestion is to sort by id. As for the order id is assigned, I assume it's the same PHP reads files from directory, that means "The entries are returned in the order in which they are stored by the filesystem."



Return to [3.1/Ascraeus] Merged RFCs
Users browsing this forum: No registered users and 10 guests