Re: [Catalyst] Repeatedly creating sessions

2010-06-24 Thread Nicholas Wehr
I used charles proxy as well until I discovered how awesome the mozilla addon firebug is. unbeatable json (xhdr) and network activity analyzer. handles ssl too check it out! jim, is there a charles feature that stands out above firebug? I only used for one project until I re-discovered firebug...

Re: [Catalyst] Repeatedly creating sessions

2010-06-24 Thread Nicholas Wehr
...@pangeamedia.comwrote: On Thu, Jun 24, 2010 at 3:51 PM, Matthias Dietrich mdietr...@cpan.org wrote: Nicholas, Am 24.06.2010 um 18:54 schrieb Nicholas Wehr: I used charles proxy as well until I discovered how awesome the mozilla addon firebug is. unbeatable json (xhdr) and network activity analyzer

Re: [Catalyst] rich ajax UI component libraries for Catalyst?

2010-07-25 Thread Nicholas Wehr
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

Re: [Catalyst] Forcing charset=utf-8 on all Content-Types for Catalyst::Controller::REST

2010-07-26 Thread Nicholas Wehr
notice that by default - C::V::JSON will detect utf8 perl flagged scalars and automatically output the utf8 header. I've ran into issues where I was pulling in file system data via YAML, which was *not* utf8 by default, and ultimately caused my issue with utf8 display to an extjs javascript panel.

Re: [Catalyst] rich ajax UI component libraries for Catalyst?

2010-07-26 Thread Nicholas Wehr
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

Re: [Catalyst] C::P::Unicode::Encoding and C::P::Compress

2010-07-29 Thread Nicholas Wehr
are you using the built-in perl http server for your production deployment? if not, consider apache's mod_deflate for your gzip content. I ran into a similar issue with dynamic tar file output; using a temp file barfed (from utf8) - streamed was fine. good luck -nw On Wed, Jul 28, 2010 at

Re: [Catalyst] I18N with variables

2010-08-04 Thread Nicholas Wehr
Check out Catalyst::Plugin::Localize::Simple http://search.cpan.org/~wehr/Catalyst-Plugin-Localize-Simple-1.1/lib/Catalyst/Plugin/Localize/Simple.pm I made it to overcome the learning curve of i18n, and it works very well. Used it to translate English to Spanish, French, Japanese, Italian,

Re: [Catalyst] Instruction for SSL configuration for Apache and fastcgi

