This is a public Idea Center  publicRSS

Idea

    25 liked this

    [Under Consideration] Changing YUI to Jquery
    Idea posted March 17, 2015 by LuukMaster, last edited March 26, 2015 by DaveFExpert, tagged Customer Portal 
    1390 Views, 64 Comments
    Title:
    [Under Consideration] Changing YUI to Jquery
    User Story / Description:

    As a developer, it would be a great idea to leave the YUI code entirely. Since Yahoo stops all new development on YUI (http://yahooeng.tumblr.com/post/96098168666/important-announcement-regarding-yui).

    Are you thinking of crossing over to Jquery?

    Comment

    • Barrilito van Dijk

      Furthermore, JQuery is faster to write and more intuitive.

    • DaveF

      Great suggestions, and something we've been talking about internally. So thats two votes for jQuery. Are there any other libraries out there that readers think could be good candidates? 

    • Nisar Ahmed

      I strongly support this. jQuery is much simpler to code and more readable than YUI. There are a couple more libraries out there, but where jQuery outshines the others is the huge community that backs it up.

       

      It may be a daunting task to switch over, but I believe in the long run it will be worth it.

    • Luuk

      Hello Arun,

       

      Could you maybe like the idea (at the top of the post).

      This way Rightnow will see that more people back this idea.

       

      Regards,
      Luuk

    • Kyle
      Luuk said:

      Hello Arun,

      Could you maybe like the idea (at the top of the post).

      This way Rightnow will see that more people back this idea.

      Based on Dave's comment I think he's looking for votes on a preferred library. The Like feature has no meaningful impact on whether an idea gets adopted. There are many ideas that are ranked with the most Likes and have been requested for years and they still just sit here in the Idea Lab.

    • DaveF
      Kyle said:
      Luuk said:

      Hello Arun,

      Could you maybe like the idea (at the top of the post).

      This way Rightnow will see that more people back this idea.

      Based on Dave's comment I think he's looking for votes on a preferred library. The Like feature has no meaningful impact on whether an idea gets adopted. There are many ideas that are ranked with the most Likes and have been requested for years and they still just sit here in the Idea Lab.

      View original

      Actually, the votes are less important here (although I likely misdirected readers after referring to them specifically in an earlier post). I'm more interested in whether there are alternatives to jQuery that we should consider out there. I'm in agreement that we should be looking at this and will change the status accordingly. 

    • Kyle

      4 days and counting, Dave.

    • DaveF

      LOL - that looks tasty!

    • Barrilito van Dijk

      An idea that only is here on the forum for "just" 10 days and with only one vote at "Under Consideration" !

      Dave for President !! wink

      If Luuk falls of his chair here when he reads the news I will catch him gently guys laugh

       

    • Nisar Ahmed

      Thanks for considering it. Here's hoping that more supporters show up soon.

      Coming to alternatives, the ones that come to mind are "Prototype", "Ext", "Dojo", and "Mootools". From experience, I've found jQuery to be the most effective among them.

      @Luuk :  Not that it matters much, but I don't see any "Like" option anywhere.

    • Luuk

      @Arun: It's the smiley face right next to the topic title with the text "# like this" underneath.
       You can use that to upvote an idea.

    • Nisar Ahmed

      Yep. Got it! Thanks.

    • Shiloh Madsen

      I agree Dave, jQuery would seem to be the best framework choice out there for the system. Its intuitive, has broad adoption, and seems to do most of the jobs we want quite well. While I've heard a lot of buzz around Angular and a few of the other js libraries out there, it would seem the big win would be baking in support for the language that many of us already have an include for in the templates of the sites we manage :)

      Actually, that might get you some good metrics, maybe you could grep for the jquery libraries in the various rnt sites out there and see just how many customers are already using it as compared to the other libraries...just a thought. 

    • DaveF
       
      
      Good suggestion Shiloh. Thanks for the data point.
      
      For those of you that have already gone through the learning needed to get to CPFv3 - how upsetting would it be to have to go to a new(er) CP framework to get jQuery supported out of the box. 
      
    • Shiloh Madsen

      Potentially a huge speedbump for that one. Depending on customization, going to CP3 was a months long project as all widgets had to be examined with a magnifying glass and in many cases recoded in order to get them stood up again. If that is the main change, it might be a bit less as its likely all we would have to update is the logic.js file. 

      A lot of the pain could be mitigated by some sort of YUI-jQuery script...but that seems like a big ask. 

      Having to do a framework swap might slow existing, highly customized sites adopting, but would be wonderful for new sites. Also, as many people are already using jQuery for the bulk of their heavy lifting, it may be less challenging. From my experience, the main thing that I actually stay in YUI-land for is the event bus...just seemed better to fire events on custom code in the same way it was happening on stock code. Many other custom logic files I create are already using jQuery for the rest of the js.