On Fri, Jul 9, 2010 at 11:05 AM, Nicholas Bamber <[email protected]> wrote: >> The company I work for has also been moving to JQuery, so I won't be >> surprised if Data.FormValidator gets updated at some point to> >> integrate better with JQuery, possibly on a fork. > > > This is a frustrating thing about javascript. I use YUI. I have very poor > experience from trying to mix frameworks. I think this must be a common > experience and it must be difficult to share resources across frameworks. > >
I am sure it must be frustrating, but the following -- One, it should not be a problem mixing frameworks as long as one framework does a specific task and the other a different task. Well designed frameworks will protect their namespaces, and not tread on each other's feet. Two, there really should not be any need to mix frameworks. Js frameworks are all pretty rich. jQuery, for example, seems to have a plugin/method for just about everything. I use jQuery, and have never (except in one, fairly well-behaved instance) needed nor felt the need to use another framework. I am assuming the same should be true of other well-developed frameworks. Three, that is why I don't mix languages. Personally, I believe that HTML should be written in HTML, and not by a Perl module that implements its own methods of creating HTML. Similarly, JavaScript should be written in JavaScript, and not by Perl modules that generate the JavaScript. Templating helps a lot with that. That way, the backend code is in Perl, and the front-end code is in pure HTML, CSS, and Js (with the use of HTML::Template, in my case). -- Puneet Kishor ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
