On 09/28/2007 07:30 AM, Octavian Rasnita wrote:
> Hi,
>
> I have a I18N module in my Catalyst application and I want to get the
> path to the home directory of the application. Is it possible to get it
> without hard codding it in that module?
>
$c->path_to()
--
Pe
foo %] gets written.
Oh, and images. :)
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catal
Kieren Diment wrote on 9/24/07 7:17 PM:
Thanks to mst clarifying what the CatalystX namespace is for
[snip]
I, for one, would benefit from that clarification. Matt, can you fill me [us]
in?
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED
On 09/24/2007 12:22 PM, Peter Karman wrote:
>
> On 09/24/2007 11:55 AM, Peter Karman wrote:
>
>> As I have the time (and who knows how long that will last...), I'd still like
>> to bring the LDAP plugins up to speed. I'll hack on it a bit today and see
>&g
On 09/24/2007 11:55 AM, Peter Karman wrote:
> As I have the time (and who knows how long that will last...), I'd still like
> to bring the LDAP plugins up to speed. I'll hack on it a bit today and see
> where I get.
>
These patches seem to bring the LDAP plugins up the
) et al.
As I have the time (and who knows how long that will last...), I'd still like
to bring the LDAP plugins up to speed. I'll hack on it a bit today and see
where I get.
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
___
On 09/24/2007 11:02 AM, Peter Karman wrote:
>
> On 09/23/2007 11:28 AM, Marcus Ramberg wrote:
>> Catalyst::Model::Search is a quite old module which have been living
>> in Catalyst trunk for quite a while. It's being used by MojoMojo, and
>> it just happened to wo
with them. That way someone could install C::M::Search
and get all they need to implement a new subclass, without also needing to
satisfy all the Plucene dependencies.
cheers,
pek
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
--- Search.pm.orig 2007-09-24 10:33:51.534326000 -0500
++
required for it to show up.
Thank you.
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-ar
On 09/23/2007 11:24 AM, Matt S Trout wrote:
> On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote:
>> CXCM subclasses would need to implement at least the following methods:
>>
>> * new_object - returns CatalystX::CRUD::Object->new()
>> * fetch
LDAP plugins need some help getting up to the
latest Authentication API, I have tuits to spend on it and would gladly
contribute code/tests/docs if I was told those were needed, and given a pointer
to where to start.
TIA
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
__
On 09/21/2007 09:39 AM, Jonathan Rockway wrote:
> Peter Karman wrote:
>> I see Catalyst::Model::Search on CPAN now. As the maintainer of
>> Catalyst::Model::SWISH, I'd love to get in on that namespace action. Is
>> Catalyst::Model::Search intentionally undocumen
(e.g., the rdbo() method in the
above create example).
I imagine that there could then be classes like:
CatalystX::CRUD::Model::DBIC
CatalystX::CRUD::Object::DBIC
CatalystX::CRUD::Model::CDBI
CatalystX::CRUD::Object::CDBI
etc., that would all play nicely with C::C::Rose.
Thought
earch junkie
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev
7;rose' in your POD anywhere, you'd get hits.
Try searching for 'brown fox' to see what I mean.
--
Peter Karman . [EMAIL PROTECTED] . http://peknet.com/
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.o
sure I haven't your experience but for me (and also for Peter
Karman, C::C::Rose author), the suffix "::Simple" (suggested by him)
means "Take all that [what already exists, i.e. Catalyst and Rose] and
make it simpler to use together".
Alexandre,
Actually, I had suggest
r with DBIC (or
others) to help define an API.
I outlined the existing requirements here:
http://thread.gmane.org/gmane.comp.web.catalyst.general/14116/focus=14133
--
Peter Karman . [EMAIL PROTECTED] . http://www.peknet.com/
___
List: Catalyst@l
Adeola Awoyemi wrote on 8/2/07 6:12 AM:
Hi all,
I'm trying to use Catayst::View::XSLT and my end sub looks like this:
# from MyApp::Controller::Root
sub end : Private {
my ( $c, $self ) = @_;
$c->forward( $c->view('XSLT') );
}
my ($self, $c) = @_;
you got
Matt S Trout wrote on 7/22/07 12:48 PM:
On Sat, Jul 21, 2007 at 08:02:24AM -0500, Peter Karman wrote:
check out Catalyst::Controller::Rose on cpan.
It has a different philosophy than what you've described. But if you find
features missing that you think would make it more useful, p
Alexandre Jousset wrote on 7/21/07 1:12 PM:
Peter Karman a écrit :
check out Catalyst::Controller::Rose on cpan.
It has a different philosophy than what you've described. But if you
find features missing that you think would make it more useful, please
send me patches/tests/docs etc
alidation classes (better IMHO)? For the moment the error messages are
localized in the template with a macro.
Thank you for your attention.
Regards,
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@list
e Catalyst::Exception instead of Carp and added throw_error()
method to allow for easy overriding.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinf
app.
See also
http://article.gmane.org/gmane.comp.web.catalyst.general/6703/match=moseley+port+http+backend
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/li
with the existing Session::* stuff?
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@li
On 06/01/07 15:00, mla wrote:
I've always used cvs/svn for the app. Tagged it for staging/prod and
pulled the changes to the appropriate servers.
svn++
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Cat
I believe Template::Plugin::Cache will do what you want. Perrin (the author) has
a patch from me that lets you pass in the Cache object from Catalyst and use
that, so any supported backend is available. If you bug him, I'll bet he'll get
a new version up on CPAN. ;)
--
Peter Karman
l only since tying up Cat time with static content is
considered Not a Best Practice. So I just avoid it altogether and run a separate
apache process on my dev box that serves my static content for me. That way
moving from dev to production is as simple as changing the config definition for
[%
e and Scriptaculous:
http://search.cpan.org/src/KARMAN/Catalyst-Controller-Rose-0.02/t/examples/CatRose/
And yes Dojo/Mocha/YUI/lib-de-jour lovers, I know Prototype isn't cool anymore.
;)
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List
ually, RDBO works like you describe DBIC. The *Manager classes are for groups
of objects. For one object to another, you use the fk and relationship Metadata
definitions (1-1, 1-m, m-m, etc).
$objectB = $objectA->objectB;
--
Peter Karman . http://peknet.com/ . [EMAIL P
ve this bug?
My template like this:
[% item %]
[% item %]
That second is a FAQ. Make sure you read the Catalyst advent calendars at:
http://www.catalystframework.org/calendar/2005/
http://www.catalystframework.org/calendar/2006/
--
Peter Karman . http://peknet.com/ . [
also
describing.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org
yst object, session(), and all the
rest of the methods would be available via the object returned from
session().
Yes, the Catalyst::Plugin::Cache system could work much the same way. There seem
to be a lot of syntatically sweet methods in some plugins that just wrap around
the core method.
Dave Rolsky scribbled on 5/9/07 8:57 AM:
On Wed, 9 May 2007, Peter Karman wrote:
* subclass subclass subclass
I meant that as in 'pound this into my own brain' rather than 'always do this'.
As in, 'remember that if an existing module does 90% of what you want,
talyst Model feature.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode
package MyApp::B;
use base qw( MyBaseClass );
1;
then override and extend MyApp::A and MyApp::B for whatever application-specific
reasons you have.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.raw
rtal route. The app I'm working on is a CRM
one... with various dashboard status, hot-list and other fragments that
need displaying on many different pages.
that sounds just like TT, which IIRC, you were avoiding because it seemed "less
contemporary" ;)
--
Peter Karman . http
Jeff Chimene scribbled on 4/23/07 1:06 PM:
I've installed the Catalyst-Controller-Rose 0.02 and the examples stayed
in the CPAN working directory. Is this the intended behavior?
yup. They're just examples.
--
Peter Karman . http://peknet.com/ . [EMAIL
::R controllers is an entire example Catalyst app
called CatRose. It's in the t/examples/ directory. It includes templates,
in-place-editing with Javascript, and some other goodies.
Comments/patches/tests welcome.
cheers,
pek
--
Peter Karman . http://peknet.com/ . [EMAIL PROT
27; it
works fine.
Has anyone come across this before? Any hints to fixing this would be
greatly appreciated.
http://perl.apache.org/docs/1.0/guide/databases.html#The_Morning_Bug
I often experienced it with the Session::Store::DBI plugin; I think the latest
version fixes that.
--
Peter Kar
CGI and a Catalyst base controller being released on CPAN?
I'd be interested in collaborating on something if you end up rolling your own.
We were looking at this recently:
http://trac.lighttpd.net/trac/wiki/Docs%3AModUploadProgress
and doing something similar to what you're describi
tt2 to access the id and name?
Or please point me to somewhere that I could do some reading on the question.
you want:
$c->stash->{recs} = [EMAIL PROTECTED];
and then in tt:
[% FOR rec IN recs;
rec.id;
rec.name;
END %]
--
Peter Karman . http://pekne
es/CatRose/lib/CatRose/View/TT.pm
cheers.
pek
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL
Jeff Chimene scribbled on 4/12/07 9:29 AM:
Hi,
I'm not sure if this is a Catalyst question -
How do I reference __PACKAGE__config settings from a Template Toolkit
template?
I'd like to use the config tool to set values outside the stash.
[% c.config.yourconfigkeyhere %]
on if it doesn't fit the generic model. Just
like a real web designer would. ;)
I find that defining the form in YAML is one level removed from the XHTML
itself, so I just define a base RHTMLO class with default labels for all my
fields, and then do whatever the business requirements dema
I say Perl where to seek for this script?
though the mod_perl docs claim that PerlSwitches can be inside a vhost, I had a
similar experience the other day that was solved by putting that -I/path outside
the vhost directive.
--
Peter Karman . http://peknet.com/ . [EMAIL
LO that strikes you as less than a
"clear separation of concerns"?
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
ioned from Catalyst.
In case you do end up wanting to try out Swish-e, I have uploaded my Swish-e
Model class to CPAN. I have been using it in production for about 6 mos. It is
modeled after the Catalyst::Model::Xapian API.
http://search.cpan.org/~karman/Catalyst-Model-SWISH-0.01/
--
Peter K
:
http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg06061.html
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
Christian Storm scribbled on 3/19/07 6:15 PM:
Is anyone working on a Rose::DB catalyst model plugin?
I think you mean Rose::DB::Object, and yes, I have one I'd been considering
contributing. If you're interested in collaborating, email me offlist.
--
Peter Karman . http://
ince that fresh copy is cached on the server, it seemed a fair
tradeoff to me if it solved the problem.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/li
ures in
your chains. I'm still having high hopes to build something fast(er)
with URI::Template.
http://search.cpan.org/~jsiracusa/Rose-URI-0.021/lib/Rose/URI.pm
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@l
ing a (modified) version of C::P::Breadcrumbs for a while and it
works ok.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
slimmer.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site
txt
I like it because it preserves tables pretty well.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.m
Hermida, Leandro scribbled on 12/22/06 10:11 AM:
-Original Message-
From: Peter Karman [mailto:[EMAIL PROTECTED]
http://article.gmane.org/gmane.comp.web.catalyst.general/7523/
match=ldap
It works! Thanks for this link!
glad it helped.
TLS or SSL don't seem to work
http://article.gmane.org/gmane.comp.web.catalyst.general/7523/match=ldap
pek
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.
imilar to what you describe and set stash var in begin() method:
if ($c->req->browser->windows && $c->req->browser.ie)
{
$c->stash->{ie_win_too_bad}++;
}
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
__
wned by Sebastian Riedel so we have no way of getting
> patches fed back and as such they shoul be considered entirely
> unmaintained.
>
would it still be called C::P::Compress? Or would a new namespace be needed?
--
Peter Karman . http://peknet
Peter Karman scribbled on 9/19/06 10:45 AM:
see
http://article.gmane.org/gmane.comp.web.catalyst.general/2089/match=static+simple+compress
I didn't see mention of any fix in the list archives, hence this patch.
To make some amends for my earlier bone-headedness, here's pa
l backend setup. Which server should
handle the compression? Seems like maybe the backend could, since we are
caching
pages, but don't know if there are accepted best practices on this.
Thanks.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
Perrin Harkins scribbled on 9/19/06 10:34 AM:
> Peter Karman wrote:
>> Patch below allows Compress::Deflate plugin to play nicely with
>> Static::Simple and to allow for skipping deflation based on browser.
>> Specifically, we found issues with older versions of IE tha
ou
+want to skip deflation.
+
+Example:
+
+ __PACKAGE__->config( compress => { skip_ie => 6 } )
+
+will skip deflation for all IE browsers below version 6.
+
+B The B feature requires the Catalyst::Plugin::Browser module.
+
+
=head1 SEE ALSO
L.
--
Peter Karman . http://p
a small JS lib built on Prototype that I am getting near to open
sourcing. It does exactly this: spreadsheet-style editing of multiple rows of
data.
Let me know offlist if you'd like an alpha copy; I'd love to get some feedback
on it.
cheers,
pek
--
Peter Karman . http://peknet.
s_string )
which is similar to what you're doing, but with the documented method
rather than forcing the overload to occur.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmod
64 matches
Mail list logo