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()
--
Peter Karman . [EMAIL PROTECTED
to provide real-time re-use of
other .tt files (via PROCESS) within the .tt file being edited. So a user could
(e.g.) pick a snippet from a dropdown list and insert it, and then see the
rendered text immediately. But on save, only the [% PROCESS foo %] gets written.
Oh, and images. :)
--
Peter
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/
___
List: Catalyst@lists.rawmode.org
Listinfo
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 - returns CatalystX::CRUD::Object-new
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-archive.com/catalyst@lists.rawmode.org
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
+++ Search.pm 2007-09-24 10:56
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 work, so I pushed it to CPAN so
the interface eventually disappearing. These
include get_user() instead of the newer find_user() 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
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 latest Authentication API
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
where I get.
These patches seem to bring
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
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 site
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.
Thoughts?
--
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 undocumented? Are there plans for a
formal API
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 suggested you use ::Simple because in your original email to me,
(a) you had indicated you
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 'em reversed.
--
Peter
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, please
.
Thank you for your attention.
Regards,
--
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
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. You
://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/listinfo/catalyst
::* 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@lists.rawmode.org/
Dev site
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: Catalyst
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 . http://peknet.com
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: Catalyst
, 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 PROTECTED
template like this:
a href=/itemh1[% item %]/h1/a
a href=[% c.uri_for('/item') %][% item %]/h1/a
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
are 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
.
--
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: http
, 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.
--
Peter
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.rawmode.org
Listinfo: http
::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 PROTECTED
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 PROTECTED
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 %]
--
Peter
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 PROTECTED]/
Dev site: http
?
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://peknet.com/ . [EMAIL PROTECTED
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 describing.
--
Peter Karman
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 archive: http://www.mail
sugo.seepaul.dyndns.org:0, exiting...
How can 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
:
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
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/listinfo/catalyst
. 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@lists.rawmode.org
Listinfo
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: http
and 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
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.mail
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 when
$c-req-browser.ie)
{
$c-stash-{ie_win_too_bad}++;
}
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
browsers below version 6.
+
+BNOTE: The Bskip_ie feature requires the Catalyst::Plugin::Browser module.
+
+
=head1 SEE ALSO
LCatalyst.
--
Peter Karman . http://peknet.com/ . [EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http
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]
___
List: Catalyst
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.com/ . [EMAIL PROTECTED
this morning. I think
the issue is how the URI::http object is overloaded. My solution was to
do the same thing the overloading does:
$c-uri_for( $c-req-base-as_string )
which is similar to what you're doing, but with the documented method
rather than forcing the overload to occur.
--
Peter
50 matches
Mail list logo