phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC|Merged] No db storage of stylesheets and templates

These requests for comments have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby nickvergessen » Tue Oct 11, 2011 12:01 pm

We also have now 10+ requests to the server, as every file is grabbed by his own, and not just one style.php
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby VSE+ » Wed Oct 12, 2011 5:26 am

Why not just make 1 stylesheet, and have it clearly delineated by comments to separate the bidi, colors, common, links, etc etc...?

/**************** Colours *****************/
all your colors css here

/****************Common*****************/
all your common css here

Just never go back to style.php... (see: viewtopic.php?f=108&t=41537&start=10#p229801)
User avatar
VSE+
Registered User
 
Posts: 208
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby Arty » Wed Oct 12, 2011 6:12 pm

I'm with VSE+ on that one. All text editors have search function, so separating theme into many css files isn't necessary.
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 796
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby naderman » Wed Oct 12, 2011 7:45 pm

I agree. Is this going to cause major problems for MODs or styles in any way?
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1650
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby Arty » Wed Oct 12, 2011 10:01 pm

It will only make things easier because users won't have to search many css files to find a selector. Mods will only have to change whatever.css to stylesheet.css in instructions.
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 796
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby nickvergessen » Wed Oct 12, 2011 10:02 pm

I'd say not more than it does anyway (removing imagesets)
But when we merge it ALL mods having css will be broken.
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby naderman » Wed Oct 12, 2011 11:03 pm

Well I suppose the advantages outweigh the cost here, so who's going to write the patch? :)
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1650
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby nickvergessen » Wed Oct 12, 2011 11:31 pm

Again, like on the removing of imagesets, the patch should contain a script, so it's easier for style authors to do the same?
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby naderman » Wed Oct 12, 2011 11:45 pm

Not sure if you need a script to concatenate a few files?
www.naderman.de
Move your forum to Forumatic - we'll take care of maintenance & spam
User avatar
naderman
Development Team Leader
Development Team Leader
 
Posts: 1650
Joined: Sun Jan 11, 2004 2:11 am
Location: Karlsruhe, Germany

Re: [RFC|Merged] No db storage of stylesheets and templates

Postby callumacrae » Thu Oct 13, 2011 5:36 am

naderman wrote:Not sure if you need a script to concatenate a few files?

That's what I read it as.

EDIT: I read your post wrong >_<
"In JavaScript, there is a beautiful, elegant, highly expressive language that is buried under a steaming pile of good intentions and blunders"
—Douglas Crockford

View my MOD, phpBB Mobile
User avatar
callumacrae
Website Team
Website Team
 
Posts: 883
Joined: Tue Apr 27, 2010 9:37 am
Location: England

Previous Next

Return to [3.1/Ascraeus] Merged RFCs

Who is online

Users browsing this forum: No registered users and 7 guests