1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Less javascript?

Discussion in 'General XenForo Discussion and Feedback' started by borbole, Jul 30, 2010.

  1. borbole

    borbole Well-Known Member


    First let me congratulate on your work as the forums looks very nice. I have liked it what I have seen so far with the minor exception of javascript usage. It looks like it is used for almost everything. I hope you didn''t mind me saying that :)
  2. Rhydian

    Rhydian Active Member

    Well since browsers are taking alot less time to load javascript and its easy to compress files to make sites load even faster I don't see such a big issue, if I'm right in saying that the forum will also work with javascript turned off. There is alot used but is it too much? I'm not sure as of yet.
  3. feldon30

    feldon30 Well-Known Member

    xenForo makes excellent use of jQuery. I like all the touches. And as Rhydian said, all the major web browsers are optimizing the heck out of JavaScript.

    Is anyone out there really running their browser with JavaScript totally disabled? I mean, it completely breaks the web. We're at the tail end of the transition from flat, static pages, to JavaScript powered pages (I hate to use the term Web 2.0 but it's applicable). In another 1-3 years, web browsing will be impossible without JS.
    jmurrayhead likes this.
  4. Onimua

    Onimua Well-Known Member

    Nothing wrong with that as long as it's used intelligently, which it is here.

    If you're worried about browsers that don't have JS, the forum works fine without it too. :)
  5. Eric J.

    Eric J. Well-Known Member

    I like the little spots of JS everywhere too. It really makes it feel more lively and interactive.
  6. Cezz

    Cezz Well-Known Member

    But not with xenForo because if you do have JS disable EVERYTHING still works... :D
  7. Eric J.

    Eric J. Well-Known Member

    Offtopic: It's worth noting that even in IE the site looks great, the only thing missing being the rounded borders and the drop shadows.
    Ceri May likes this.
  8. Cezz

    Cezz Well-Known Member

    And that just shows how awesome this team are :D - Maybe they can implement http://css3pie.com/ and then will even have round corners and drop-shadows in IE :D
  9. Mike

    Mike XenForo Developer Staff Member

    We did actually play with it. It just caused a lot more problems.
  10. Cezz

    Cezz Well-Known Member

    Ahhh fair enough :) it is good to know you guys looked at all avenue's at-least :D - it is quiet client heavy as standard I found...
  11. Kier

    Kier XenForo Developer Staff Member

    Certainly don't mind you saying it, but I'm struggling to find a reason why enhancing the browsing experience with Javascript (which is what we do, we do not rely upon it) is a bad thing?
  12. Shamil

    Shamil Well-Known Member

    What I think borbole was getting worried about was reliance on JavaScript, but as you said, we don't rely on it, but use it to enhance experience.
  13. Eric J.

    Eric J. Well-Known Member

    Seems to me like he just feels that it's overused, when actually, it's implemented just right as to not draw too much attention to movement but enough to keep you awake when you don't have your coffee. o.o
  14. Floren

    Floren Well-Known Member

    Welcome to the forums, borbole. :)

    I'm curious, why do you think the extensive usage of Javascript would be an issue?
    To my knowledge, every modern web application makes usage of JS at 75%+, into options/features. JS is so popular that Facebook decided to release their own FBJS, allowing developers to implement it easy into their applications. Plus, being client oriented, JS does not affect at all the server performance, letting your browser to do all hard work. :)

    Even if I think like a developer, I enjoy all the cool things you can do with JS, at the expense of few KB of data cached by your browser. I only see advantages to it, honestly.

    Oups, I just saw Kier's post. :)
    jmurrayhead likes this.
  15. Floris

    Floris Guest

    It's not. As long as there is fallback for those (for core functionality) .. which xf does. So it's all good.
  16. Enigma

    Enigma Well-Known Member

  17. Brandon_R

    Brandon_R Guest

    Javascript is used intelligently here. Not just thrown around. Not to mention the site is USABLE with javascript turned off and works on IE 6.
  18. borbole

    borbole Well-Known Member

    I did not mean to imply that js is a bad thing or anything like that. I meant that in my opinion was a little overused, that is all :)
  19. Floren

    Floren Well-Known Member

    Still waiting to tell me why you think is overused. :)
  20. RvG

    RvG Active Member

    I would love it more if all and everything is all js thing. :)
    jmurrayhead likes this.

Share This Page