A View is fine but because there is a format for files and it's
natural to show/deliver content with a view.
The view is going to be very THIN though. Basically nothing but a
wrapper around what iCalendar really is which is data and therefore
the Model domain. The view will essentially be Data::IC
On Tue, Jul 23, 2013 at 4:30 PM, David Dorward wrote:
> On 23 Jul 2013, at 9:48, Mark Keating wrote:
>
> The nice chaps at Evozon have recently been making design mocks for a
>> bunch of Perl sites and they have come up with a fresh look for Catalyst.
>> Take a look and let me know what you guys
Blast from the past:
http://grokbase.com/t/sc/catalyst/077e7jhw9g/rfc-catalyst-plugin-errorout
On Thu, May 9, 2013 at 1:42 PM, Bill Moseley wrote:
>
>
> On Thu, May 9, 2013 at 9:34 AM, Aristotle Pagaltzis wrote:
>
>> * Bill Moseley [2013-05-09 15:30]:
>> > What's the reasoning that chained a
On Wed, Oct 31, 2012 at 8:41 AM, Devin Austin wrote:
> On Wed, Oct 31, 2012 at 3:50 AM, Tim Anderson wrote:
>>
>> I have a handful of java servlets that I would like to 'front-end' with my
>> Catalyst application, essentially using Catalyst to provide
>> authentication/authorization before passin
On Wed, May 23, 2012 at 7:42 AM, Alexander Hartmaier
wrote:
> Because I've just read perlvar: $REAL_USER_ID or $UID instead of $<.
I think this is generally excellent advice but I want to argue against
it in this case.
UID => sub { $< } is sufficiently semantic *and* edifying. E.g., Oh!
That's t
On Wed, May 23, 2012 at 1:58 AM, Dag-Erling Smørgrav wrote:
> As an alternate solution, is there a way to have it use a different file
> name every time it starts?
Here's a snippet to do that:
conf.yml
--
Plugin::Session:
storage: /tmp/some-prefix-__UID__.session
MyApp.pm
--
On Wed, Jul 20, 2011 at 7:00 AM, Alejandro Imass
wrote:
> On Wed, Jul 20, 2011 at 2:25 AM, Alejandro Imass
> wrote:
>> On Thu, May 19, 2011 at 7:06 PM, Benjamin Hitz wrote:
> [...]
>> I tried to make it as practical as possible:
>>
>> http://wiki.catalystframework.org/wiki/best_practices/models_
On Fri, Apr 8, 2011 at 2:39 AM, Dami Laurent (PJ)
wrote:
>>-Message d'origine-
>>De : Ronald J Kimball [mailto:rkimb...@pangeamedia.com]
>>Envoyé : jeudi, 7. avril 2011 20:11
>>À : The elegant MVC web framework
>>Objet : [Catalyst] Fatal errors in chained actions
>>
>>I was surprised to di
On Sun, Mar 27, 2011 at 12:10 AM, Tomas Doran wrote:
>
> On 13 Mar 2011, at 14:46, ryan lauterbach wrote:
>
>> Even if the
>> URL is inproperly formed I think Catalyst should handle it gracefully.
>
> I entirely agree with this.
>
> At the very least, we should serve a 400 (bad request) page in so
On Tue, Mar 8, 2011 at 8:44 AM, Ronald J Kimball
wrote:
> On Tue, Mar 8, 2011 at 11:27 AM, Ashley Pond V wrote:
>
>> Well, the original message was:
>>
>>>> How do I call uri_for_action and pass it the '#id' part? It's not an arg
>>>>
On Tue, Mar 8, 2011 at 7:39 AM, Ronald J Kimball
wrote:
> On Mon, Mar 7, 2011 at 6:20 PM, Ashley Pond V wrote:
>> 2011/3/7 Adam Sjøgren :
>>> On Mon, 7 Mar 2011 13:01:42 -0800, Ashley wrote:
>>>
>>>> What Ronald said + the #fragment is not passed along in t
2011/3/7 Adam Sjøgren :
> On Mon, 7 Mar 2011 13:01:42 -0800, Ashley wrote:
>
>> What Ronald said + the #fragment is not passed along in the available
>> ENV with some servers and setups. In these cases it doesn't exist as
>> far as the backend is concerned. If you rely on it for dispatch, you
>> ma
On Mon, Mar 7, 2011 at 12:34 PM, Ronald J Kimball
wrote:
> On Mon, Mar 7, 2011 at 3:25 PM, John M. Dlugosz
> wrote:
>> On 3/7/2011 1:35 PM, Ashley Pond V apv-at-sedition.com |Catalyst/Allow to
>> home| wrote:
>>>
>>> Using the fragment is probably a
On Mon, Mar 7, 2011 at 10:05 AM, John M. Dlugosz wrote:
> On 3/7/2011 9:34 AM, Ronald J Kimball rkimball-at-pangeamedia.com
> |Catalyst/Allow to home| wrote:
>>
>> On Sun, Mar 6, 2011 at 6:46 AM, John M. Dlugosz
>> wrote:
>>>
>>> On 3/6/2011 5:28 AM, Andrew Rodland andrew-at-cleverdomain.org
>>
On Mon, Mar 7, 2011 at 8:15 AM, Devin Austin wrote:
> On Sun, Mar 6, 2011 at 2:52 PM, Roger Horne wrote:
>>
>> On Sunday 06 March 2011 20:52:04 Devin Austin wrote:
>>
>> > FormFu is pretty awful in my opinion. Rose::HTML stuff isn't
>> > much better.
>>
>> As an amateur I would be interested to
Let's end this thread; 23 messages is enough and the topic is barely
more relevant to Catalyst than "What kind of lunch should I have?"
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable a
On Fri, Feb 25, 2011 at 9:22 PM, John M. Dlugosz wrote:
> On 2/25/2011 9:30 AM, Ashley Pond V apv-at-sedition.com |Catalyst/Allow to
> home| wrote:
>>
>> What t0m suggested is perfectly fine but if you want to mimic the DBIC
>> API with a different engine, this example
On Fri, Feb 25, 2011 at 2:27 AM, John M. Dlugosz wrote:
> On 2/25/2011 4:06 AM, Tomas Doran bobtfish-at-bobtfish.net |Catalyst/Allow
> to home| wrote:
>>
>> __PACKAGE__->meta->make_immutable;
>> 1;
>>
>> And you then call $c->model('Foo')->data;
>>
>> The implementation of the 'data' method could
On Mon, Feb 21, 2011 at 6:11 AM, will trillich
wrote:
> That's a neat trick -- hadn't heard of that one before. But the javascript
> isn't our "nonsecure-items" problem.
Protocol free // isn't a javascript specific technique while we're on
it. It simply means use the protocol that's currently in
On Wed, Dec 8, 2010 at 6:59 AM, Larry Leszczynski wrote:
>
> In situations like this I find this flow diagram helpful:
>
> http://dev.catalystframework.org/attachment/wiki/WikiStart/catalyst-flow.png
>
> but I admit I am also not totally clear about how detach/go fit in...
> Maybe someone has an
On Tue, Nov 30, 2010 at 7:04 AM, Edmund von der Burg
wrote:
> Hello,
>
> Currently I run several Catalyst apps under lighttpd using fastcgi.
> I'd like to switch to them being HTTP::Prefork.
A very incomplete answer but I'd suggest adding PSGI/Starman to the
list of things you look at. It's HUPab
> HTML::FormHandler
Chiming in: FormHandler has been getting the most questions lately,
IIRC, but I suspect FormFu is more often used. It has its own
excellent mailing list (made excellent by the main dev, Carl Franks,
who is very responsive and helpful) so the questions don't tend to end
up here.
On Wed, Sep 8, 2010 at 2:30 PM, Bill Moseley wrote:
>
> On Wed, Sep 8, 2010 at 2:16 PM, Nicholas Wehr
> wrote:
>>
>> so which engine and version are you using? apache? built-in http? fastcgi?
>
> Apache, but that message is in Catalyst::Engine parent class.
>
FWIW, this was plaguing me in FastCG
On Sat, Aug 7, 2010 at 9:26 AM, wrote:
> I am writing a job queuing system in catalyst. I have found an example of
> a job queuing examples that uses TheSchwartz and catalyst through
> Catalyst::Model::Adaptor. Currently it uses Sqlite, I need to use MySQL,
> for me to do this I need to create
On Mon, Jul 26, 2010 at 10:53 AM, Jason Kohles wrote:
>
> Unless you are referring to the old licensing scheme (which went away some
> time ago) then discouraging ExtJS use because of it's license is absurd, as
> the license is GPL. They do have a commercial license available as an
> option, b
On Mon, Jul 26, 2010 at 9:13 AM, Andrew Jones
wrote:
> The problem is that both Prototype and jQuery use the $ variable.
> jQuery provides a compatibility mode so it can work with Prototype,
> but I don't think Prototype provides a compatibility mode.
If called "correctly" there should be no conf
On Thu, Jul 8, 2010 at 2:22 PM, Adam Sjøgren wrote:
> The example given in Config::General format in the CONFIGURATION section
> of the Catalyst::Authentication::Credentials::OpenID doesn't seem to
> yield the structure that is expected by the module.
If you, or anyone, provides a better example,
This may or may not be germane: try installing JSON::XS and updating
your JSON and JSON::Any. JSON::XS is one of, if not the, fastest
serializers in all data classes and its utf8 handling is better. JSON
now, IIRC, calls it if it's present instead of its older Perl version.
-Ashley
On Jan
I'm running… 6(?) fastcgi Cat apps on Dreamhost. These are some pointers
(I'll put them in the wiki later if I can).
* Name your app "dispatch.fcgi"
Their long-process killing script respects that name much better.
* You have to enable fastcgi in the panel for that domain. It's not
on by
y say otherwise?
-Ashley
On Dec 31, 2007, at 8:25 PM, Ashley Pond V wrote:
I'm sorry if this is a stupid question but I'm not in a position to
test it myself at the moment.
Does uri_for respect https/http? I have some that are coming up
http when the requested resource is https. I kno
On Jan 2, 2008, at 6:25 AM, Dennis Daupert wrote:
Hmmm, ok, so for example, I might set up widgets to
steps thru URL's like:
/widget/35/photo/1, /widget/35/photo/2, etc., and
use database paging set to row => 1
Something like that?
Sure.
Ash, when you mention roles, what kind of roles are
y
On Jan 1, 2008, at 9:40 AM, Aristotle Pagaltzis wrote:
* Dennis Daupert <[EMAIL PROTECTED]> [2008-01-01 17:45]:
I'm curious what people consider best practices for developing
widgets that involve a series of steps, funtions that involve
clicking thru a series of pages.
Don’t break the web: mak
I'm sorry if this is a stupid question but I'm not in a position to
test it myself at the moment.
Does uri_for respect https/http? I have some that are coming up http
when the requested resource is https. I know I have a rewrite rule
problem too so it might be my own problem. So, this is re
does store the password in plaintext - why not set
password type to 'clear' - and set the password_field to password.
This should cause authentication to happen against your unencrypted
password and should work.
Jay
On Dec 23, 2007, at 10:10 AM, Ashley Pond V wrote:
Thanks for the idea. Did
word => $user->password })
or die "RC_403: " . $user->username . " failed to
authenticate";
Regards, Peter
-Original Message-
From: Ashley Pond V [mailto:[EMAIL PROTECTED]
Sent: 22 December 2007 08:08
To: The elegant MVC web framework
Subject: [Catalyst] Leg
I have what I first thought was a gimme (this is only tangentially
related to the questions I asked a few days ago; same app, different
DB and part). Legacy porting of a "login" with Authenticate where I
already have the user id and everything verified. I have tried many
permutations of arg
x27;);
and a corresponding many_to_many in Role.pm
__PACKAGE__->many_to_many(users => 'user_roles', 'user');
So, I'm all good now but still a bit mystified about the silent
failure(?).
Thanks again,
-Ashley
On Dec 16, 2007, at 10:49 PM, Ashley Pond V wrote:
Th
te, so it shouldn't make any difference.
I don't know why the assert is failing, it should not - what do you
get if you use $c->check_user_roles() - valid results?
Jay
On Dec 16, 2007, at 4:27 PM, Ashley Pond V wrote:
Continuing saga. So I set up the many_to_many and lo! It wor
ur
relationships for you - but I don't think it can sort out many-to-
many's anyway.
Hope that helps. And I hope it makes as much sense to you as I
make to myself in my head at the moment. This, I understand, may
not be the case. If not, I'll try again tomorrow.
Jay
On
lationships for
it.
For some database types, DBIx::Class can figure out your
relationships for you - but I don't think it can sort out many-to-
many's anyway.
Hope that helps. And I hope it makes as much sense to you as I
make to myself in my head at the moment. This, I un
account.
On 16/12/2007, Ashley Pond V <[EMAIL PROTECTED]> wrote:
DreamHost is used by a few of us. It has several caveats. They
oversell and are somewhat dishonest about how they do it and what
their definitions for "disk usage" are. They have more outages than
some hosts (
DreamHost is used by a few of us. It has several caveats. They
oversell and are somewhat dishonest about how they do it and what
their definitions for "disk usage" are. They have more outages than
some hosts (I would not put a 24/7 business there) b/c they let a lot
of dynamic, db-heavy, si
now? I'm
trying to figure this out but there is a lot of inter-related code to
read, cross-package-configuration, and documentation drift/lag.
Throw me a bone, er, a line!
-Ashley
On Dec 15, 2007, at 10:18 AM, Ashley Pond V wrote:
Can you elaborate? "map_user_role" ne &qu
oader
dynamically with role authorization? If so, please share your
configuration or advise of which FMTR.
Thanks again,
-Ashley
On Dec 15, 2007, at 1:39 AM, Ferruccio Zamuner wrote:
Ashley Pond V ha scritto:
I have no "map_user_role" b/c it's dynamic Schema::Loader. Do
I can't get roles to work with an dynamic (Schema::Loader) set of
models. I am doing all the config in YAML, none in the App.pms.
Authentication *is* working. Authorization is throwing this:
Caught exception in MyApp::Controller::Thingy->add "user->roles
+ accessed, but no role configuration
atch.fcgi -d -l ~/foorumbbs.com/foorum.sock
then I can visit my homepage NOW!
Ashley Pond V wrote:
You have to enable fastcgi in their panel, not in the .htaccess.
Did you do that?
Also, I learned the hard way. Always name your app script
dispatch.fcgi. They are much more aggressive about killing
You have to enable fastcgi in their panel, not in the .htaccess. Did
you do that?
Also, I learned the hard way. Always name your app script
dispatch.fcgi. They are much more aggressive about killing long
running processes with other names.
Executables should be in 755 or better. IIRC Drea
On a tangent; there is still a bug in C::E::CGI for path handling
that can crash an app and potentially expose debug info depending on
one's setup. I reported it first in September 2006 and tried sending
in a patch with test a few months ago. If it's okay, maybe I can have
the fix in for Ch
I had exactly the same problem two days ago and found the same fix.
On Dec 13, 2007, at 1:06 PM, Daniel McBrearty wrote:
I still had
-Authentication::Credential::Password
-Authentication::Store::DBIC
in the modules list, from the old setup. Removing these seems to have
fixed the probl
Regards,
Steve Sabljak
On Dec 8, 2007 6:10 PM, Ashley Pond V <[EMAIL PROTECTED]> wrote:
Yep. You have it right. Now the tuits…
On Dec 7, 2007, at 10:29 PM, Jonathan Rockway wrote:
On Fri, 2007-12-07 at 21:29 -0800, Ashley Pond V wrote:
Catalyst::Model::GoogleCalendar
Strikes me as good ide
Yep. You have it right. Now the tuits…
On Dec 7, 2007, at 10:29 PM, Jonathan Rockway wrote:
On Fri, 2007-12-07 at 21:29 -0800, Ashley Pond V wrote:
Catalyst::Model::GoogleCalendar
Strikes me as good idea. Anyone already doing it? Also strikes me as
a *lot* of code to write. It's a big AP
Catalyst::Model::GoogleCalendar
Strikes me as good idea. Anyone already doing it? Also strikes me as
a *lot* of code to write. It's a big API and date stuff is always "fun."
http://code.google.com/apis/calendar/developers_guide_protocol.html
-Ashley
_
I think there is a lot more interest than the interested parties
themselves realize.
Please do put this up. I can definitely see using it (maybe on
something right now) and I think many others would end up using it in
a Registry.pm-like way to segue into a shinier codebase. Any new
trails
Really good food for thought from everyone. Strangely enough, at
least when I notice, Bill's code is the most like my own of anyone on
the list; in approach and style. I'm less certain than ever, of
course, what I'll end up with but I'm better informed.
Thanks everyone.
On Dec 5, 2007, at
I'm playing with CP::FormValidator::Simple and I like it all right
but I feel like there must be something better than it and
CP::FormValidator.
Putting the form profiles in YAML seems to work great (even though I
hate the fairly ridiculous arrays of arrays grammar). For example:
In Contr
My second blog package, I'm sorry to report the first wasn't tight
enough, and this, the second, never generalized enough for wide
release; it's full of hooks and junk just for my stuff. A stripped
down, "as correct as possible," generalized version for the CPAN is
on my tuit list though.
On Nov 20, 2007, at 2:29 PM, Matt S Trout wrote:
On Tue, Nov 20, 2007 at 08:41:02PM -, Peter Edwards wrote:
On Mon, Nov 19, 2007 at 11:03:24PM -0800, Ashley Pond V wrote:
"Let Catalyst handle /login. Make legacy code get user out of
session.
That's a really good way so long
I'm working on some session code which I'd like to be able to use
with legacy code (non-Cat) and Cat. No problem. Apache::Session
(::Flex) and CGI::Session both have Cat plugins so either one will
migrate fine (seems like CGI::Session is the winner; deeper controls,
same divers backends, act
I'm looking at doing a Cat App for my wife's green cleaning business
to handle scheduling, reminder emails for cleaners/clients/managers,
quote requests, billing tracking, display open times for cleans, and
auto-assignment of jobs based on address of client + preference of
cleaner. As long
elease yet, just the trunk.
On Nov 15, 2007, at 1:03 PM, Christopher H. Laco wrote:
Ashley Pond V wrote:
That is really cool and answers something I've wanted to do for a
long
time (let the user define the URI to customize a package). I have a
question. Using the PathPrefix seems to work a
That is really cool and answers something I've wanted to do for a
long time (let the user define the URI to customize a package). I
have a question. Using the PathPrefix seems to work as advertised but
it does not replace the default path.
So, in a test I just did, MyApp::Controller::Articl
07 at 12:08:29PM -0800, Ashley Pond V wrote:
I'm having trouble getting Plugin::Cache to handle DBIC objects
correctly. Past instruction, and recent refresher, from MST shows
that you have to reset/revive the result source and this works for a
single object but blows up for prefetch.
Why not j
I'm having trouble getting Plugin::Cache to handle DBIC objects
correctly. Past instruction, and recent refresher, from MST shows
that you have to reset/revive the result source and this works for a
single object but blows up for prefetch.
In this code
my $article = $c->cache->get(
I would. Better to keep it partitioned where it belongs. Less
cross-talk and wasted threads about what should and shouldn't have
been posted. Every Perl hacker who is looking for work should
already be checking jobs.perl.org (I've landed two gigs that way).
-Ashley
On Nov 13, 2007, at 1:48 PM, J
64 matches
Mail list logo