Thanks for clearing my doubt. On Monday, November 9, 2015 at 6:50:25 PM UTC+5:30, Walter Lee Davis wrote: > > > On Nov 9, 2015, at 2:01 AM, Amit Dwivedi <[email protected] <javascript:>> > wrote: > > > Hi, > > As far as i know, prototype.js is a framework based on OO(correct me if > i m wrong). we can write a new class in java script which can extend the > behavior of existing one. My question is...Is it support some sort of > Design Pattern (like MVC). > > One more thing if we want to add new features by using > prototype.js, is it easily pluggable. > > Prototype is a foundation toolkit, which starts with the premise that > JavaScript needs some help to become the great OO language it could be. It > extends the language in useful ways, making it possible to write good code > quickly, with useful shortcuts and mental models. The next great thing that > it does is spackle over the (thankfully shrinking) mountain of differences > between various browsers' JS implementations, giving you a single stable > API to write to. Finally, it provides useful core tools to build > applications that extend the DOM or communicate out of band with the server > using Ajax. > > I like to think of it as "a tool that can build tools", which appeals to > this grandson of a tool-and-die maker very much. It's much less a plug-in > support mechanism, which I liken jQuery to, than a better way to write and > reason about JavaScript applications in browsers. I like to say that "I > could build jQuery in Prototype, but not the other way around". > > So to answer your main question, no, there isn't any MVC framework that I > know of that is based upon Prototype, but if you had a good reason to build > one, it would make the process much simpler and widely runnable than if you > stuck to vanilla JS. > > Walter > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Prototype & script.aculo.us" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at > http://groups.google.com/group/prototype-scriptaculous. > > For more options, visit https://groups.google.com/d/optout. > >
-- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/d/optout.
