Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts

    what frameworks do you use?

    Hello everybody.

    I'd like to hear what frameworks you use and feel to suggest ?


    thanks for sharing.

  • #2
    Regular Coder ohgod's Avatar
    Join Date
    Jun 2008
    Location
    Ohio
    Posts
    579
    Thanks
    6
    Thanked 69 Times in 69 Posts
    i use prototype with scriptaculous and Prototype Window. Between the 3 it makes everything from ui to ajax a snap.

    That said, I'm biased because I have yet to use most of the others (yui, jquery, etc).

  • #3
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,292
    Thanks
    10
    Thanked 583 Times in 564 Posts
    i used to use them, i like the architecture of Prototype.
    but they all have too much bloat and incompatibilities as a result.

    i recommend making your own from scratch.
    you learn a lot about javascript and various browsers by doing so.


    here is the basis of most of my apps:

    Code:
    if (!Array.prototype.map) {// from http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:map
    Array.prototype.map = function (fun) {var len = this.length;if (typeof fun != "function") {throw new TypeError;}var res = new Array(len);var thisp = arguments[1];for (var i = 0; i < len; i++) {if (i in this) {res[i] = fun.call(thisp, this[i], i, this);}}return res;};}
    
    if (!Array.prototype.filter) { //from  http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:filter
    Array.prototype.filter = function (fun) {var len = this.length;if (typeof fun != "function") {throw new TypeError;}var res = new Array;var thisp = arguments[1];for (var i = 0; i < len; i++) {if (i in this) {var val = this[i];if (fun.call(thisp, val, i, this)) {res.push(val);}}}return res;};}
    
    function el(tid) {if (tid.nodeName) {return tid;}return el._ts[tid] || (el._ts[tid] = 
    document.getElementById(tid));}el._ts={};
    rarely do i need much else in the way of stock code.
    if you don't know about Array.map, you owe it to yourself to check it out.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #4
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts
    prototype is pretty ok , i found it has very nice methods, jquery is ugly i have never seen a more mutilated piece of javascript and aside all its stupid slow, fast methods that have plague the internet..

  • #5
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    any jquery fan ??

  • #6
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Quote Originally Posted by kejo View Post
    any jquery fan ??
    http://docs.jquery.com/Sites_Using_jQuery


    I started out with my own (having become very proficient with js), but later tried on YUI for size for a while.
    I ultimately found jQuery to be a better option, due to its intuitive, selector-based syntax and it's now my default framework/mindset for any project with enough js to make using a framework worthwhile.
    Last edited by Bill Posters; 11-12-2008 at 06:09 PM.

  • #7
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    what didnt you like of yui ?

  • #8
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    It wasn't that I didn't like YUI, per se.
    I just felt that jQuery's level and kind of abstraction made for a smoother, quicker workflow for me, particularly given that I spent much of my (working) time nose-deep in CSS anyway.

    It seemed alien at first, but quickly came to feel more intuitive than YUI.
    I even tried add-ons for YUI which gave it support for selector-based DOM selection, but jQuery felt more robust.

    The chainability is also very appealing.

  • #9
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    what plugin/features are you using more out of jquery ?

  • #10
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Quote Originally Posted by kejo View Post
    what plugin/features are you using more out of jquery ?
    Of those I do use, 'easing' is possibly the most frequent.

    However, I find that I can achieve most of the techniques I'm inclined to use without the need for additional plugins - which, for many simple taks, only serve to bloat the code. After all, plugins only really serve to supply an API/abstracted front-end for tasks which can all be achieved using the main jQuery library (combined with some good, ol' W3C DOM-scripting and js core), but which might make the techniques more approachable (packagable) for those without a good understanding of DOM logic.

  • #11
    New Coder
    Join Date
    Aug 2008
    Location
    Colfax, California USA
    Posts
    64
    Thanks
    3
    Thanked 5 Times in 5 Posts
    I use prototype, the available functions and options are huge, and I use it along side script.aculo.us which is the best effects library, it offers a lot more than just static effects and very specific options, slider, controls, builder and transition effects on the effects! Very cool.

    Plus prototype is only 47kb compress and i think around 30kb gzipped. Not the smallest, I know, but a lot smaller than people think, and is totally worth the extra 15kb.
    Last edited by rhinodog8; 11-13-2008 at 03:31 AM.

  • #12
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    rhinodog8 have you tried jquery ?

  • #13
    New Coder
    Join Date
    Nov 2008
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i prefere mootools, but i used jquery too.

  • #14
    New Coder
    Join Date
    Jan 2008
    Posts
    31
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hip_hop_x View Post
    i prefere mootools, but i used jquery too.
    can you explain us why you moved from jquery to mootools?

  • #15
    Regular Coder
    Join Date
    Aug 2008
    Location
    Northern Ireland
    Posts
    167
    Thanks
    12
    Thanked 6 Times in 6 Posts
    Interesting thread - someone told me jQuery is by far the best and I had no reason to doubt them, so I have started learning/using it.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •