Mitchell Jackson wrote:
Does anybody have a better init script than the one below for handling
the fastcgi processes? I'm probably missing something obvious X.X
I've been generating an init.d script with
Catalyst::Helper::FastCGI::ExternalServer [1] for our Ubuntu servers
without issue.
Felix Antonius Wilhelm Ostmann wrote:
we have build some classes with Attribute::Handlers (was inspired from
Attribute::Property)
This works realy fine!
after a few tests we gone use this classes under catalyst ... and ...
dont work :-/ under catalyst our classes dont use Attribute::Handlers
Hey All,
Config::Any 0.08 and Catalyst::Plugin::ConfigLoader 0.16 have hit the
CPAN. Changes:
Config::Any:
0.08 Thu Aug 23 2007
pass config options to each parser
fix for loading the same perl config twice (RT #28812)
Catalyst::Plugin::ConfigLoader:
0.16 Thu Aug 23 2007
-
Adeola Awoyemi wrote:
# from MyApp::Controller::Root
sub end : Private {
my ( $c, $self ) = @_;
$c-forward( $c-view('XSLT') );
}
try:
my( $self, $c ) = @_;
-Brian
___
List: Catalyst@lists.rawmode.org
Listinfo:
Hey Y'all,
I've done a little bit of maintenance to the I18N plugin. Version 0.06
will hit CPAN soon. The changes are as follows:
- re-org distro
- switch to Module::Install
- added language_tag() method
- pod fixes
If you use this plugin and you have suggestions or comments, I'd love to
Daniel McBrearty wrote:
FWIW
I just turn debug off, and do
export MYAPP_DEBUG=1; script/myapp_server.pl -r;
the -d option is so much easier to type :)
script/myapp_server.pl -d -r
-Brian
___
List: Catalyst@lists.rawmode.org
Listinfo:
Dmitri Pissarenko wrote:
$c-res-body = 'Hello ' . $name . ', welcome to the world of Dojo!\n';
Instead do:
$c-res-body( 'Hello' ... );
-Brian
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Oleg Pronin wrote:
Does anyone can advice a good solution ?
Read:
http://search.cpan.org/dist/Catalyst-Runtime/lib/Catalyst.pm#PROXY_SUPPORT
-Brian
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Lee Goddard wrote:
Sorry: I meant when the server starts, it seems to attempt to call 'new'
for every *.pm in MyApp::Model::* :
Hopefully I recall how this works...
Every Model::*, Controller::*, View::* (plus their short-names for
back-compat) are instantiated via setup_components (see
Ian Docherty wrote:
FastCgiExternalServer /tmp/timesheet.fcgi -socket /tmp/timesheet.socket
VirtualHost *:80
ServerName timesheet.mydomain.com
Alias / /tmp/timesheet.fcgi
/VirtualHost
Just for kicks
try:
Alias / /tmp/timesheet.fcgi/
(note trailing slash)
-Brian
Brian Kirkbride wrote:
Hello all,
The one thing that has been bothering me is that to start a chain in
some controller, say MyApp::C::Admin::Services you would need to declare:
sub get_id : Chained('/') : PathPart('/admin/services') :
CaptureArgs(1) {
# stash the id or do some lookup
Hi Joe,
Joe Landman wrote:
Two part question. Has anyone played with captchas in conjunction
with C::C::FB? Second part: should I be looking at different
technology rather than captchas?
A technique i recently saw was to add an input to your form with a usual
sounding name (like
Robert 'phaylon' Sedlacek wrote:
You can chain your action only to other actions or to the root, not to
namespaces. The PathPart attribute controls how the path is built
visibly. There is a :PathPrefix implementation that does what you want
somewhere in Catalyst's SVN, but I don't know when it
Bill Moseley wrote:
On Thu, Mar 08, 2007 at 05:25:55PM -0500, Christopher H. Laco wrote:
Catalyst config support a 'local' config file in addition to the regular
one. I'm not sure on the exact file name, but I think it's myapp_local.yml
That's also a shallow merge, IIRC. It just calls
Daniel McBrearty wrote:
[Mon Feb 26 20:28:50 2007] [error] Couldn't load
Catalyst::Plugin::ConfigLoader::YAML, Insecure dependency in
require while running with -T switch at
/usr/local/lib/perl5/site_perl/5.8.8/Module/Pluggable/Fast.pm line
82.\n at
Daniel McBrearty wrote:
one without a version string - but when I to cpan C::P::C::Y: it
says its up to date ...
that explains why it didn't even get on the one box. still not sure
why the taint error though - guess I can remove M::P::F though, see if
that fixes things
You're looking at the
Matt S Trout wrote:
On 1 Feb 2007, at 17:37, John Napiorkowski wrote:
Hmm, interesting point. I'm going to go and try
writing something that trys to modify the
ActionContainer and see what happens! --john
You'd be better screwing with $c-action, I think. Something like
if ($c-stack-[-1] eq
Dan Dascalescu wrote:
to summarize:
a href=[% c.request.uri_with( page = pager.next_page ) %]Next
Page/a
Funny that Catalyst::Enzyme reinvented the wheel, too:
http://search.cpan.org/dist/Catalyst-Enzyme/lib/Catalyst/Enzyme/CRUD/View.pm#%24c-%3Ethis_request_except(%25new_params)
Not
N. Arakawa wrote:
I often make a data-table view, which links to similar views with
small parameter changes, such as paging or sorting order.
In this case, making a link URI based on 'delta' information is handy.
In Application Code:
sub uri_delta{
my($self,@arg)[EMAIL PROTECTED];
Hermida, Leandro wrote:
Inside MyApp::Model::MyAppDB:
use strict;
use base 'Catalyst::Model::DBIC::Schema';
__PACKAGE__-config(
schema_class = 'MyAppDB',
connect_info = [
'dbi:SQLite:myapp.db',
'',
'',
{ AutoCommit = 1 },
],
);
/update/find handle 'single' rel accessor correctly
- Fix NoBindVars to be safer and handle non-true bind values
- Don't blow up if columns_info_for returns useless results
- Documentation updates
Enjoy!
-Brian Cassidy
___
List: Catalyst
Jon Warbrick wrote:
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML
file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in
the documentation somewhere, but if so I've yet to find it...
Jon.
package MyApp;
use Catalyst qw( ConfigLoader );
# ...
[EMAIL PROTECTED] wrote:
While we're on the subject, lets assume that MySchema is
'myapp::SchemaLoader::foo.
How do I make sure that my SchemaLoader can see the config when it
tries to execute
__PACKAGE__-connection?
It isn't seeing the Model::MyModel connect_info, admonishing me for
Hello All,
I've just put out a new release of the ConfigLoader plugin. Nothing on
the surface has changed. Underneath, however, the guts of the config
file loading has been extracted out into a separate module: Config::Any.
Hopefully other apps and/or modules will find this new package useful.
Hi Renaud,
Renaud Drousies wrote:
Hello,
I am trying to figure out what would be the best way to have a
multilanguage support in a catalyst application.
I thought using a url-based method might be better since this site could
be visited by people that do not accept cookies, or do not visit
Chisel Wright wrote:
I just hadn't had the tuits to slap the dev release on my laptop. It
kinda sounds like I'm the only Pg/Model::DBIC user out there at the
moment ... :)
We've checked in a potential fix (+ tests) [1]. Please download it and
test it :)
-Brian
[1]
26 matches
Mail list logo