Re: [Catalyst] Mapping urls inside catalyst

2007-05-28 Thread Robert 'phaylon'; Sedlacek
Hey Dave, Dave Gray wrote: > What do you gain by doing it this way instead of using mod_rewrite or > similar? Obviously mod_rewrite isn't as flexible in that you need to > update your ruleset separately instead of only changing your > application level code, but that seems like an acceptable trade

Re: [Catalyst] Mapping urls inside catalyst

2007-05-19 Thread Robert 'phaylon'; Sedlacek
Mark Zealey wrote: > Hi, > > I'm trying to work out the 'best way' of solving the following problem. > Basically, I want to have several entries into my application. One is of the > form /foo/ where id is an integer primary key. Another > is /bar/ where other_key is some string key, and another

Re: [Catalyst] Re: Catalyst Summary for March 2007

2007-04-17 Thread Robert 'phaylon'; Sedlacek
A. Pagaltzis said: > > * Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]> [2007-04-17 15:50]: >> I would like to make this a monthly thing, but I cannot promise >> a regular time when this will be released. > > Is there a chance that this will end up in a new

[Catalyst] Catalyst Summary for March 2007

2007-04-17 Thread Robert &#x27;phaylon'; Sedlacek
mments and suggestions and, of course, every contribution. Thanks, .phaylon [1] http://dev.catalystframework.org/wiki/CatalystSummary2007March -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTE

Re: [Catalyst] HOWTO reference config settings from template

2007-04-13 Thread Robert &#x27;phaylon'; Sedlacek
t { my ($self) = @_; return $self->{the_config_you_want}; } and then in the template [% c.view('TT').the_config_you_want %] HTH, .phaylon -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTE

Re: [Catalyst] How to make chained actions nice?

2007-04-09 Thread Robert &#x27;phaylon'; Sedlacek
Danny Warren wrote: > # Responds to /object/list > sub list : Local { ... } > > # Captures object id, as in /object/[OBJ_ID] > sub object : PathPart('object') Chained CaptureArgs(1) { ... } > > # Responds to /object/[OBJ_ID]/edit > sub edit : Chained('object') Args(0) { ... } > > # Chain point

Re: [Catalyst] Self documenting Controller plugin

2007-04-03 Thread Robert &#x27;phaylon'; Sedlacek
[EMAIL PROTECTED] wrote: > I'm starting to fiddle around with the idea of a "self documentation" > plugin for Catalyst, i.e. a plugin that returns the POD documentation > of a Controller module formatted as HTML. > > That way I do not have to maintain separate documentation, just write > POD insid

Re: [Catalyst] Componentised actions.

2007-03-31 Thread Robert &#x27;phaylon'; Sedlacek
Oleg Pronin wrote: > Because there is no work for perl in this action. And there are a lots > of similar actions. But template that includes this list action dosn't > care about that. It just want forward to something that would be > processed if similar url is called. It would be easier to unders

Re: [Catalyst] Componentised actions.

2007-03-30 Thread Robert &#x27;phaylon'; Sedlacek
Oleg Pronin wrote: > The problem is that i have no physical /shema/list action: Then I'd try to solve _this_ problem, and not work around it. Why don't you have one or more physical action(s) for list? .phaylon ___ List: Catalyst@lists.rawmode.org List

Re: [Catalyst] Componentised actions.

2007-03-29 Thread Robert &#x27;phaylon'; Sedlacek
Oleg Pronin wrote: > I'm developing a website based on catalyst and want it to be moduled and > componentised the way like this: > > site.com/object1/list >displays objects 1 in empty design. > > site.com/object2/list >dis

Re: [Catalyst] Questions about chained actions, endpoints, etc.

2007-03-22 Thread Robert &#x27;phaylon'; Sedlacek
Doran L. Barton wrote: > The part I was not understanding was that the argument to the Chained() > action is the private path name: Well, I thought the sentence Possible values are absolute and relative private action paths[...] in Catalyst::DispatchType::Chained POD for the 'Chained' attribut

PathPrefix (was: [Catalyst] Anybody using Chained('.') ?)

2007-03-13 Thread Robert &#x27;phaylon'; Sedlacek
tested again, there is an example in the Advent Calendar for 2006) -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@li

Re: [Catalyst] Anybody using Chained('.') ?

