Re: [Catalyst] rich ajax UI component libraries for Catalyst?
Hi Nicolas, Thanks for the excellent advice, this is very good to know for us new users! If I may ask everyone another question, what are peoples opinions about which libraries are best? most straightforward to use? The only time I've ever used one was to do a drop-down menu ajax auto-suggest on a text box, I tried Scriptaculous and jQuery's and I found Scriptaculous to be much better, jQuery seemed overly complicated to achieve the same goal. jQuery and jQuery UI ExtJS YUI Dojo Scriptaculous/Prototype others? best, Leandro On Sun, Jul 25, 2010 at 10:40 PM, Nicholas Wehr catal...@bionikchickens.com wrote: I don't think you gain anything by using the ExtJS perl module. Since perl data structures can be serialized to JSON *(extjs objects/code) then having the JSON view is all you need for easy integration. Once you have the hang of extjs - it's pretty consistent and clean. No doubt whichever javascript widget library you use will have you spending equal amounts of time designing and working in javascript (the UI); perl won't save you here! ;) -nw On Sat, Jul 24, 2010 at 1:13 PM, Leandro Hermida soft...@leandrohermida.com wrote: Hi, Thanks very much, I see now that there is a CatalystX::ExtJS distro on CPAN and found some tutorials posted on the web showing how to get going with Catalyst + jQuery UI! -L On Sat, Jul 24, 2010 at 6:31 PM, Nick Perez n...@nickandperla.net wrote: On Sat, 24 Jul 2010 16:43:58 +0200 Leandro Hermida soft...@leandrohermida.com wrote: Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro I've had success both with jquery-ui and also with extjs. A number of people I know that use Catalyst::Controller:DBIC::API also use those tools and report favorable experiences. -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://github.com/nperez ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
I used to use ExtJS - see Catalyst advent calendar article I wrote 3 years ago. However, there was some difficulty when they changed the terms of the open source licence and I switched to JQuery. I would recommend that for most uses. It's straightforward to use and has some good GUI widgets. In fact we're using it for BBC international sites now that Glow library has moved to maintenance only. I'm supporting Dojo on a CMS for $day_job but it's rather heavyweight. Regards, Peter http://perl.dragonstaff.co.uk On Jul 26, 2010 7:35 AM, Leandro Hermida soft...@leandrohermida.com wrote: Hi Nicolas, Thanks for the excellent advice, this is very good to know for us new users! If I may ask everyone another question, what are peoples opinions about which libraries are best? most straightforward to use? The only time I've ever used one was to do a drop-down menu ajax auto-suggest on a text box, I tried Scriptaculous and jQuery's and I found Scriptaculous to be much better, jQuery seemed overly complicated to achieve the same goal. jQuery and jQuery UI ExtJS YUI Dojo Scriptaculous/Prototype others? best, Leandro On Sun, Jul 25, 2010 at 10:40 PM, Nicholas Wehr catal...@bionikchickens.com wrote: I don't thin... ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
I understood that Scriptaculous/Prototype has a design problem because it can't be used with other JS libraries like jQuery, ExtJS, Dojo because it creates a conflict, and that it should be avoided. Isn't this true? Octavian - Original Message - From: Dami Laurent (PJ) laurent.d...@justice.ge.ch To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Monday, July 26, 2010 4:09 PM Subject: RE: [Catalyst] rich ajax UI component libraries for Catalyst? -Message d'origine- De : Leandro Hermida [mailto:soft...@leandrohermida.com] Envoyé : lundi, 26. juillet 2010 08:31 À : The elegant MVC web framework Objet : Re: [Catalyst] rich ajax UI component libraries for Catalyst? Hi Nicolas, Thanks for the excellent advice, this is very good to know for us new users! If I may ask everyone another question, what are peoples opinions about which libraries are best? most straightforward to use? Hi Leandro, For our project at Geneva Courts of Law, we chose prototype.js + scriptaculous + Prototype Window Class (http://prototype-window.xilinus.com/) + Alien::GvaScript (home-made library for autocompleters, Tree navigator, keyboard events, form handling, etc., see distrib on CPAN). We chose that component stack a couple of years ago; maybe the choice would be different if starting a fresh project right now -- but anyway we are still very happy with the components mentioned above. Cheers, Laurent Dami ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
I'm one of the guys using ExtJS with DBIC::API. I tried Dojo about two years ago and docs didn't exist for it, don't know if that has changed. jQuery UI is lacking a *lot* of widgets compared to ExtJS which is really awesome when it comes to subclassing components to build your own. -- Best regards, Alex Am Samstag, den 24.07.2010, 18:31 +0200 schrieb Nick Perez: On Sat, 24 Jul 2010 16:43:58 +0200 Leandro Hermida soft...@leandrohermida.com wrote: Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro I've had success both with jquery-ui and also with extjs. A number of people I know that use Catalyst::Controller:DBIC::API also use those tools and report favorable experiences. *** T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien Handelsgericht Wien, FN 79340b *** Notice: This e-mail contains information that is confidential and may be privileged. If you are not the intended recipient, please notify the sender and then delete this e-mail immediately. *** ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
agreed - extjs will cost money if: eval { ($site_not_open_source $site_is_public) }; but it's still a great product - and if you can afford it, it's well worth supporting the project with a support subscription/license fee. I've used scriptalicious and jquery both and ultimately settled into extjs as it has the most comprehensive and consistent api documentation and great community support. -nw On Mon, Jul 26, 2010 at 1:30 AM, Peter Edwards pe...@dragonstaff.co.ukwrote: I used to use ExtJS - see Catalyst advent calendar article I wrote 3 years ago. However, there was some difficulty when they changed the terms of the open source licence and I switched to JQuery. I would recommend that for most uses. It's straightforward to use and has some good GUI widgets. In fact we're using it for BBC international sites now that Glow library has moved to maintenance only. I'm supporting Dojo on a CMS for $day_job but it's rather heavyweight. Regards, Peter http://perl.dragonstaff.co.uk On Jul 26, 2010 7:35 AM, Leandro Hermida soft...@leandrohermida.com wrote: Hi Nicolas, Thanks for the excellent advice, this is very good to know for us new users! If I may ask everyone another question, what are peoples opinions about which libraries are best? most straightforward to use? The only time I've ever used one was to do a drop-down menu ajax auto-suggest on a text box, I tried Scriptaculous and jQuery's and I found Scriptaculous to be much better, jQuery seemed overly complicated to achieve the same goal. jQuery and jQuery UI ExtJS YUI Dojo Scriptaculous/Prototype others? best, Leandro On Sun, Jul 25, 2010 at 10:40 PM, Nicholas Wehr catal...@bionikchickens.com wrote: I don't thin... ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
Dojo docs are still a bit weak as they completely changed to a different system, and more or less started documenting from scratch. The good news is that the test cases are *very* exhaustive and readable, so there is a lot to build on. The community is OK, but a little brusque from time to time. We also like the ability to roll your own Dojo and build smaller compressed systems containing the components you need. All the best Stuart Stuart Watt ARM Product Developer Information Balance On 7/26/2010 11:54 AM, Alexander Hartmaier wrote: I'm one of the guys using ExtJS with DBIC::API. I tried Dojo about two years ago and docs didn't exist for it, don't know if that has changed. jQuery UI is lacking a *lot* of widgets compared to ExtJS which is really awesome when it comes to subclassing components to build your own. -- Best regards, Alex ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
Unless you are referring to the old licensing scheme (which went away some time ago) then discouraging ExtJS use because of it's license is absurd, as the license is GPL. They do have a commercial license available as an option, but you only need that if you want to distribute ExtJS as part of your application and are not prepared to do it under the terms of the GPL. On Jul 26, 2010, at 12:59 PM, Ashley Pond V wrote: On Mon, Jul 26, 2010 at 9:13 AM, Andrew Jones andrewjone...@googlemail.com wrote: The problem is that both Prototype and jQuery use the $ variable. jQuery provides a compatibility mode so it can work with Prototype, but I don't think Prototype provides a compatibility mode. If called correctly there should be no conflicts with jQuery. jQuery(function($) {...} I am going to hate on ExtJS for a moment. I was very interested/infatuated with it until I tried to use it for a big project. It is shiny and pretty but it's also a pain to integrate and it, as of the version I was using last year, doesn't allow for graceful degradation; i.e., your forms are literally in JS, not in HTML, so no JS means no website. While today this isn't the SEO disaster it once was and some nines of users have JS on, it still isn't cool. I admit that a tightly integrated Catalyst controller could bind/share configs with ExtJS so that it wrote the same output (e.g., from a FormFu config) regardless but that's also, to me, not cool. ExtJS takes over your application. This may be what you want and it really does have a lot of great features so take my bagging on it with whatever dose of salt your doctor recommends. (I'm a jQuery fanboi and I admit the jQuery UI suite is not up to scratch for features -- though it is easier to style and integrate; and in my view, adapt or customize -- one of the reasons there aren't as many official plugins for things in jQuery is that they are generally so easy to write for yourself). There is also, as mentioned already, the commercial license aspect. I encourage devs to stop using ExtJS for CPAN projects because it means some of us can not use your code without ponying up a bucket of cash which might not bother a big company but would certainly hurt a small web contract. -Ashley ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
Like I said, when I used extjs 3 years ago. If they did so then, why would I invest significant money in using them now? Maybe next week they would decide on another change of licensing arrangement. -Peter On Jul 26, 2010 6:57 PM, Jason Kohles em...@jasonkohles.com wrote: Unless you are referring to the old licensing scheme (which went away some time ago) then discouraging ExtJS use because of it's license is absurd, as the license is GPL. They do have a commercial license available as an option, but you only need that if you want to distribute ExtJS as part of your application and are not prepared to do it under the terms of the GPL. On Jul 26, 2010, at 12:59 PM, Ashley Pond V wrote: On Mon, Jul 26, 2010 at 9:13 AM, Andrew Jones... ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
On Mon, Jul 26, 2010 at 10:53 AM, Jason Kohles em...@jasonkohles.com wrote: Unless you are referring to the old licensing scheme (which went away some time ago) then discouraging ExtJS use because of it's license is absurd, as the license is GPL. They do have a commercial license available as an option, but you only need that if you want to distribute ExtJS as part of your application and are not prepared to do it under the terms of the GPL. Not wanting to distribute under the GPL is not uncommon and while one might argue it's not the Right Way(tm), I don't think there is a good argument for it being absurd. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
I don't think you gain anything by using the ExtJS perl module. Since perl data structures can be serialized to JSON *(extjs objects/code) then having the JSON view is all you need for easy integration. Once you have the hang of extjs - it's pretty consistent and clean. No doubt whichever javascript widget library you use will have you spending equal amounts of time designing and working in javascript (the UI); perl won't save you here! ;) -nw On Sat, Jul 24, 2010 at 1:13 PM, Leandro Hermida soft...@leandrohermida.com wrote: Hi, Thanks very much, I see now that there is a CatalystX::ExtJS distro on CPAN and found some tutorials posted on the web showing how to get going with Catalyst + jQuery UI! -L On Sat, Jul 24, 2010 at 6:31 PM, Nick Perez n...@nickandperla.net wrote: On Sat, 24 Jul 2010 16:43:58 +0200 Leandro Hermida soft...@leandrohermida.com wrote: Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro I've had success both with jquery-ui and also with extjs. A number of people I know that use Catalyst::Controller:DBIC::API also use those tools and report favorable experiences. -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://search.cpan.org/%7Enperez/ http://github.com/nperez ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
[Catalyst] rich ajax UI component libraries for Catalyst?
Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
On Sat, 24 Jul 2010 16:43:58 +0200 Leandro Hermida soft...@leandrohermida.com wrote: Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro I've had success both with jquery-ui and also with extjs. A number of people I know that use Catalyst::Controller:DBIC::API also use those tools and report favorable experiences. -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://github.com/nperez ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] rich ajax UI component libraries for Catalyst?
Hi, Thanks very much, I see now that there is a CatalystX::ExtJS distro on CPAN and found some tutorials posted on the web showing how to get going with Catalyst + jQuery UI! -L On Sat, Jul 24, 2010 at 6:31 PM, Nick Perez n...@nickandperla.net wrote: On Sat, 24 Jul 2010 16:43:58 +0200 Leandro Hermida soft...@leandrohermida.com wrote: Hi everyone, Are there any rich ajax UI component libraries out there that would interoperate well with Catalyst? thanks, Leandro I've had success both with jquery-ui and also with extjs. A number of people I know that use Catalyst::Controller:DBIC::API also use those tools and report favorable experiences. -- Nicholas Perez XMPP/Email: n...@nickandperla.net http://search.cpan.org/~nperez/ http://search.cpan.org/%7Enperez/ http://github.com/nperez ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/