2010-08-05 Thread Nicholas Wehr
you should consider using mod_rewrite rules for this check out: (ideahttp://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#relative ) -nw On Thu, Aug 5, 2010 at 2:26 PM, Kutbuddin Doctor ksdoc...@sanfordburnham.org wrote: I currently run Catalyst via myapp_fastcgi.pl without SSL Is there an

Re: [Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-23 Thread Nicholas Wehr
again I shamelessly plug this module; works like a champ (proven w/ it,ja,en,br,de,fr,es,zh)! ;) Catalyst::Plugin::Localize::Simple http://search.cpan.org/~wehr/Catalyst-Plugin-Localize-Simple-1.1/lib/Catalyst/Plugin/Localize/Simple.pm cheers, -nw On Sun, Aug 22, 2010 at 12:54 PM, Ekki Plicht

Re: [Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-23 Thread Nicholas Wehr
fyi - yaml is much like an .ini file and almost exactly javascript or json structures... good luck! On Mon, Aug 23, 2010 at 2:26 PM, Ekki Plicht (DF4OR) e...@plicht.de wrote: Am Montag 23 August 2010, 22:13:51 schrieb Nicholas Wehr: again I shamelessly plug this module; works like a champ

Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Nicholas Wehr
I'm with Tom on this one. Unless you've narrowed all optimization efforts and this is all you have left - it could be worth a try.. but as Jason points out, you may not gain a thing. I'd recommend profiling your code and tracking down performance issues from that base level. Please post your

Re: [Catalyst] Wrong Content-Length value

2010-09-08 Thread Nicholas Wehr
so which engine and version are you using? apache? built-in http? fastcgi? On Wed, Sep 8, 2010 at 2:08 PM, Bill Moseley mose...@hank.org wrote: The problem I have with this code is that requests can trigger an error on demand. Errors eventually trigger an email to a bunch of people. But it's

Re: [Catalyst] Wrong Content-Length value

2010-09-08 Thread Nicholas Wehr
interesting problem. so the client is making byte-range requests on dynamic content? if it's static - I'd recommend you defer this functionality to apache. On Wed, Sep 8, 2010 at 2:30 PM, Bill Moseley mose...@hank.org wrote: On Wed, Sep 8, 2010 at 2:16 PM, Nicholas Wehr catal

Re: [Catalyst] Wrong Content-Length value

2010-09-08 Thread Nicholas Wehr
:09:47 GMT Content-Length: 14 Content-Type: text/html; charset=utf-8 Status: 404 X-Catalyst: 5.80024 Page not found On Wed, Sep 8, 2010 at 3:16 PM, Bill Moseley mose...@hank.org wrote: On Wed, Sep 8, 2010 at 2:38 PM, Nicholas Wehr catal...@bionikchickens.com wrote: interesting problem. so

Re: [Catalyst] Wrong Content-Length value

2010-09-08 Thread Nicholas Wehr
agree - seems to warrant more of a 'warn' than 'error'. On Wed, Sep 8, 2010 at 4:59 PM, Bill Moseley mose...@hank.org wrote: On Wed, Sep 8, 2010 at 4:13 PM, Nicholas Wehr catal...@bionikchickens.com wrote: okay - in this context I can understand your original message. I think catalyst

Re: [Catalyst] I18N

2010-10-13 Thread Nicholas Wehr
also consider: http://search.cpan.org/~wehr/Catalyst-Plugin-Localize-Simple-1.1/lib/Catalyst/Plugin/Localize/Simple.pm On Wed, Oct 13, 2010 at 2:25 PM, Ekki Plicht (DF4OR) e...@plicht.de wrote: Am Dienstag 12 Oktober 2010, 22:04:23 schrieb Stuart Watt: Quick question: I'm currently using

Re: [Catalyst] Suggestions on how to handle 12 page form

2010-11-17 Thread Nicholas Wehr
I did the same as Mark, saving the form in progress was a product requirement but also a good user experience. I used extjs to make a pretty slick wizard, with questions dynamically created based on previous answers. Caveat: significant learning curve - http://dev.sencha.com/deploy/ext/examples/

[Catalyst] Configuration Management in Continuous Integration environments

2010-12-07 Thread Nicholas Wehr
Hello everyone, First off, beware, I'm a bit nutty when it comes to configuration management. I've recently deployed a Hudson instance and wanted to move some Catalyst projects into it. What I'd like to solicit feedback on here is: *how are you managing your Perl dependencies in these build

Re: [Catalyst] debug prints

2011-03-05 Thread Nicholas Wehr
use the log method of $c: $c-log-debug(my message); cheers, -nw On Sat, Mar 5, 2011 at 2:21 PM, John M. Dlugosz wxju46g...@snkmail.comwrote: How do I send stuff to the console running the script/Appname_server.pl -d from a component method? ___

Re: [Catalyst] Basic help with deployment

2011-03-16 Thread Nicholas Wehr
a local::lib alternative is Shipwright; created by Best Practical the makers of RT defect tracker On Wed, Mar 16, 2011 at 6:15 AM, will trillich will.trill...@serensoft.comwrote: On Wed, Mar 16, 2011 at 4:21 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 da...@cpan.org wrote: I found that I need to run cpan -i

Re: [Catalyst] Wide (Unicode) character problem?

2011-03-23 Thread Nicholas Wehr
which platform are you testing on? windows mac linux? On Wed, Mar 23, 2011 at 7:49 AM, John M. Dlugosz wxju46g...@snkmail.comwrote: On 3/23/2011 8:58 AM, Bill Moseley moseley-at-hank.org |Catalyst/Allow to home| wrote: Post the smallest possible example (20 lines?) that clearly shows the

Re: [Catalyst] Validation of entered content

2011-04-11 Thread Nicholas Wehr
I've used this before - perhaps it will work for you: http://ckeditor.com/ cheers -nw On Mon, Apr 11, 2011 at 5:28 AM, John M. Dlugosz wxju46g...@snkmail.comwrote: I have a form where an admin can change a part of the content on a page. The form lets someone do it without having to update

Re: [Catalyst] What text editor to use?

2011-04-11 Thread Nicholas Wehr
futher vim reading: http://vimdoc.sourceforge.net/htmldoc/arabic.html http://vimdoc.sourceforge.net/htmldoc/arabic.html http://vimdoc.sourceforge.net/htmldoc/hebrew.html http://vimdoc.sourceforge.net/htmldoc/hebrew.htmlbasically: vim -A arabic_file_to_edit.txt vim -H hebrew_file_to_edit.txt

Re: [Catalyst] Caching SQL results for speed...?

2011-04-14 Thread Nicholas Wehr
From what I recall - the caching trait doesn't play with joins. From what I can tell - neither does H::FH; Can anyone confirm this? It might make more sense for your queries to always specify a deep join/prefetch option to reduce the number of queries. I see this statement as well: This feature

Re: [Catalyst] building 'local' lib with dependencies for shipping

2011-04-26 Thread Nicholas Wehr
a local::lib alternative is Shipwright; created by Best Practical the makers of RT defect tracker. its worth checking out as it does exactly what you're trying to do. On Tue, Apr 26, 2011 at 3:40 AM, Bernhard Bauch ba...@zsi.at wrote: just saw on the dbix::class list they're discussing the same

Re: [Catalyst] building 'local' lib with dependencies for shipping

2011-04-26 Thread Nicholas Wehr
? any other dep management solutions? how about a higher level solution like Apache Ivy? I'm a fan of CPAN - but its not exactly a configuration management dream, is it? -n On Tue, Apr 26, 2011 at 1:30 PM, Fernan Aguero fernan.agu...@gmail.comwrote: On Tue, Apr 26, 2011 at 11:43 AM, Nicholas Wehr

Re: [Catalyst] Open Source CMS

2011-04-28 Thread Nicholas Wehr
drupal and alfresco were both leading candidates after a long and expensive outside evaluation that included commercial cms... drupal won in the end. I don't think you could go wrong w/ drupal. cheers, -nw On Thu, Apr 28, 2011 at 9:40 AM, Mike Raynham catal...@mikeraynham.co.ukwrote: I know

Re: [Catalyst] Open Source CMS

2011-04-29 Thread Nicholas Wehr
I forgot to mention I used a corporate mediawiki as a backend for creating catalyst TT pages. worked out excellent, supported 7 international (utf-8) languages! utilized the power of categories, variables, etc to organize - users had an easy syntax for wiki inclined or toolbar editing (wysiwyg). I

Re: [Catalyst] Using a model class from other class

2011-09-29 Thread Nicholas Wehr
perhaps a simple way: my $rs = $c-model(DB::Group)-all; while (my $group = $rs-next) { for my $user ($ group-users ) { # do stuff } } On Thu, Sep 29, 2011 at 10:04 AM, linuxsupport lin.supp...@gmail.comwrote: Hi, I have a model called DB where I have 3 classes, User,