2007-03-13 Thread Robert &#x27;phaylon'; Sedlacek
r'; # chains to /foo/bar, like this controllers namespace sub baz : Chained('.') { } 1; Although, this is untested, of course. But you can always take a look at the Chained tests. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer i

Re: [Catalyst] assigning vars to $c->stash

2007-03-12 Thread Robert &#x27;phaylon'; Sedlacek
Eden Cardim wrote: $c->stash( $hash ); is a little bit faster... Correct. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___

Re: [Catalyst] assigning vars to $c->stash

2007-03-12 Thread Robert &#x27;phaylon'; Sedlacek
eys %$hash) { $c->stash->{$_} = $hash->{$_}; } Just $c->stash( %$hash ); should do it, iirc. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___

Re: [Catalyst] Configuring Model::DBI::SQL::Library from an yaml file

2007-03-09 Thread Robert &#x27;phaylon'; Sedlacek
be you could report (or forward this mail) to the author of the module for consideration? I don't know if he's on the list. Class::C3 is also favored over NEXT these days, but that has nothing to do with this issue. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalys

Re: [Catalyst] Performance

2007-03-09 Thread Robert &#x27;phaylon'; Sedlacek
mething fast(er) with URI::Template. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@lists.rawmode.org

Re: [Catalyst] Configuring Model::DBI::SQL::Library from an yaml file

2007-03-09 Thread Robert &#x27;phaylon'; Sedlacek
john utaka wrote: I'am trying to configured a Catalyst::Model::DBI::SQL::Library model from a YAML file via Catalyst::Plugin::Config::YAML ? ... Model::DBI::SQL::Library: Is 'MyApp::Model::DBI::SQL::Library' _really_ the name of the model in your application? -- # Robert &#x

Re: [Catalyst] Performance

2007-03-09 Thread Robert &#x27;phaylon'; Sedlacek
, just use html: Unfortunately, this kills off one big advantage: I can pass an action to uri_for and configure my URIs independently of the application in my configuration file. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL

Re: [Catalyst] More than one form per page with C::C::FormBuilder?

2007-02-12 Thread Robert &#x27;phaylon'; Sedlacek
o keep the niceness of the "Form" pragma in > the controller and all the cool things that go along with it. I haven't done it, but I guess you could do one form per controller by changing the stashed variable names in the controller configuration. -- # Robert 'phaylon' Sedl

Re: [Catalyst] O?Reilly might yet be interested after all

2007-02-06 Thread Robert &#x27;phaylon'; Sedlacek
it in our templates: The foo is set to [% foo(1, 2, 3) %] ... Yeah, I know. Not enough coffee yet. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } _

Re: [Catalyst] Bread crumb

