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, ------------------------------------------ Ali Mesdaq (CISSP, GIAC-GREM) Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com ------------------------------------------ ________________________________ From: Dennis Daupert [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 05, 2008 11:43 AM To: The elegant MVC web framework Subject: Re: [Catalyst] javascript libraries in your application 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 root/static is a good place. I like to set dedicated directories for static files: root/static/js root/static/css /dennis Click here <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== JgBaACSDeMXQWRz9bcREXBI5WqhMaOjSoV05X3tupocxOU+hzbZ!McXk8aO1IcCWTJm2e1JR kak83gA7i1ZX0Rh0pjvjOVVc6jcNlB8Ds4+JocbhkZWBW7!0F73cQW1dwOla+spYSJAy!Vv4 KBKU6lr3gM0bZYMcdwivWgSmGe9NjQAjWNIXit9O> to report this email as spam. Protected by Websense Messaging Security -- www.websense.com _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
