Hi Guys... I am just getting started with Prototype and am likeing it, but im a newb all the way... So i was hoping you all could share your expereinces insight on these two prodoucts... MooTools and Prototype. Id love to see several to many opinions/facts between them. Google does not return any satisfactory results on this subject. Thanks sooo much for your time Can anyone list any differences or Pros/Cons/Advantages/Disadvantages between: Prototype http://prototype.conio.net/ and Mootools http://mootools.net/download From what i see: 1. Both seem to be OO. 2. Mootools is very well documented. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Prototype is also well-documented. Just not by Sam Stevenson himself. Check out these great resources, if you haven''t already. http://www.sergiopereira.com/articles/prototype.js.html http://prototypedoc.com/ http://wiki.script.aculo.us/scriptaculous/show/Prototype I''ve never used Mootools for anything other than experimentation, but Mootools has a different overall design focus than prototype.js. It''s such a difference in design that I don''t think it''s possible to quantify a ''better'' library. Mootools is filling a more ''Swiss-Army Knife'' approach to library design. They are providing a number of smaller components to act upon numerous concepts (Transitions, Accordions, Ajax, etc). Prototype has more of a ''Improve The Javascript Language'' approach. You don''t see any accordion widgets inside prototype proper, as that function should be served by a different library or framework. Prototype is just trying to provide a normalization platform from which to build such widgets. Now, looking through the code of Mootools, it does seem like they are following good development practices and their code is fairly thorough and looks very clean. I suspect that it would be a pleasure to work with. At this point, my advice to you is for you to decide what it is you need. If you want accordion widgets and floating tool-tips, maybe Mootools is the best choice for you. If you''re like me and you want to write your own stuff and just have Prototype serve as a buffer between you and a staggering amount of browser differences, Prototype will serve you well. If you need that clever stuff and still want prototype, scriptaculous is a great prototype extension framework to provide all of that to you. And if you''re someone who really doesn''t care about working with Javascript and you just want to type a few lines of code and have things magically happen for you, maybe you''d be interested in OpenRICO. I personally don''t care for it but only because it never meets my specific design needs. The library itself isn''t half bad and they have a decent sized community behind it. OpenRICO is another prototype-based library and provides Accordion widgets and Magic Tables and stuff like that. Just find whatever works for you and be happy with it... :D Another great Prototype resource that you''ve already found is this google group. We frequently are helping people (like you) with Prototype and Scriptaculous-based problems and we are a fairly high-volume list. If you have a problem and you post it here, you can generally expect a fairly swift and extremely thorough response. Good luck! -E On 12/28/06, Stripe-man <remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Guys... I am just getting started with Prototype and am likeing it, but > im a newb all the way... > So i was hoping you all could share your expereinces insight on these two > prodoucts... > MooTools and Prototype. Id love to see several to many opinions/facts > between them. > > Google does not return any satisfactory results on this subject. > > Thanks sooo much for your time > > Can anyone list any differences or > Pros/Cons/Advantages/Disadvantages between: > > Prototype > http://prototype.conio.net/ > > and > > Mootools > http://mootools.net/download > > > From what i see: > 1. Both seem to be OO. > 2. Mootools is very well documented. > > > > >-- Eric Ryan Harrison --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks so much for your detailed reply Eric and thank you for the resources. Would it be silly to use both ? On 12/28/06, Eric Harrison <blister-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Prototype is also well-documented. Just not by Sam Stevenson himself. > > Check out these great resources, if you haven''t already. > > http://www.sergiopereira.com/articles/prototype.js.html > http://prototypedoc.com/ > http://wiki.script.aculo.us/scriptaculous/show/Prototype > > I''ve never used Mootools for anything other than experimentation, but > Mootools has a different overall design focus than prototype.js. It''s > such a difference in design that I don''t think it''s possible to > quantify a ''better'' library. > > Mootools is filling a more ''Swiss-Army Knife'' approach to library > design. They are providing a number of smaller components to act upon > numerous concepts (Transitions, Accordions, Ajax, etc). Prototype has > more of a ''Improve The Javascript Language'' approach. You don''t see > any accordion widgets inside prototype proper, as that function should > be served by a different library or framework. Prototype is just > trying to provide a normalization platform from which to build such > widgets. > > Now, looking through the code of Mootools, it does seem like they are > following good development practices and their code is fairly thorough > and looks very clean. I suspect that it would be a pleasure to work > with. > > At this point, my advice to you is for you to decide what it is you > need. If you want accordion widgets and floating tool-tips, maybe > Mootools is the best choice for you. If you''re like me and you want to > write your own stuff and just have Prototype serve as a buffer between > you and a staggering amount of browser differences, Prototype will > serve you well. > > If you need that clever stuff and still want prototype, scriptaculous > is a great prototype extension framework to provide all of that to > you. > > And if you''re someone who really doesn''t care about working with > Javascript and you just want to type a few lines of code and have > things magically happen for you, maybe you''d be interested in > OpenRICO. I personally don''t care for it but only because it never > meets my specific design needs. The library itself isn''t half bad and > they have a decent sized community behind it. OpenRICO is another > prototype-based library and provides Accordion widgets and Magic > Tables and stuff like that. > > Just find whatever works for you and be happy with it... :D > > Another great Prototype resource that you''ve already found is this > google group. We frequently are helping people (like you) with > Prototype and Scriptaculous-based problems and we are a fairly > high-volume list. If you have a problem and you post it here, you can > generally expect a fairly swift and extremely thorough response. > > Good luck! > > -E > > On 12/28/06, Stripe-man <remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi Guys... I am just getting started with Prototype and am likeing it, > but > > im a newb all the way... > > So i was hoping you all could share your expereinces insight on these > two > > prodoucts... > > MooTools and Prototype. Id love to see several to many opinions/facts > > between them. > > > > Google does not return any satisfactory results on this subject. > > > > Thanks sooo much for your time > > > > Can anyone list any differences or > > Pros/Cons/Advantages/Disadvantages between: > > > > Prototype > > http://prototype.conio.net/ > > > > and > > > > Mootools > > http://mootools.net/download > > > > > > From what i see: > > 1. Both seem to be OO. > > 2. Mootools is very well documented. > > > > > > > > > > > > -- > Eric Ryan Harrison > > > >-- "I have learned that you should''nt compare yourself to others - they are more screwed up than you think." ...unknown "In the 60''s, people took acid to make the world weird. Now the world is weird and people take Prozac to make it normal." ..unknown _____________________________ Terry Remsik stripe-man.dyndns.org remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Eric for your detailed explanation. Even I got confused of which one to take i.e Mootools or Prorotype. But your explanation above could well help me in deciding. One thing which I still wanted to learn is the basics of OO in JS, without which its impossible to understand the code written behind it. Could you let me know the good resource which would help me in understanding the concepts better. Thank you, --Phani --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Phani wrote:> Thanks Eric for your detailed explanation. Even I got confused of which > one to take i.e Mootools or Prorotype. But your explanation above could > well help me in deciding.Eric says: "Prototype has more of a ''Improve The Javascript Language'' approach." he should probably have said: "Prototype tries to make javascript look like another language." The most valuable contribution of Prototype-like frameworks is the hiding of browser vagaries. You should also search for discussions of what''s not to like in various libraries, don''t just listen to the good side.> One thing which I still wanted to learn is the basics of OO in JS, > without which its impossible to understand the code written behind it.An epiphany! Yes, learn the underlying language thoroughly otherwise you will never know what is happening "under the covers", regardless of the library you use.> Could you let me know the good resource which would help me in > understanding the concepts better.An excellent idea: <URL: http://www.crockford.com/javascript/ > A general resource: <URL: http://www.jibbering.com/faq/#FAQ3_2 > -- Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Phani wrote:> Thanks Eric for your detailed explanation. Even I got confused of which > one to take i.e Mootools or Prorotype. But your explanation above could > well help me in deciding.Before deciding, you might like to view Brendan Eich''s[1] presentation on the future of javascript: <URL: http://developer.mozilla.org/presentations/xtech2006/javascript/ > He thinks we''ll all be using JS2 within 4 years. And thoughts on which parts of Python javascript should copy: <URL: http://weblogs.mozillazine.org/roadmap/archives/2006/02/js_and_python_news.html>1. Brendan is the creator of the original LiveScript/JavaScript/ECMAScript and continues an active and senior role in browser and javascript development. -- Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On 12/29/06, Phani <phanikirankumar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks Eric for your detailed explanation. Even I got confused of which > one to take i.e Mootools or Prorotype. But your explanation above could > well help me in deciding. > > One thing which I still wanted to learn is the basics of OO in JS, > without which its impossible to understand the code written behind it. > > Could you let me know the good resource which would help me in > understanding the concepts better.There are three videos on the Yahoo! UI site worth watching <URL: http://yuiblog.com/blog/2006/11/27/video-crockford-advjs/> And the best tutorial I''ve seen on how to chain constructors and prototypes in JavaScript. <URL: http://kevlindev.com/tutorials/javascript/inheritance/index.htm> Peter -- Fork JavaScript: http://forkjavascript.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Fred and Peter for your references. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On 12/29/06, Stripe-man <remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks so much for your detailed reply Eric and thank you for the > resources. > > Would it be silly to use both ?Yes, it would be silly to use both, because prototype+scriptaculous and mootools try to do a lot of the same things. The mootools guys coded their library such that it wouldn''t conflict w/ prototype, but I wouldn''t recommend using them together if it can be helped. Just pick one foundational javascript library (whether it be prototype, jquery, mootools, dojo, mochikit, or whatever...) and go with it. And when you pick a javascript library, it''s like you''re marrying it. Although it *is* possible to use multiple foundational libraries one a single site, doing so tends to not work so well. For one thing, it introduces a lot of redundancy which is wasteful. Another annoyance is that sometimes libraries can conflict w/ each other if they''re inadvertently using the same namespace for something. ...so beware. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
HAs the idea of using Spry been nrought up? On 1/3/07, John Beppu <john.beppu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > On 12/29/06, Stripe-man <remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Thanks so much for your detailed reply Eric and thank you for the > > resources. > > > > Would it be silly to use both ? > > > > Yes, it would be silly to use both, because prototype+scriptaculous and > mootools try to do a lot of the same things. The mootools guys coded their > library such that it wouldn''t conflict w/ prototype, but I wouldn''t > recommend using them together if it can be helped. Just pick one > foundational javascript library (whether it be prototype, jquery, mootools, > dojo, mochikit, or whatever...) and go with it. > > And when you pick a javascript library, it''s like you''re marrying it. > Although it *is* possible to use multiple foundational libraries one a > single site, doing so tends to not work so well. For one thing, it > introduces a lot of redundancy which is wasteful. Another annoyance is that > sometimes libraries can conflict w/ each other if they''re inadvertently > using the same namespace for something. ...so beware. > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
WOW.. this is great input from everyone... tks so much... I think i will stick with Prototype. Thanks so much for everyone''s input and resources.... this is really a great list to belong to :) Never heard of Spry.... On 1/4/07, Sam Couch <www.mastersam.gov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > HAs the idea of using Spry been nrought up? > > On 1/3/07, John Beppu <john.beppu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > On 12/29/06, Stripe-man <remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > Thanks so much for your detailed reply Eric and thank you for the > > > resources. > > > > > > Would it be silly to use both ? > > > > > > > > Yes, it would be silly to use both, because prototype+scriptaculous and > > mootools try to do a lot of the same things. The mootools guys coded their > > library such that it wouldn''t conflict w/ prototype, but I wouldn''t > > recommend using them together if it can be helped. Just pick one > > foundational javascript library (whether it be prototype, jquery, mootools, > > dojo, mochikit, or whatever...) and go with it. > > > > And when you pick a javascript library, it''s like you''re marrying it. > > Although it *is* possible to use multiple foundational libraries one a > > single site, doing so tends to not work so well. For one thing, it > > introduces a lot of redundancy which is wasteful. Another annoyance is that > > sometimes libraries can conflict w/ each other if they''re inadvertently > > using the same namespace for something. ...so beware. > > > > > > > > > > > > > > > > > > > > > > > >-- "I have learned that you should''nt compare yourself to others - they are more screwed up than you think." ...unknown "In the 60''s, people took acid to make the world weird. Now the world is weird and people take Prozac to make it normal." ..unknown _____________________________ Terry Remsik stripe-man.dyndns.org remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Spry is Adobe''s entry into the Ajax market. It is still entry level I guess and seems to be geared toward use with ColdFusion (possibly even built into it)and other Adobe products. Get more info at labs.adobe.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
oh... geesh.. they are really trying to put their hands into everything huh ? M$ Juniors!! On 1/4/07, The Manhatten Project <teammacromedia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Spry is Adobe''s entry into the Ajax market. It is still entry level I > guess and seems to be geared toward use with ColdFusion (possibly even > built into it)and other Adobe products. > > Get more info at labs.adobe.com > > > > >-- "I have learned that you should''nt compare yourself to others - they are more screwed up than you think." ...unknown "In the 60''s, people took acid to make the world weird. Now the world is weird and people take Prozac to make it normal." ..unknown _____________________________ Terry Remsik stripe-man.dyndns.org remsikt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---