2007-02-06 Thread Robert &#x27;phaylon'; Sedlacek
#x27;s title from either the config or some I18N facility. - take the controller's or action's name as a key to make a lookup similar to the former solution. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hambur

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-18 Thread Robert &#x27;phaylon'; Sedlacek
t possible URL. And I think we never disagreed on this point :) -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ Li

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-17 Thread Robert &#x27;phaylon'; Sedlacek
A. Pagaltzis said: > > * Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]> [2007-01-16 15:55]: > >> That's a rather odd comparison. I'd say "benchmarking mapping >> of URLs to methods isn't a good test of Catalyst like >> benchmarking DB

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Robert &#x27;phaylon'; Sedlacek
nst $X" I still have to disagree. Sure, a benchmark once in a while can show you how things in Catalyst got faster/slower. I'm just saying that you can't get a "X is faster than Y" but only a "X is faster as Y in the way Z uses it" out of it. -- # Robert

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-16 Thread Robert &#x27;phaylon'; Sedlacek
why. Or any documented attempts to do it > that have clearly failed ... Simple: I have yet to see a benchmark of applications or frameworks that wasn't fundamentally flawed. But as above, I would be happy if Catalyst would be the start. -- # Robert 'phaylon' Sedlacek # Perl 5

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-16 Thread Robert &#x27;phaylon'; Sedlacek
Perrin Harkins wrote: > On Mon, 2007-01-15 at 13:24 +0100, Robert 'phaylon' Sedlacek wrote: > >> Well, templating benchmarks maybe, but for an ORM I just have the >> feeling the larger factor is how you use it, not which. > > This is true, but the SQL generated

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Robert &#x27;phaylon'; Sedlacek
Perrin Harkins wrote: > On Mon, 2007-01-15 at 11:35 +0100, Robert 'phaylon' Sedlacek wrote: >> To summarize (again): The benchmark doesn't benchmark Catalyst, only >> it's dispatcher > > I think it's a lame benchmark too, but isn't a dispatcher

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
nough to compensate every slowness that might have happened, so I know it works for me[tm]. One of the biggest reasons I'd like to see _real_ benchmark between Catalyst and others is to bring some balance into the current resources. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst De

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
ople who argue like "my language is better." The real reason for them to say that Perl stinks is, that most people say that Perl stinks. I have given up on it. Tell it to the people who are able to listen and don't waste your energy on the rest. -- # Robert 'phaylon' Sedla

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
Daniel McBrearty wrote: >> Personally, I don't care about templating and ORM benchmarks, > > why not? Well, templating benchmarks maybe, but for an ORM I just have the feeling the larger factor is how you use it, not which. -- # Robert 'phaylon' Sedlacek # Perl 5/Ca

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
gt; possible. Then we could have several tests: > - just retrieve a row and display results /db_retrieve > - same with one or more joins required /db_join > - write/update a row /db_write > > 4. a random mix of all the above. Personally, I don't care about templating and ORM be

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
Zbigniew Lukasiak wrote: > I did try my tests once again and they do indeed use WEBrick. I'll > try to fix that. By the way - is it possible to deploy Catalyst over > lighttpd? FastCGI? :) -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Ger

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
t's dispatcher (and as I see it from the site and tarball, TT) and the way it does it hasn't even anything to do with dispatching in real applications. I never used RoR, but as I understood it, it's dispatching facilities are no way near those of Catalyst. -- # Robert 'phay

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-15 Thread Robert &#x27;phaylon'; Sedlacek
my ( $self, $c ) = @_; $c->stash->{template}="index.tt2"; } -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' }

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
ff the net by default seems bad to me. Also, devs without internet connection could get in trouble. IMO it also shouldn't update itself, but rather just tell the user if there's a newer version. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
PAN makes the docs available and we could happily link and point people to it. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
of simply saying a module is bad, we should tell people _why_ it is bad. Or the next guy is going to use the failure in his own module again. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => '

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
eplacement 2. Add module and it's replacement to the old module's list 3. Add module to the new module's list. 4. Release new module 5. Rerelease old module [1] I use C:P:DP here for the Deprecated Plugins plugin -- # Robert 'phaylon' Sedlacek # Perl 5/Ca

Re: [Catalyst] IMPORTANT: Catalyst::Plugin::FormBuilder obsoleted by ::Controller::FormBuilder

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
A plugin emmitting warnings based on a list in the module (deprecated modules and replacements, specific versions, etc) sounds easier to manage and keep up-to-date than a wiki page. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germ

Re: [Catalyst] Getting the result of the template processing

2007-01-03 Thread Robert &#x27;phaylon'; Sedlacek
. What command should I use in place > of "$c->process_template"? I couldn't find any plugin to do that, but not > sure I looked deeply enough to find it, though... Why not just use the ->render() method of View::TT? -- # Robert 'phaylon'

Re: [Catalyst] schema

2006-12-24 Thread Robert &#x27;phaylon'; Sedlacek
t;search({name => 'barney'}); instead of my $schema = $c->model('DB'); my $barnes = $schema->resultset('Person')->search({name => 'barney'}); And I don't think Model::DBIC::Schema pays attention

Re: [Catalyst] schema

2006-12-24 Thread Robert &#x27;phaylon'; Sedlacek
orts YAML, JSON, XML, INI and Perl formats. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@lists.r

Re: [Catalyst] schema

2006-12-24 Thread Robert &#x27;phaylon'; Sedlacek
't access a DBIC resultset directly via $c->model('DB::Foo'); -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' }

Re: [Catalyst] schema

2006-12-24 Thread Robert &#x27;phaylon'; Sedlacek
; and just change the name of the db in the application config. Umm, why don't you just have two config files with different DSNs to your schema? During development, my config has a "dbi:SQLite:..." DSN in it, and the production server uses a postgres one. -- # Robert 'phaylon

Re: [Catalyst] schema

2006-12-24 Thread Robert &#x27;phaylon'; Sedlacek
he > entire application? Sorry, I don't get it. $c->model() *is* available in the entire application. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } __

Re: [Catalyst] Catalyst::Controller::FormBuilder config problem

