
igorw wrote:I have moved jQuery to the bottom of the page. This however means that we cannot use jQuery in any in-line javascript and that we have to stick all of our JavaScript into one huge file.
That trade-off works for me, it forces us to take a clean approach to our JavaScript and properly rewrite any of the existing code. We might want to consider some kind of compilation/concatenation though, because sticking everything in one file is kind of cumbersome in development.
Thoughts?
naderman wrote:It'd probably be nice to have a minification & concatenation process for JS code anyway. But I'm not sure if there is anything wrong with having a large(would it really be large?) file of JS rather than js code in the middle of the HTML.


Oleg wrote:One file is not required with js in footer any more than it is required with js in header. Page-specific js goes in the footer after the jquery include.

nickvergessen wrote:Oleg wrote:So basically we offer no guarantees of js compatibility in patch releases?
Well, we had one patch release so far and I hope we dont ever get another one. And I'd say yes, we may ship it with an outdated jQuery in that case.
naderman wrote:It'd probably be nice to have a minification & concatenation process for JS code anyway. But I'm not sure if there is anything wrong with having a large(would it really be large?) file of JS rather than js code in the middle of the HTML.


Oleg wrote:Lastly, I would absolutely love for someone with an interest in jquery making it into phpbb to go over changelogs of recent jquery releases and figure out how often they break compatibility in minor and major versions, and how likely that is going to be a problem for us if we adopt the policy mentioned above of always updating jquery to the latest released version, even in our minor releases.


naderman wrote:Backward compatability between which kinds of versions are you talking about? 1.6.x or 1.x?

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