RE: [Catalyst] javascript libraries in your application

2008-02-05 Thread Mesdaq, Ali
Well I think the question specifically pertained to libraries. I can see your point about constructing various javascript files based on the parameters but you definitely wouldn't want to serve up a 100+ kb javascript library dynamically if your just changing a few things. I would do that in the wr

RE: [Catalyst] javascript libraries in your application

2008-02-05 Thread Gene Selkov
Serving your javascript as a static resource is OK if your view really has a static behavior -- that is, it does not mutate as you change parameters in your request, or it is shared among multiple requests. If it is not static, you may want to serve it as templates, in the same way you serve t

RE: [Catalyst] javascript libraries in your application

2008-02-05 Thread Mesdaq, Ali
I put mine under root/static/js during testing and development but on live servers I put it under /js and use mod rewrite rules to allow that and the images directory to be served up statically. For some reason having /static/js on a live URL is ghetto to me. Thanks, --

Re: [Catalyst] javascript libraries in your application

2008-02-05 Thread Dennis Daupert
On Feb 5, 2008 2:04 PM, Jennifer Ahn <[EMAIL PROTECTED]> wrote: > hello!! > > i just started building my web application on catalyst and i'm wondering > where to put my javscript library in the framework. > Usually you want your javascript library to just download to the client as is, so under ro

[Catalyst] javascript libraries in your application

2008-02-05 Thread Jennifer Ahn
hello!! i just started building my web application on catalyst and i'm wondering where to put my javscript library in the framework. i would greatly appreciate sharing your experience fitting javascript into this cool framework! Jennifer ___ List

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-02-05 Thread Peter Karman
On 01/25/2008 06:51 PM, Jay K wrote: > >>> Catalyst::Authentication::Store::XYZ >>> Catalyst::Authentication::Credential::XYZ >> >> What's the recommended approach for existing stores and credentials? >> Rename them and mark >> the old ones as deprecated? Create new stubs with the new names that

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-05 Thread Matt S Trout
On Tue, Feb 05, 2008 at 11:18:46AM +0100, Moritz Onken wrote: > sure I tried. > Try InflateColumn::DateTime which overwrites the register_column > method. It only works if it's loaded before Core. Which is what you'd be doing with a second load_components call, which is why I asked. The -actual

RE: [Catalyst] OT: YUI v Ext JS

2008-02-05 Thread Hartmaier Alexander
I've asked myself the same questions some weeks ago and took the time to read, ask and compare those two. I ended up with ExtJS because of the fabulous grid component which my app uses heavily. I've redone only the status (it’s a network monitoring tool) page which now fetches json data, which i

[Catalyst] PAR deployment w/ non-standard layout

2008-02-05 Thread Matthew Pitts
Due to our initial development effort being broken down b/t code and design, our application has somewhat of a non-standard layout. I'm now looking to use PAR to deploy the app, but I'm having some issues due to our non-standard setup and I'm hoping someone can shed some light on the magic behind '

[Catalyst] Current Auth method

2008-02-05 Thread Angel Kolev
Hi, i read many posts about Authentication/ACL in catalyst last time. I make my app reading Catalyst manual in CPAN. Is that the right way now or i have to use different one? Sorry if same post is posted alredy but im confused to make a decision what to read :) Thanks! __

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-05 Thread Moritz Onken
sure I tried. Try InflateColumn::DateTime which overwrites the register_column method. It only works if it's loaded before Core. Am 05.02.2008 um 10:44 schrieb Matt S Trout: On Mon, Feb 04, 2008 at 08:18:27PM +0100, Moritz Onken wrote: Hi, I need to add some components to some packages cr

Re: [Catalyst] home dir set to /home/MyApp/lib/MyApp

2008-02-05 Thread Jochen Luig
Matt S Trout schrieb: Don't delete the Makefile.PL Wow, that was easy. Thanks! Wouldn't have thought of that myself in hours of banging my head against the wall to come. Jochen ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.c

Re: [Catalyst] using legacy auth stores with new auth system

2008-02-05 Thread Carl Franks
On 05/02/2008, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Mon, Feb 04, 2008 at 06:35:12PM +, Carl Franks wrote: > > Can the old Catalyst::Plugin::Authentication::Store::* modules be used with > > the > > new Catalyst::Authentication system? > > > > I can't see anything in the docs or list ar

Re: [Catalyst] Weird loss of user in session

2008-02-05 Thread Matt S Trout
On Mon, Feb 04, 2008 at 08:03:23PM -0800, Ashley wrote: > Solved. I have a theory. I think I had a session persisting from > before I > turned off verify_address. Maybe? I also went back to short names > "authentication" and "session" instead of the new namespaced Plugin > style. Don't do that

[Catalyst] Advice on form submission

2008-02-05 Thread Peter Sørensen
Hi, I'm using Catalyst with FormBuilder and TT I need an advice on how to handle multiple SUBMIT buttons on one form. I have a method: sub index : Local Form { .. This creates my main form with multiple SUBMITS like UPDATE DELETE ADD SUBSCRI

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-05 Thread Matt S Trout
On Mon, Feb 04, 2008 at 08:18:27PM +0100, Moritz Onken wrote: > Hi, > > I need to add some components to some packages created by > Catalyst::Helper::Model::DBIC::Schema. Which uses DBIx::Class::Schema::Loader so this question would have been better asked on the DBIC list, but never mind. > I

Re: [Catalyst] using legacy auth stores with new auth system

2008-02-05 Thread Matt S Trout
On Mon, Feb 04, 2008 at 06:35:12PM +, Carl Franks wrote: > Can the old Catalyst::Plugin::Authentication::Store::* modules be used with > the > new Catalyst::Authentication system? > > I can't see anything in the docs or list archive about how to set this > in the configuration - and it looks

Re: [Catalyst] Advice on form submission

2008-02-05 Thread Chisel Wright
Start. A. New. Thread. Please. ___ 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] Catalyst, TT and using new filter

2008-02-05 Thread Peter Sørensen
Thanks that worked. Below just FYI. In the meantime I found, that the problem was related to my minor knowledge to TT. The reason I wanted to trim the output was, that the code: [% FOREACH line IN subscribers %] [% line | undent %] [% END %]

[Catalyst] Advice on form submission

2008-02-05 Thread Peter Sørensen
Hi, I'm using Catalyst with FormBuilder and TT I need an advice on how to handle multiple SUBMIT buttons on one form. I have a method: sub index : Local Form { .. This creates my main form with multiple SUBMITS like UPDATE DELETE ADD SUBSCRIB

Re: [Catalyst] home dir set to /home/MyApp/lib/MyApp

2008-02-05 Thread Matt S Trout
On Mon, Feb 04, 2008 at 10:20:29AM +0100, Jochen Luig wrote: > Hi, > > I encountered some strange behaviour in my Catalyst App regarding > determination of the home directory. > The App is the result of an attempt to manually merge two apps which I > know is error-prone in the first place but I

Re: [Catalyst] catalyst book

2008-02-05 Thread Matt Rosin
> *ahem* Oops! Sorry. Will come back maybe when head rises above sea level. Matt ___ 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.sc

Re: [Catalyst] catalyst book

2008-02-05 Thread Kieren Diment
On 5 Feb 2008, at 13:40, Matt Rosin wrote: Also a good way to get code demos perhaps. *ahem* 08:16 <@kd> purl, catalyst examples? 08:16 < purl> somebody said catalyst examples was http:// dev.catalystframework.org/svnweb/Catalyst/browse/trunk/examples or svn co http://dev.catalyst.perl