YUI & AJAX.NET Comparison Matrix

Last post 10-17-2008 4:03 PM by ra00l. 11 replies.

Sort Posts:

  • YUI & AJAX.NET Comparison Matrix

    11-23-2007, 2:20 PM
    • Member
      point Member
    • mukeshawot
    • Member since 11-12-2007, 8:47 PM
    • Posts 7
    I have created a comparison matrix of the YUI (2.3.1) and Ajax.Net (1.0). Each one of these library is having advantages and disadvantages.  This evaluation includes extensively implementation of both of the libraries to come across the final conclusion.  I have done comparison on following categories.  1) Installation and administration procedures2) Development aspects3) Support and quality aspects I felt YUI library offers more feature and provides a balance support for Ajax requirement and for better user experience. You are invited to discuss the evaluation.

     

     

    S.No Criteria Weight Description YUI Rating AJAX .Net Rating YUI Wt. Score  AJAX Wt.  Score
    1) Installation and administration procedures
    1 Packaging and distribution 1   5 3 5 3
    2 Browser deployment 1.5 Client side implementation requirement 4 4 6 6
    3 Cross platform compatibility 0.5 Compatibility with multiple server technologies 5 1 2.5 0.5
        3       13.5 9.5
      Average Rating 4.5 3.16667
                   
    2) Development aspects
    4 Richness of API 3 Availability of different class library and functions 4 3 12 9
    5 Event model 3 Event handling, customization 4 2 12 6
    6 Cross-browser compatibility 2 Different browser support 3 3 6 6
    7 Download size to client 2 Size of library downloaded at client side, Compression, minifying 3 3 6 6
    8 Security 1.5 Cross site scripting, parsing js 3 3 4.5 4.5
    9 User experience improvement 3 Client side performance & user experience improvements 4 3 12 9
    10 Availability of web widgets 2.5 Availability of different controls 4 4 10 10
    11 Extensibility 2.5 Support to extend existing control property like  replacing namespace, extending to make it different browser compatible 4 4 10 10
    12 Scalability 2 Scalable to handle parallel requests 4 3 8 6
    13 Patch/Upgrade process 2 Segregation of custom code from standard library code to upgrade the library 4 4 8 8
    14 Data Formats and CSS 1 XML, CSS, JSON support 4 4 4 4
    15 Logging/debugging 1 Logging and debugging in development environment 4 3 4 3
    16 Development environment 0.5 Support and integration with development environment ( ex visual studio) 3 4 1.5 2
    17 Graceful degradation for JavaScript support 0.5 Client side javascript unavailability 3 3 1.5 1.5
    18 Integration with development frameworks 1 Integration with different development frameworks 4 4 4 4
        27.5       103.5 89
      Average Rating 3.763636 3.23636
                   
    3) Support and quality aspects
    19 Support contracts 2.5   4 4 10 10
    20 Maturity of framework  2 Are there any breaking changes in different versions? 3 4 6 8
    21 Release frequency (Stability) 1 Version released and future release plan 3 4 3 4
    22 Availability of documentation 1.5   4 4 6 6
    23 Examples 1.5   3 4 4.5 6
    24 Third-party resources 1   3 4 3 4
    9.5 32.5 38
      Average Rating 40       3.421053 4
      Overall Average Rating 3.7375 3.41
    Ratings (example):
     
    1)      Poor – framework implements the feature poorly.
    2)      Below Average – Framework barely support the feature, but it is sub-par is almost every aspect.
    3)      Average – Framework supports the feature.
    4)      Very Good – Some of the implementation aspects are outstanding.
    5)      Excellent – Most of the implementation aspects are outstanding.
     
    Total Weight = 50

  • Re: YUI & AJAX.NET Comparison Matrix

    11-24-2007, 12:31 AM
    • Star
      13,533 point Star
    • gt1329a
    • Member since 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,231
    • ASPInsiders
      TrustedFriends-MVPs

    Why treat them as mutually exclusive things?  Use MS AJAX for the communication layer, where it's strongest, and use YUI (or another presentational framework) for your client side chrome. 

    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Using jQuery validation with ASP.NET WebForms
  • Re: YUI & AJAX.NET Comparison Matrix

    11-24-2007, 11:11 AM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,368

    hello.

    yes, I agree with gt1329a (man, what's your name? I'm assuming it's not gt..., right? :) )

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
  • Re: YUI & AJAX.NET Comparison Matrix

    11-24-2007, 12:42 PM
    • Star
      13,533 point Star
    • gt1329a
    • Member since 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,231
    • ASPInsiders
      TrustedFriends-MVPs

    As much as I use this user name, I should probably just change it to gt, but my name's Dave.

    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Using jQuery validation with ASP.NET WebForms
  • Re: YUI & AJAX.NET Comparison Matrix

    11-26-2007, 11:12 AM
    • Member
      point Member
    • mukeshawot
    • Member since 11-12-2007, 8:47 PM
    • Posts 7

    Hi gt1329a

    I was reading we should not mix AJAX.NET and YUI library. Both libraries provides communication library. So will not able to identify the exact problem.

     

  • Re: YUI & AJAX.NET Comparison Matrix

    11-26-2007, 12:20 PM
    • Star
      13,533 point Star
    • gt1329a
    • Member since 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,231
    • ASPInsiders
      TrustedFriends-MVPs

    I haven't had any trouble mixing ASP.NET AJAX with other AJAX frameworks that also provide communication functions.  I use jQuery for presentation in almost all of my ASP.NET AJAX sites.

    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Using jQuery validation with ASP.NET WebForms
  • Re: YUI & AJAX.NET Comparison Matrix

    11-26-2007, 1:36 PM
    • Member
      point Member
    • mukeshawot
    • Member since 11-12-2007, 8:47 PM
    • Posts 7

    Have you ever use AJAX.NET and YUI in same applicaton.

  • Re: YUI & AJAX.NET Comparison Matrix

    11-26-2007, 1:43 PM
    • Star
      13,533 point Star
    • gt1329a
    • Member since 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,231
    • ASPInsiders
      TrustedFriends-MVPs

    Yeah.  I didn't run into any trouble. 

    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Using jQuery validation with ASP.NET WebForms
  • Re: YUI & AJAX.NET Comparison Matrix

    11-27-2007, 2:28 PM
    • Member
      point Member
    • mukeshawot
    • Member since 11-12-2007, 8:47 PM
    • Posts 7

     Did you implement AJAX.Net and YUI on same page? I tried with one sample I was getting error in page post back. I was not able to resolve the problem.  I removed AJAX.Net from that page and application then it was working fine. Even I was reading a post on the same line. Please see the link. http://forums.asp.net/p/1047608/1473125.aspx#1473125

  • Re: YUI & AJAX.NET Comparison Matrix

    11-27-2007, 9:39 PM
    Answer
    • Star
      13,533 point Star
    • gt1329a
    • Member since 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,231
    • ASPInsiders
      TrustedFriends-MVPs

    Yes.  I believe I just made sure not to include the connection.js library from YUI.  It wasn't necessary for the UI effects that I used.  It and ASP.NET AJAX both trapping the XmlHttpRequest status changes is probably what would cause trouble using them together.

    I've since moved on to mainly using jQuery for client side effects, so I'm not sure if more recent changes to YUI have made it harder to integrate.  It should work fine though, as long as you're just using DOM effects. 

    Encosia - ASP.NET, jQuery, AJAX, and more.

    Latest article: Using jQuery validation with ASP.NET WebForms
  • Re: YUI & AJAX.NET Comparison Matrix

    11-28-2007, 12:48 PM
    • Member
      point Member
    • mukeshawot
    • Member since 11-12-2007, 8:47 PM
    • Posts 7

    I am agreeing with you that we should not mix AJAX.Net and connection manager. I was also facing the same problem.

    We can use YUI for Dom effects and for rich UI. And for asynchronous call we can use Ajax.Net framework. It will give us a optimum solution.

    The only drawback I can think is the performance issue. We might end up downloading js files from both libraries. It will affect performance. We can always add expiry tag in our page to come around this problem.

     

  • Re: YUI & AJAX.NET Comparison Matrix

    10-17-2008, 4:03 PM
    • Member
      296 point Member
    • ra00l
    • Member since 08-30-2007, 2:18 PM
    • bucharest, romania
    • Posts 23

     Hi guys,

     Nice to see you're interested in YUI. I have recently started to play around with YUI, and ended up writing some web controls for ASP.NET which use YUI on client side.

    So far, I didn't had  any conflicts between them. If you're curious, you can checkout the control at http://www.yui-asp.net

    Hope this helps,

    Raul

    Filed under:
Page 1 of 1 (12 items)