2006-12-22 Thread Robert &#x27;phaylon'; Sedlacek
ntrollerBase/Foo.pm IIRC. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@lists.rawmode.org Listinfo: http://li

Re: [Catalyst] using 'config' in a partpath

2006-12-22 Thread Robert &#x27;phaylon'; Sedlacek
Ash Berlin wrote: > Ian Docherty wrote: >> sub Config : PartPath('/config') Chained('/') CaptureArgs(1) { >> [...] >> Any ideas on how I can have a lower-case 'config/32/xxx' in my PartPath? > > By using PathPart instead ;) Also, Path

Re: [Catalyst] No default action defined.

2006-12-21 Thread Robert &#x27;phaylon'; Sedlacek
fault : Private in the Root controller but it does not seem to > find it. If I put that default in the main app controller it finds > that...what changed? Hard to tell without _any_ details. Startup and Request debug output might help that a bit. -- # Robert 'phaylon' Sedlacek # Pe

Re: [Catalyst] Virtual file system

2006-12-18 Thread Robert &#x27;phaylon'; Sedlacek
on this kind of question... > > Appreciate your help I thought about it, but as you said, there's no need to reinvent stuff that's already there :) -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => &

Re: [Catalyst] Virtual file system

2006-12-18 Thread Robert &#x27;phaylon'; Sedlacek
It is a much cleaner approach in my experience. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@lists.rawmode

Re: [Catalyst] has something like DBI's fetchrow_hashref()?

2006-12-18 Thread Robert &#x27;phaylon'; Sedlacek
'get_columns' method in DBIx::Class::Row. This should be what you're looking for. -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' }

Re: [Catalyst] Virtual file system

2006-12-18 Thread Robert &#x27;phaylon'; Sedlacek
rial/view/x/y/z /material/add?under=/x/y/z -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' } ___ List: Catalyst@lists.rawmode.o

Re: [Catalyst] Best practice for using transactions?

2006-12-15 Thread Robert &#x27;phaylon'; Sedlacek
forward to multiple actions with TransactionDBIC from one without. But this might still be the right thing to do, depending on what you want. gr., Robert -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => '

Re: [Catalyst] {OT] protecting against attacks with multilingual input

2006-12-05 Thread Robert &#x27;phaylon'; Sedlacek
Daniel McBrearty wrote: > > How does one do this? > > If you have a text input field which can be in *any* language, which > will get stored in the db, how do you protect against script > injection? Transform it to entities? Do you have an example? -- # Robert 'pha

Re: [Catalyst] old versions of Catalyst on CPAN

2006-12-03 Thread Robert &#x27;phaylon'; Sedlacek
PITA. Personally, I'm on ++ for the "Release a new Catalyst dist with pointers and deps" solution. gr., Robert -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.

Re: [Catalyst] Last Chance / Last Day: Web development platform contestand Perl / Catalyst

2006-12-01 Thread Robert &#x27;phaylon'; Sedlacek
Alvar Freude wrote: Perl IS NOT dead. But for people who are not part of the Perl community, it either looks dead (or only for some small shell scripting) or they don#t know it at all. And then there's the people who just like to talk. Many of those who say "Perl is ugly" the loudest haven't

Re: [Catalyst] Re: Last Chance / Last Day: Web developmentplatformcontestand Perl / Catalyst

2006-12-01 Thread Robert &#x27;phaylon'; Sedlacek
A. Pagaltzis wrote: Ruby is popular because it takes most of Perl 5, throws out all the crappy crud, much of which Larry is also throwing out in Perl 6 (type globs? wtf?), adds a sane OO system, which Larry is also doing in Perl 6, and puts the whole thing into a simple regular syntax that has a

Re: Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2006-11-16 Thread Robert &#x27;phaylon'; Sedlacek
les. They just pointed out why they think the benchmark won't hold. And imho we shouldn't discourage people from stating their opinion. Just my 2 cents. gr., Robert -- # Robert 'phaylon' Sedlacek # Perl 5/Catalyst Developer in Hamburg, Germany { EMail => ' [EMAI

[Catalyst] German Catalyst Mailing List

2006-10-23 Thread Robert &#x27;phaylon'; Sedlacek
Good morning everbody, Thanks to Matt the german speaking part of the Catalyst community now has it's own mailing list: http://lists.scsys.co.uk/mailman/listinfo/catalyst-de This allows for general Catalyst discussions as well as it provides a place to organise workshop talks. And of course it

