--- Nilson Santos Figueiredo Junior [EMAIL PROTECTED]
wrote:
On 8/29/07, Felix Antonius Wilhelm Ostmann
[EMAIL PROTECTED] wrote:
after a few tests we gone use this classes under
catalyst ... and ...
dont work :-/ under catalyst our classes dont use
Attribute::Handlers
:-/ we declare
--- Felix Antonius Wilhelm Ostmann
[EMAIL PROTECTED] wrote:
OK, first the problem:
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
--- Nicolas Raspail
[EMAIL PROTECTED] wrote:
Matthieu Codron a écrit :
Hi,
Nicolas Raspail wrote:
Hello,
when playing with
Catalyst::Plugin::Server::XMLRPC following the
documentation, I get the same behaviour as Joe.
Hmmm I thought it was just me.
I have search
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Sat, Aug 25, 2007 at 12:41:11AM +0900, Matt Rosin
wrote:
Catalyst::Plugin::I18N::DBIC (and
Mango::Catalyst::Plugin::I18N) is
maybe a crosscutting thing like Zbigniew mentions
with some useful
concepts.
I'm not looking to build Drupal or
--- Jason Kohles [EMAIL PROTECTED] wrote:
Currently, attempting to pass multiple arguments to
either Chained or
PathPart attributes in a controller simply results
in an exception
being thrown indicating that you can't do that, I'm
thinking it might
be useful to change that behavior
On 8/6/07, John Napiorkowski [EMAIL PROTECTED]
wrote:
--- Aditya Verma [EMAIL PROTECTED] wrote:
Hi,
I am new to catalyst.
I have developed an application using Catalyst.
I need all my controllers to execute at startup
and
register there method
URLs.
I am
--- Aditya Verma [EMAIL PROTECTED] wrote:
Hi,
I am new to catalyst.
I have developed an application using Catalyst.
I need all my controllers to execute at startup and
register there method
URLs.
I am not getting how to execute controller at
startup.
Please help me.
Thanks,
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Jul 24, 2007 at 02:43:12PM +0100, Ian
Docherty wrote:
Thanks for pointing out the workflow CPAN module.
I am very interested
in this for my current project and must spend some
time looking at it.
Has anyone actually used workflow
--- Bill Moseley [EMAIL PROTECTED] wrote:
On Wed, Jul 18, 2007 at 09:39:25AM +, Zbigniew
Lukasiak wrote:
Hi there,
I am too working on a thick model component. It's
a ResultSet base
class with functions bearing (provisional?) names:
build_create and
build_update. They do
--- Kee Hinckley [EMAIL PROTECTED] wrote:
On Jul 18, 2007, at 10:49 AM, John Napiorkowski
wrote:
validating types for your columns. I do this for
very
common things like email addresses. Postgresql is
nice for this since you can create custom types
and
domains using Perl as your
--- John Wang [EMAIL PROTECTED] wrote:
On 7/10/07, J. Shirley [EMAIL PROTECTED] wrote:
On 7/10/07, John Napiorkowski [EMAIL PROTECTED]
wrote:
It's been said by others but I really prefer to
do all
this in my templates. It would be easy to have
this
in a Template Toolkit
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Wed, Jun 27, 2007 at 02:38:34PM -0700, John
Napiorkowski wrote:
Hi,
I'm finding that the way I usually catch shutdown
signals to perform cleanup is not working.
Setting
%SIG handlers doesn't seem to do it and I'm not
finding
--- Jonathan T. Rockway [EMAIL PROTECTED] wrote:
On Wed, Jul 11, 2007 at 09:03:29AM -0700, John
Napiorkowski wrote:
I can demonstrate this by placing an END block in
my
root modules (the MyApp.pm module)
END {
print got END BLOCK!\n;
}
This will never run under
--- Mark Zealey [EMAIL PROTECTED] wrote:
Perhaps I'm missing something, but what's the
problem with doing something
like:
package MyApp;
$SIG{INT} = sub {
graceful_shutdown();
exit(1);
}
END { graceful_shutdown() }
sub graceful_shutdown {
# Code here...
}
Note that
--- John Wang [EMAIL PROTECTED] wrote:
On 7/10/07, J. Shirley [EMAIL PROTECTED] wrote:
prototype.js and friends (scriptaculous, openrico,
etc) are rated the
lowest in those categories. It fails the robust
check by having
several things that don't play nice together, and
also I've
--- Daniel McBrearty [EMAIL PROTECTED]
wrote:
It's been said by others but I really prefer to do
all
this in my templates. It would be easy to have
this
in a Template Toolkit plugin if you wanted, but I
can't see the value of basically using perl as a
code
generator for Javascript.
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Sat, Jul 07, 2007 at 04:52:19PM +0200, Daniel
McBrearty wrote:
Hi
I want to use a persistent hash in a model, using
(I guess) Storable.
The hash would get inititalised in new, and
modified in the model. I
would use lock_store to save
--- Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
I constantly bump into the mismatch in the treatment
of 'normal'
params and the file uploads.
Wouldn't life be simpler if
$c-request-param( 'file_field' )
would return a Catalyst::Request::Upload object (or
an array of them)?
You can
--- Fernan Aguero [EMAIL PROTECTED] wrote:
| Hi There,
|
| I am taking a this week off of work and would
really like to build an
| application with catalyst. Does anyone have an
IDE that they can
| recommend? I have been developing perl apps for a
while now but have
| been using vi
Hi,
I'm finding that the way I usually catch shutdown
signals to perform cleanup is not working. Setting
%SIG handlers doesn't seem to do it and I'm not
finding that DESTROY methods are getting fired off in
the expected way.
For example if I set a $SIG{INT} handler in the
application class
--- Evaldas Imbrasas [EMAIL PROTECTED] wrote:
Actually, the example below doesn't work if there
are any TT rendering errors.
Is there a catch-all solution, or does it have to be
done on the Apache level?
I'm not sure what you mean. If you are running in
mod_perl and set an error status
--- John Goulah [EMAIL PROTECTED] wrote:
If I do something simple like this:
my $myalums = [
$c-model('MyDB::Alumni')-search({}, { rows = 20
})
] ;
and stash it:
$c-stash-{alumni} = $myalums;
I am able to iterate in the template like:
[% FOREACH alum IN alumni -%]
--- Jonathan Rockway [EMAIL PROTECTED] wrote:
On Friday 15 June 2007 08:36:33 am Christopher H.
Laco wrote:
OPTION #2: View::TT, View::Mason, View::**
--
PROS:
Template() will be honored with the use of
RenderView and the use of
--- Cookie [EMAIL PROTECTED] wrote:
It seems useless.The apache error_log still don't
output the sql.
Thanks for your reponse.
Date: Mon, 11 Jun 2007 09:41:04 +0300
From: Octavian Rasnita [EMAIL PROTECTED]
Subject: Re: [Catalyst] How to show SQL in apache
error_log?
To: The elegant
--- Michele Beltrame [EMAIL PROTECTED] wrote:
Hello Cristina!
I would like to know if there's any HOWTO (or best
practice) available
on writing Catalyst's plugins.
Try this:
http://search.cpan.org/~jrockway/Catalyst-Manual-5.700701/lib/Catalyst/Manual/ExtendingCatalyst.pod
--- Steve Francia [EMAIL PROTECTED] wrote:
I have a routine I would like to run once for each
request.
After reading through the docs, I think I have found
a good approach and
am wondering what others have done.
I created a base controller which uses base
'Catalyst::Controller' .
--- mla [EMAIL PROTECTED] wrote:
Octavian Rasnita wrote:
Hi,
Please tell me where can I find more information
about deploying a Catalyst
app.
I think there should be a way of creating a
tarball with the whole app,
including the entire application.
When installing it on the
--- John Goulah [EMAIL PROTECTED] wrote:
What are peoples thoughts on using REST not only as
a web service, but also
within the application itself as another layer of
abstraction? I would
assume in this way all the DB related calls would go
through the REST layer,
and this way they can
--- Paul Makepeace [EMAIL PROTECTED] wrote:
I'm hoping there's a 'best practice' or common
pattern for reporting
errors and messages to templates (not necessarily
just forms).
I find myself doing stuff like,
my @errors; my @messages;
# ...
if ($some_err_condition) {
push
--- stephen joseph butler [EMAIL PROTECTED]
wrote:
On 5/24/07, John Goulah [EMAIL PROTECTED] wrote:
What are some of the patterns people are using to
implement this? Any other
thoughts?
People are going to hate me for saying this... but
I've started to
adopt the Java bean paradigm
--- Richard Jones [EMAIL PROTECTED] wrote:
Having struggled to get my actions to match my urls
the way I (think) I
want, it was suggested in another thread that I put
one or more action
methods in the Root controller. I would be
interested in opinions about
what should/should not go in
--- Christopher H. Laco [EMAIL PROTECTED] wrote:
Christopher H. Laco wrote:
Jamie Neil wrote:
Can anyone tell me the best way of wrapping a non
catalyst perl module
in a Catalyst Model?
I'm trying to setup the following stack:
MyApp::Controller::Widget
MyApp::Model::Widget
--- Richard Jones [EMAIL PROTECTED] wrote:
Help - I'm going round in circles with Catalyst
actions. I want
http://localhost:3000/search to map to the method
search() in
MyApp::Controller::Search, so I defined the method
as:
sub search : Path Form('/search') { # a formbuilder
method
--- Jason Gottshall [EMAIL PROTECTED] wrote:
Chris Laco wrote:
Off Topic. Making a note for myself and
DBIC::Validation
100 can be validated because we have %colinfo
{size = 100}
Patterns could be covered in validation_profiles
at the source
level...but maybe this would be nice as
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, May 15, 2007 at 03:47:57AM -0700, mla wrote:
I find the Rails ActiveRecord interface pretty
appealing:
http://ar.rubyonrails.com/classes/ActiveRecord/Base.html
DBIC's interface is not dissimilar although it
favours data structures
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, May 15, 2007 at 12:10:15AM -0700, mla wrote:
But I'm thinking a better layout would be:
/lib
./lib/Try
./lib/Try/Catalyst/Model
./lib/Try/Catalyst/Model/DB.pm
./lib/Try/Catalyst/View
./lib/Try/Catalyst/View/TT.pm
--- Thomas Klausner [EMAIL PROTECTED] wrote:
Hi!
On Tue, May 08, 2007 at 05:13:03PM -0500, Dave
Rolsky wrote:
Just a general question to the list to see if
there is interest in
getting together a conference dedicated to
Catalyst developers. Or is
the feeling that the normal
--- Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Mar 20, 2007 at 01:15:48PM -0700, John
Napiorkowski wrote:
I may have answered my own question. A peer
pointed me to:
http://search.cpan.org/src/MRAMBERG/Catalyst-Runtime-5.7007/lib/Catalyst/DispatchType/Chained.pm
and down
Hi,
Just a general question to the list to see if there is
interest in getting together a conference dedicated to
Catalyst developers. Or is the feeling that the
normal Perl conferences cover all our needs?
_john
__
Do You Yahoo!?
Tired of spam?
- Original Message
From: Anthony Gardner [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Thursday, May 3, 2007 6:22:12 PM
Subject: [Catalyst] Catalyst MVC Best Pratices
Greetings,
I've had a look at Catalyst and RoR from a basic point of view and like both.
I'm also
- Original Message
From: Jason Gottshall [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Friday, April 27, 2007 12:54:39 PM
Subject: RE: [Catalyst] Catalyst::Model::DBIC::Schema or not?
Brian Kirkbride wrote:
Jason Gottshall wrote:
Brian
Original Message
From: Jamie Neil [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Thursday, April 26, 2007 10:47:46 AM
Subject: [Catalyst] How many models?
Hi All,
We're in the process of porting an existing CMS/Cart system to Catalyst,
and trying to work out how to deal with
- Original Message
From: Dave Rolsky [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Thursday, April 26, 2007 3:17:20 PM
Subject: Re: [Catalyst] How to pass vars to modules
On Thu, 26 Apr 2007, RA Jones wrote:
So I'm declaring it in all my
- Original Message
From: Jamie Neil [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Thursday, April 26, 2007 5:02:24 PM
Subject: Re: [Catalyst] How many models?
John Napiorkowski wrote:
I think the consensus is that it's best to create business logic type
models outside
- Original Message
From: Michael Higgins [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Thursday, April 26, 2007 5:35:09 PM
Subject: [Catalyst] query once per session?
Hello,
I'm wondering how I can get a query (that becomes a drop-down list for
- Original Message
From: Nilson Santos Figueiredo Junior [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Thursday, March 29, 2007 11:46:48 PM
Subject: Re: [Catalyst] Componentised actions.
On 3/29/07, Oleg Pronin [EMAIL PROTECTED] wrote:
I cannot
- Original Message
From: Tomohiro Teranishi [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Saturday, March 24, 2007 10:33:13 AM
Subject: [Catalyst] Data::FormValidator Plugin
Hi,
I am a big fun of catalyst freamwork and I made a plugin for
Data::FormValidator called
I have a version of Catalyst::Model::DBIC::Schema where I hacked in some code
to automatically look at the query string and perform some limits and sorting.
Basically if it sees a something like:
...?[table].page=1[table].max-results=10[table].order-by=[column].[direction]
It will
Hi,
I've been working on some action classes that are primarily used by chained
actions (although they could be used otherwise) and running into some confusion
about overriding the -match method.
It seems like if you have an action chain with several actions that have action
classes, the
- Original Message
From: John Napiorkowski [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Tuesday, March 20, 2007 4:07:29 PM
Subject: [Catalyst] creating action classes for chained actions, trouble with
overriding -match
Hi,
I've been working on some action classes
- Original Message
From: Marcus Ramberg [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Wednesday, March 14, 2007 10:22:35 AM
Subject: [Catalyst] [Announce] Catalyst-Runtime 5.7007
Hi Gang.
There's been some time since our last release, as we're busy
There's a way you can mimic PathPrefix for now. This worked for me:
http://use.perl.org/~LTjake/journal/31738
Looking forward to the swarm of tweaks and fixes that are part of the next
Catalyst release :) --John
- Original Message
From: Robert 'phaylon' Sedlacek [EMAIL PROTECTED]
- Original Message
From: Mesdaq, Ali [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Tuesday, March 13, 2007 3:00:14 PM
Subject: [Catalyst] Template Engine
I just wanted to get everyone's feedback on what they prefer as their
templating engine. I know
- Original Message
From: Octavian Rasnita [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Wednesday, March 7, 2007 12:05:35 PM
Subject: Re: [Catalyst] reserved words
From: Jason Kohles
Hi,
Please tell me how can
- Original Message
From: Octavian Rasnita [EMAIL PROTECTED]
To: catalyst@lists.rawmode.org
Sent: Tuesday, March 6, 2007 12:02:39 PM
Subject: [Catalyst] reserved words
Hi,
Please tell me how can I find the list of reserved words that cannot be used
as names for views, controllers,
- Original Message
From: Andy Grundman [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Friday, February 23, 2007 5:40:29 PM
Subject: Re: [Catalyst] Resurrected: HTTP redirect - delayed Firefox
On Feb 23, 2007, at 5:27 PM, Andy Grundman wrote:
On
- Original Message
From: John Napiorkowski [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Friday, February 23, 2007 6:26:06 PM
Subject: Re: [Catalyst] Resurrected: HTTP redirect - delayed Firefox
- Original Message
From: Andy Grundman
- Original Message
From: Jonathan Rockway [EMAIL PROTECTED]
To: The elegant MVC web framework catalyst@lists.rawmode.org
Sent: Tuesday, February 20, 2007 11:04:34 AM
Subject: Re: [Catalyst] todo list for FormBuilders (was the l10n thread)
Christopher H. Laco wrote:
FormBuilder is nice
--- Hermida, Leandro [EMAIL PROTECTED] wrote:
Hi everyone,
Do not want to start any kind of language war or
anything - just need
some concrete, objective opinions and advice. We
are starting a brand
new web application + services + database project
and my boss (those
who make the
--- A. Pagaltzis [EMAIL PROTECTED] wrote:
* Matt S Trout [EMAIL PROTECTED] [2007-02-12
11:45]:
On 10 Feb 2007, at 08:30, A. Pagaltzis wrote:
Actually, 302 means ârepeat the same request at
this other
URIâ whereas 303 means âplease retrieve this
other URI using
GET.â The
Hi,
Does anyone know the correct way to override the match
method of an Action? The docs give a great example
for overriding the execute method, and there are some
CPAN examples showing how to override dispatch, but I
can't seem to find one for match. From looking at the
source code I gather
--- John Napiorkowski [EMAIL PROTECTED] wrote:
Hi,
Does anyone know the correct way to override the
match
method of an Action? The docs give a great example
for overriding the execute method, and there are
some
CPAN examples showing how to override dispatch, but
I
can't seem to find
Hi,
The manual file for Actions at
http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual/Actions.pod
mentions that when you are adding Action classes to an
action, you can use MyAction instead of
ActionClass if the Action class is in the local
namespace. I can't seem to
--- Jason Kohles [EMAIL PROTECTED] wrote:
On Feb 8, 2007, at 1:58 PM, John Napiorkowski wrote:
Hi,
The manual file for Actions at
http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/
Catalyst/Manual/Actions.pod
mentions that when you are adding Action classes
--- Svilen Ivanov [EMAIL PROTECTED] wrote:
Hi,
I'm experiencing very odd issues when I'm trying to
make HTTP redirect
with '$c-res-redirect'.
I use the development server with option -k - keep
alive. If I make
HTTP redirect, Firefox 2.0.0.1 waits exactly 5
seconds before it loads
--- Svilen Ivanov [EMAIL PROTECTED] wrote:
2007/2/8, John Napiorkowski [EMAIL PROTECTED]:
[...]
I believe that when redirecting as a result of a
post
that 303 is supposed to be correct, whereas 302 is
used for redirects when the information is merely
at a
different location
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 6 Feb 2007, at 16:15, John Napiorkowski wrote:
package manage::Model::Action;
my $r = ActionReflector-new;
$r-reflect_action_for(
'mylib::schemas::db::membership::members',
__PACKAGE__.'membership::members::create',
'Create
Hi,
Maybe old news for some people but there is a call for
proposals for grants from the Perl Foundation. Might
be a good chance to get some funding to take care of a
few bits that people generally don't like to do for
fun or don't generally get paid for. Maybe we could
brainstorm a bit, settle
Hi,
Is there a test suite for Reaction other than the
sample application at the source control site?
Because I have a patch to fix a problem with the DBIC
action reflector not properly creating actions for
DBIC classes in a deep hierarchy (like
myschema::membership::members) but since I could
--- Dami Laurent (PJ) [EMAIL PROTECTED]
wrote:
Dear Catalysters,
I would like to set up an action chain where the
entry point to the
chain (first action) has to do different things
depending on whether
there is another action down the chain or not.
Is there a way in the API to ask
--- Jonas Alves [EMAIL PROTECTED] wrote:
On 01/02/07, Dami Laurent (PJ)
[EMAIL PROTECTED] wrote:
Dear Catalysters,
I would like to set up an action chain where the
entry point to the chain
(first action) has to do different things
depending on whether there is
another action
--- Michael Reece [EMAIL PROTECTED] wrote:
On Jan 22, 2007, at 1:30 PM, John Napiorkowski
wrote:
--- Michael Reece [EMAIL PROTECTED] wrote:
i am getting intermittent errors (under mod_perl;
Catalyst version
5.7003) from $c-dispatcher-uri_for_action:
Operation eq: no method
--- Michael Reece [EMAIL PROTECTED] wrote:
i am getting intermittent errors (under mod_perl;
Catalyst version
5.7003) from $c-dispatcher-uri_for_action:
Operation eq: no method found, left argument in
overloaded package
URI::_generic, right argument has no overloaded
magic at
--- Anthony Gladdish [EMAIL PROTECTED]
wrote:
Hi,
I'm trying to pull out all my DBIx::Class connection
details for my
Catalyst application, from a .yml config file,
something like:
---
model: MyCatPackage::Cat::Model::MyPackageDB
schema_class: MyPackage::Schema
connect_info:
--- Jim Spath [EMAIL PROTECTED] wrote:
I was wondering what the current consensus among
Catalyst users is about
what the best way to approach forms is?
I started off writing the forms directly into the
template, validating
with FormValidator::Simple, and trying to fill
values in with
Hi,
I've been thinking a lot about all the different ways
Catalyst let's you do stuff and wondering what, if
any, thoughts any of you might have regarding some of
the overlapping features of Controllers and
ActionClasses, particularly when thinking about
creating good reusable code.
Before we
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-Manifesto.html
I've written a comment in the article suggesting
that this is a pretty major
ommission and that he might want
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 14:33, John Napiorkowski wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto
here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-
Manifesto.html
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 14:33, John Napiorkowski wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto
here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-
Manifesto.html
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I often need to make external redirections like in
the following case:
sub logout : Local {
my ($self, $c) = @_;
$c-logout;
$c-res-redirect($c-uri_for(/));
}
When I access /user/logout for executing this
subroutine, it prints the
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
From: Eden Cardim [EMAIL PROTECTED]
No, there isn't. Catalyst only emits the response
after all the
actions are dispatched. One way you can keep the
end action from
running is by not having one. In your case, set up
a Controller
without
Since it's Friday before the holiday (for me in the
USA at least) I thought to share some random
speculation with the list.
I've been working a bit with the Google Web Toolkit as
part of my day job and although I really love the idea
behind it I don't love the Java complications of it
and was
--- Lorn [EMAIL PROTECTED] wrote:
you can passa the $c from controller to model
$c-model(foo)-bar($c,$foobar);
I'd vote for this method over setting the context,
since one of the goals of a model is to not care about
how or when it's called, that way you are encouraging
yourself to not build
--- Eden Cardim [EMAIL PROTECTED] wrote:
On 12/27/06, Mark Zealey [EMAIL PROTECTED] wrote:
Hi there,
I'm basically wanting to write a simple log
function which logs hits on my
website as entries in a database (automatically
adding $c-user-{id} and
$c-req-referrer etc), but to do so
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
Could you please tell me why the templates should be
put under the /root
directory?
Well, the only good reason I can think of is that
since it's the default all other Catalyst developers
will look for them there first. Otherwise I know
--- Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I have made the following controller:
package TranzactiiBursiere::Controller::Bunatati;
use strict;
use warnings;
use base 'Catalyst::Controller';
sub bunatati : General {
my ( $self, $c ) = @_;
$c-res-body(okokok);
}
1;
--- Ashley Pond V [EMAIL PROTECTED] wrote:
On Wednesday, Dec 6, 2006, at 21:06 US/Pacific, A.
Pagaltzis wrote:
* apv [EMAIL PROTECTED] [2006-12-07 01:35]:
Does anyone have sample code of anything AJAXy
(don't care
about the library or if it's hand rolled) that
runs under
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 6 Dec 2006, at 13:57, Simon Wilcox wrote:
On Wed, 6 Dec 2006, Matt S Trout wrote:
I wouldn't use HTML::Widget at all. The people
who took over maint
after sebastian gave up on it have struggled
valiantly to make it
useful and
-- Brian Cassidy [EMAIL PROTECTED] wrote:
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',
'',
--- A. Pagaltzis [EMAIL PROTECTED] wrote:
* John Napiorkowski [EMAIL PROTECTED] [2006-11-29
00:05]:
I often find that the resource of a given URI can
have
alternative formats. For example, I might have a
table of
information on an html webpage and I want to offer
two
alternative
Hi,
This is more of a best practices type question that's
come up for me again and again and I thought to get
the community's thinking, particularly given the REST
oriented discussion floating around lately. It's not
specifically about Catalyst although as we further our
best practices
--- Jonathan Rockway [EMAIL PROTECTED] wrote:
John Napiorkowski wrote:
According to suggestions for URI best practices,
such
as http://www.w3.org/Provider/Style/URI.html; you
should make your URI for the resource without a
file
extension, since you want to make enduring URI's
--- A. Pagaltzis [EMAIL PROTECTED] wrote:
* John Napiorkowski [EMAIL PROTECTED] [2006-11-29
00:05]:
I often find that the resource of a given URI can
have
alternative formats. For example, I might have a
table of
information on an html webpage and I want to offer
two
alternative
--- Renaud [EMAIL PROTECTED] wrote:
Hello,
I understood that using the Chained actions way
would be the more proper
way to design an uri-based multilangual
application. In my case, I have
to extract a province and a language from my url, so
here is how I coded
it:
In Root.pm:
sub
--- Mao DengFeng-e13751 [EMAIL PROTECTED] wrote:
Hi,
When I run catalyst, Sometime I got below error:
--
Use of uninitialized value in subroutine entry at
/opt/perl/lib/5.8.6/i686-linux-thread-multi/Socket.pm
line 370.
Bad
Hi,
I've been playing with the PAR module for my
deployment, following the tutorial, but when I get to
the make catalyst_par part I get a list of output
with no apparent trouble and then at the end I get:
Writing PAR reporting.par
make: *** [catalyst_par] Error 2
Anyone run into that or got PAR
--- Ash Berlin [EMAIL PROTECTED] wrote:
John Napiorkowski wrote:
Hi,
I have a question about $c-uri_for and chained
actions.
I've really enjoyed having this feature to
programmatically create urls for me in the code.
It's
one of the greatest things about Catalyst I
think
Hi,
I've been trying to get this http-basic style
authentication plugin to work but for the life of me I
just can't figure it out from the instructions or the
test examples. When I set it up as in the
instructions I can get the browser to prompt me but if
I click cancel a few times I get right
--- Nilson Santos Figueiredo Junior [EMAIL PROTECTED]
wrote:
Lately I've been using chained actions a lot, since
it ends up making
everything look cleaner and more organized.
I tend to structure things in a way that I've got
some Catalyst
actions that load some items from the database
Hi,
In some of the Formbuilder documentation for the
configuration file I get the impression that a
subroutine or subref can be called. I get this from
looking at the documentation for:
http://search.cpan.org/~nwiger/CGI-FormBuilder-3.0401/lib/CGI/FormBuilder/Source/File.pm;
There is an example
1 - 100 of 166 matches
Mail list logo