Re: [Catalyst] Forwarding to chained Path fails

2006-10-16 Thread Robert &#x27;phaylon'; Sedlacek
Bernhard Graf said: > One thing I recognized is that you can't forward to a chained path. > > Is this a bug or is there a reason why this cannot work? $c->forward takes a private path of an action, Chained is about public paths of multiple actions. I don't know if there is already a way to interna

Re: [Catalyst] [OT] Trouble with Chained Actions and Redirects?

2006-09-19 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > I have a lot of programmers with experience writing > mod_perl apps and for them (and me) we are used to the > idea that you can end processing with a location > header and returning the redirect http status code. > There is no equally obvious method to end processing >

Re: [Catalyst] Trouble with Chained Actions and Redirects?

2006-09-19 Thread Robert &#x27;phaylon'; Sedlacek
[EMAIL PROTECTED] said: > Or maybe call it redirect_and_detach so other devs that may eventually > need to read/debug the code can guess what it does without seeing what > your definition of "stop" is =) > > always good to use known verbs =) Sure. But I found some people stay away from "detach" be

Re: [Catalyst] Trouble with Chained Actions and Redirects?

2006-09-19 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > I didn't know you could detach without an arg. That > sounds like want I want. That's docced in Catalyst.pm, tho I think it was only added recently. > I have to think I'm not the only one with this > confusion. Maybe we could alias $c->end to $c->detach > or something

Re: [Catalyst] Trouble with Chained Actions and Redirects?

2006-09-19 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > I have a controller with some chained actions. One of > the actions (not an endpoint) will redirect given a > certain value for the arguments. However I find that > this doesn't stop the chain from completing. I still > get a line about the redirect in the log, but the

Re: [Catalyst] Problem with Catalyst-Run-5.7000 tests

2006-07-17 Thread Robert &#x27;phaylon'; Sedlacek
Hi Ferruccio, Ferruccio Zamuner said: > > Yes, of course. I'm afraid I can't find anything looking like the cause in there, but there are still some things we can try. Did you install an older version of Catalyst via port/package management? Could you try make install UNINST=1 and re-run th

Re: [Catalyst] Problem with Catalyst-Run-5.7000 tests

2006-07-16 Thread Robert &#x27;phaylon'; Sedlacek
Hi Ferruccio, Ferruccio Zamuner wrote: > on FreeBSD 6.1-stable and Perl 5.8.7 the upgrade to latest version of > Catalyst gives me some errors during installation tests using cpan (and > not FreeBSD ports): Could you rerun the tests with debugging enabled[1] and post a link to that output? Thi

Re: [Catalyst] accessing action methods in a TT view

2006-07-13 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > Now in the TT view you have the stash and the context but I find no easy > way to access the $self->xxx stuff. I know it can be considered bad form > to have too much interaction between your template and your logic, but I > do have uses for this. Usually I just do somet

Re: [Catalyst] Why does the error page include my http_proxy env var?

2006-07-13 Thread Robert &#x27;phaylon'; Sedlacek
Hartmaier Alexander said: > Does anybody know why the cat error page shows the proxy url set in the > http_proxy env var? A bunch of ideas: - It's just a dump. - It's the debug screen, your customers/visitors should never see it. - Debugging some issues might get a bit hard if that's just omitted

Re: [Catalyst] newbie YAML question

2006-07-12 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > > The docs say it should be __path_to('pathpart1/pathpart2')__ with single > quotes but that didn't work for me, > the quotes became part of the string. Does anyone know if the docs are > just a bit off or is there something > wrong with my system? --john Yea, the docs

Re: [Catalyst] newbie YAML question

2006-07-12 Thread Robert &#x27;phaylon'; Sedlacek
John Napiorkowski said: > > - talentspace_portal2->path_to( 'tt_templates' ) > > I actually need to set the include path because I have several sets of > views each rooted to a different directory. However the above doesn't > work. This is because it gets parsed by YAML into: The Catalyst::P

Re: [Catalyst] Something odd with chained actions

2006-07-10 Thread Robert &#x27;phaylon'; Sedlacek
Nilson Santos Figueiredo Junior said: > > However, if I use: > > sub test1 : PathPart('test') Chained('/') CaptureArgs('1') { } > sub test2 : PathPart('test2') Chained('test1') { } > > It understands it correctly and I get: Yes, 'Chained' takes the private action name. The whole chain creates