ble to integrate
it into my model - so I can require a certain permission to call $obj->update
on a DBIC row or whatever.
Might be interesting to start a thread on the DBIC list about model level
security if you were so inclined.
--
Matt S Trout Need help with your Catalyst or DBIx::Cla
1.png
Scott Ladzinski:
(3) http://ion0.com/hx/cat/new-version-2-26.jpg
(4) http://ion0.com/hx/cat/catalystSiteDesign3.jpg
Mike Whitaker:
(5) http://agaton.scsys.co.uk/~matthewt/catsite/catsite-Penfold.pdf
Gentlement, start your feedback engines.
--
Matt S Trout Need help with your
Remember, if you want your design to be considered for http://catalyst.perl.org/
it needs to be in the "mst (at) shadowcat.co.uk" mailbox by tomorrow or
your excuse for needing until sunday needs to be instead.
--
Matt S Trout Need help with your Catalyst or DBIx::Cla
d; that's fine. I'll print out the dumbest
complaints and put them on my wall or something.
Happy designing. Please try and make it better than http://trout.me.uk/ ;)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorh
i
in case somebody has time to do it later ...
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platf
On Thu, May 29, 2008 at 10:07:50AM +0100, Tomas Doran wrote:
>
> On 29 May 2008, at 06:44, Matt S Trout wrote:
> >As I said before, Catalyst will treat the namespace corresponding
> >to the
> >file and any -subnamespaces- as components to load.
> >
> >W
s whitespaces changes.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/http:
atabase...
No you don't.
$c->user->obj returns the DBIC object.
So $c->user->obj->user_id will give you the user_id.
Although really, you shouldn't need that in your controller. Why do you
think you need a model-specific integer in code that's no
On Fri, May 23, 2008 at 10:36:54AM -0700, Bill Moseley wrote:
> Before I start debugging I'm curious if this is a know issue.
Yeah, it means your app is fucked and didn't load.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Techn
t; [3] Should script/myapp_setup.pl exist in a PAR archive in order to
> > prevent the problem of the script not running because of missing
> > dependencies?
Yes, or bundle its own local::lib.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Techn
On Mon, May 12, 2008 at 01:36:57PM -0400, Robert L Cochran wrote:
> I have a MySQL version 5 table named languagelist structured like this:
You seem to have accidentally posted this to the Catalyst list. I think you
meant this to go to the dbix-class list?
--
Matt S Trout Need h
troller/Foo.pm containing
MyApp::Controller::Foo::Child[123].
We don't go round ranbdomly instnatiating every package we find in any
file under Model/View/Controller - *that* would be a bug. Not doing so is
a feature :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class pr
me sort that can be used to deploy
> the application
You want it to run 'make catalyst_par' for you?
> - Install the preresiquites via CPAN
You want it to run 'make installdeps' for you?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project
On Sat, May 10, 2008 at 07:16:44PM -0700, Ashley wrote:
> On May 10, 2008, at 6:44 PM, Matt S Trout wrote:
> >On Sat, May 10, 2008 at 05:56:41PM -0700, Ashley wrote:
> >>Arguing that users who cargo-cult their configs from POD deserve
> >>coddling and MODULE AUTHORS MUST
which could vary between controllers, say) or maybe passing an arrayref
of action objects indicating the precise chain.
Have a think about it and see about an RFC if you're still interested; the
trouble is the extra bookkeeping rapidly gets us to the point where the
base class + N contro
users are clearly repeatedly not getting this, it's time to change stuff.
If we do a 5.71 I think the catalyst.pl default should change then, and
then after a few months we file bugs against every distribution still
using YAML examples instead of code and/or .conf.
--
Matt S Trout
t=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> "> Try it now.
>
You're posting in HTML only.
Fix your mail client.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.sha
on - it's -usually- going to be enlightening.
[0] If anybody ever finds out who coined the phrase "best practice" please
tell me so I can send them a flaming llama turd as an expression of my
love of it.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project
l..
>
> Is there any sane way of doing this? Am I missing something obvious?
>
> Cheers
> Tom
>
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searc
is sending the response it's doing so by reading
from the filehandle and the error's turning up during $fh->read.
It'd of course be easier for you to confirm this, since you have the
copy of IO/Handle.pm and the line number - maybe you could look?
A good way to check would be to loop
lement a fix didn't seem a very good
> idea.
I think there was some discussion over the same error in the POE HTTP
client over on perlmonks that included a "this is the line of code that
is wrong". I can't find the link offhand though.
--
Matt S Trout Need help w
that far down the dependency chain.
Anyway, this thread was started to try and help get the fallout fixed,
not for you to posture. Either write code, shut up, or start a separate
thread so I can safely killfile it.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project
On Mon, May 05, 2008 at 07:50:08AM -0700, J. Shirley wrote:
> On Mon, May 5, 2008 at 4:31 AM, Matt S Trout <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, May 04, 2008 at 09:06:30AM -0700, J. Shirley wrote:
> > > On Sun, May 4, 2008 at 8:52 AM, Zbigniew Lukasiak
Doubt it.
The problem was the browsers gleefully threw out half the headers we were
trying to send when we used a PUT request. Fuck all dojo can do about that
so far as I can see.
Of course I forget which browsers and which headers, but it sure as hell
fucked our shit up but good.
--
Mat
the database uses is completely useless to the
> user. /user/1634254 is silly, /user/jshirley is meaningful.
I fail to see how whether the PK is the lookup key or not has any
relevance at all to the original point, which was "your lookup key and
names of actions might clash so it
terns it can be a hell of a lot more
efficient.
Pragmatism is a many-edged sword :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed deve
a thing, of course.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/
elp with. If
you don't tell us the actual error message, we can't do anything - you're
almost as vague as my uncle is when he says "the internet is broken".
Oh, and ignore Ali M. He likes telling people how awful their documentation
is and how they should write more but hasn&
."])
> unless $id;
>
> my $gr = GeneRelations->new(
> %{$c->config()->{dbinfos}},
> org => $c->session()->{org}->{id_org},
>);
>
> my $t = $gr->display_graph(type => 'id_gene', value =>
&g
On Sun, May 04, 2008 at 11:19:24PM +1000, Toby Corkindale wrote:
> On Sat, May 03, 2008 at 11:22:49PM +0100, Matt S Trout wrote:
> > On Mon, Apr 28, 2008 at 11:30:53AM +1000, Toby Corkindale wrote:
> > > Unfortunately due to somewhat unusual app deployment tactics her
On Sun, May 04, 2008 at 07:28:46PM +0200, Marcus Ramberg wrote:
> On 4. mai. 2008, at 15.39, Matt S Trout wrote:
>
> >Then again, I originally learned Catalyst by reading the source;
> >took me
> >about 8 hours. The only thing that confused me was the dispatcher,
>
http://use.perl.org/~acme/journal/36321
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http
ter for determining an architecture that allows you to
use whatever alternative you like.
Please don't let your obsessive REST advocacy blind you to pragmatic
software development issues; it's starting to get boring.
--
Matt S Trout Need help with your Catalyst or DBIx:
est suite.
Then again, I originally learned Catalyst by reading the source; took me
about 8 hours. The only thing that confused me was the dispatcher, which is
why I rewrote most of it later when I became a contrib :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project
uld end up being most of the website,
> since it's powered by hierarchical fairy dust.
I believe #catalyst-site is the location for the working party.
Please nobody join that channel unless you're planning to implement;
bikeshedders unwelcome and can expect to be banned.
Commit bits
If you're going to resubmit a patch, please do so as a diff -ur or
'svn diff' or 'svk diff' to the list, and send it as plain text rather
than application/octet-stream.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directo
requiring that the
> config file lived in the same non-standard location.
How about using
__PACKAGE__->config(
'Plugin::ConfigLoader' => {
file => __PACKAGE__->path_to(...)
}
);
or setting an environment variable?
--
Matt S Trout Need he
There's about four different conversations going on on it now.
Please anybody who considers one of those conversations worth keeping
start a fresh thread with a more accurate subject. It'll make the conversation
saner.
--
Matt S Trout Need help with your Catalyst or D
ty errata link here:
http://catwiki.toeat.com/thebook
Don't even waste your time submitting to them, just hassle them to link
to the real errata list we've collected :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
Unsubscribed and banned. Bai.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com
On Wed, Apr 23, 2008 at 10:56:07PM +0200, Aristotle Pagaltzis wrote:
> * Matt S Trout <[EMAIL PROTECTED]> [2008-04-23 21:40]:
> > On Wed, Apr 23, 2008 at 03:25:47PM +0100, Curtis Fletcher wrote:
> > > Digging around, is it a sane thing to have:
> > >
> >
tage of "completely broken"
> kind of undermines that theory.
>
> I'm quite aware that I've spent more time debating the point than it
> would have taken just to do this nugatory work, but then we wouldn't be
> having this interesting discussion.
starts?
package MyApp::View::TT;
use base qw(Catalyst::View::TT);
__PACKAGE__->config(
...
);
use Moose;
around template_vars => sub {
my $orig = shift;
my $self = shift;
return (mk_hash => sub { ... }, $self->$orig(@_));
};
no Moose;
1;
--
Matt S Trout
On Wed, Apr 23, 2008 at 03:25:47PM +0100, Curtis Fletcher wrote:
> > -Original Message-
> > From: Matt S Trout [mailto:[EMAIL PROTECTED]
> > Sent: 23 April 2008 14:34
> > To: The elegant MVC web framework
> > Subject: Re: [Catalyst] Dispatching
q->base at the moment though I'm not sure that's
> the best way to go.
I meant $c->req->uri->host, sorry.
> Really finally, has anyone thought of putting together a flowchart of
> the Classes/methods involved in a Catalyst request response if it's been
> done
$URI::uric])/$URI::Escape::escapes{$1}/go for @args;
> -unshift(@args, $path);
>
> It this case all data will be encoded.
>
> Any suggestions?
$c->uri_for($c->controller('Network')->action_for('root'), 'some_param1',
&
set of
> Exceptions. The library provides come really common filtering facilities
> for my apps like "active" flag and "valid_from"/"valid_to" date ranges
> for records.
That smells like there's a couple nice DBIC components in there trying to
escape.
Wa
> specific methods? (Well those that use DBIx::Class as their model
> anyway)
No, generally they don't. That's why they end up with controllers full of
crap.
Anybody trying to write -actual- MVC code with Catalyst+DBIC will have
resultset classes though :)
--
Matt S Trout
gt; sub view : Local Domain('mydomain.com')
> {
> }
Write an Action Class.
You can put whatever you want in the match() method. In your case,
return 0 if grep { $c->req->host =~ /$_/ } @{$self->attributes->{Domain}||[]}
looks about right.
--
Matt S
t. Don't. Stoppit.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/
d; since obviously an unpacked dist
-must- have a Makefile.PL otherwise it's not a valid dist[0]
Choose one option :)
[0] Yes, we do check for Build.PL as well. Hush.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorht
d. Welcome to the real world sucking. If it was perfect, we'd need a
lot less developers :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or dep
On Mon, Apr 21, 2008 at 11:49:56AM +0930, Jon Schutz wrote:
> On Sun, 2008-04-20 at 15:15 +0100, Matt S Trout wrote:
>
> > So far as I can see, all we really need to do is supply a proxy of the
> > common Tree::Simple method from the C::Stats object through to $self->{tre
le application and multiple inheritance -are- basically
isomorphic for a lot of purposes; the difference is it's much easier to
shoot yourself in the head with multiple inheritance.
Which is probably why it's not popular - people are scared of powerful tools
that can bite :)
--
Mat
dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Model-PayPal-IPN/
I wrote this for a project a while back but haven't had time to add docs
and tests so it can be released.
Volunteers would be much appreciated; commit bit on request.
--
Matt S Trout Need help with your C
n your controller (as
opposed to your model) to -need- unit testing you're doing something wrong.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a
n
model, and then add your business logic methods below the md5 line so the
skeleton parts can be regenerated.
You should always be adding more code to your DBIC schema than you're adding
to your controllers; if you find it's the other way round, you're doing it
wrong.
--
Matt S
guration file?
>
> Do you (or others) agree that the autoflush option to new() is a misnomer?
> If not, wouldn't my test simply prove that the code doesn't do what it
> doesn't say it does?
The autoflush option to new has the right name, but does the wrong thing.
So
urn it.
So far as I can see, all we really need to do is supply a proxy of the
common Tree::Simple method from the C::Stats object through to $self->{tree}
and we're done. That'll provide compatibility with obvious usages without
adding any significant compatibility overhead.
I was ho
On Fri, Apr 18, 2008 at 01:31:37PM -0700, Tatsuhiko Miyagawa wrote:
> On Fri, Apr 18, 2008 at 10:54 AM, Matt S Trout <[EMAIL PROTECTED]> wrote:
> > But you're writing a new catalyst app, so you're deploying it under
> > fastcgi,
> > right?
> >
> >
ispatch
setup and then expect the dispatcher to work.
Also, a controller is an object. Calling methods as subroutines is
-just- -wrong-.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co
On Wed, Apr 16, 2008 at 06:59:14PM -0700, Ashley wrote:
> Is there an established way to emulate this in Cat?
>
> CGI::Dump()
>
> I like it for dev work and simple one-off forms that are human
> processed.
[% USE Dumper; Dumper.Dump(c.req.params) | html; %]
or so ?
--
e.
I'm aware this sucks, and I'm still very pleased we have a proper documented
stats API, but it still needs doing.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
t; correctly (the mod_perl guide recommends against forking
> http://modperlbook.org/html/10-2-Forking-and-Executing-Subprocessesfrom-mod_perl.html).
But you're writing a new catalyst app, so you're deploying it under fastcgi,
right?
Really, mod_perl is a legacy deployment option.
.
>
> v/r
>
> -matt
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site:
in trunk.
> Subroutine initialize redefined at
> /usr/local/lib/perl5/site_perl/5.10.0/Class/C3.pm line 70.
Send patches to Class::C3
> Name "MailRu::Catalyst::Plugin::Authentication::setup" used only once:
> possible typo at /usr/local/lib/perl5/5.10.0/NEXT.pm line 58.
On Thu, Apr 10, 2008 at 03:11:56PM -0400, Matt Pitts wrote:
> > -Original Message-
> > From: Matt S Trout [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, April 10, 2008 12:33 PM
> > To: The elegant MVC web framework
> > Subject: Re: [Catalyst] Memory leak under
wrappers are far, far more
powerful so it made modeling the system as half object + protocol (the
protocol being a JSON transport) much easier.
I am not, however, a JS expert; I spent most of my time beating Cat + DBIC
with a stick, as usual :)
--
Matt S Trout Need help with
ests path (like
> the .fb files when using Formbuilder).
>
> I'm curiuos of your opinions.
Should be a controller base class.
Using a plugin for this is bad style - see for example Controller::FormBuilder
which replaces the old Plugin::FormBuilder
--
Matt S Trout Need he
accessible via $c->stats. Any ideas anyone?
Debug mode is what turns on the internal statistics and action timing code,
so the stats object isn't initialised without it.
I'm not sure if this is a bug or a feature.
--
Matt S Trout Need help with your Catalyst or DBIx::Clas
et engine, but I wasn't
> > really happy with it.
>
> Yeah – as I said, it’s faster when comparing all possible
> approaches. But the app must be designed around that model.
> Catalyst isn’t.
Debolaz' auto-nonblocking DBIx::Coro (which works fine with DBIC) might make
cManager just
spawns another one.
Note also that the FCGI::ProcManager maintainer is Gareth Kirwan and can be
found hopefully via this list or as gbjk on IRC.
(moral of the story: RFC on here first before coding lest ye be reinventing
a wheel :)
--
Matt S Trout Need help with your
o with Catalyst.
> Or post it to thedbix-list?
There's no such thing as 'dbix', the project si called DBIx::Class. There
are many others in the DBIx:: namespace and none of them are related.
Also, the answer is going to be 'patches welcome' so unless you fancy
implementin
est to back them up; if you've found
a way to make Catalyst ignore such, it's almost certainly a bug in either
our code our yours.
It sure as hell isn't intentional, as you can tell by the fact that the
string 'call' does not appear -at all- in Catalyst/Controller.pm
--
%{REQUEST_URI} !(.*[^/])$
> RewriteRule ^(.*)/$ /$1 [QSA,L,R=301]
>
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*) /myapp.fcgi/$1 [QSA,L]
Isn't it possible in mod_rewrite to use the P flag to pass the original
URI throug
define a
programmatic replacement for that. See Plugin::ConfigLoader docs for details.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a manage
$path); $c->detach()
>
> I guess these shortcuts are really useful. Patch is attached.
(1) Patches will -never- be attached without tests.
If you haven't written tests, you should assume your code doesn't work.
(2) There's no reason to pollute the core Catalyst with these;
re leaking SVs.
> Is it generally an acceptable practice to just restart the external
> fastcgi process periodically to free its memory?
Yep. Other than really gross leaks it's often not worth the developer time
involved to track them down.
--
Matt S Trout
you, rather than hard coding
a class. Also, never write class methods in DBIC. If you want methods, add
methods - on row objects for single-record methods, on resultsets for
collection methods, and on the schema for global things.
--
Matt S Trout Need help with your Catalyst or DBIx:
o bug Packt about it, potential customers asking for it in
Japanese is probably what will make them do it if they do :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems
- if that's -not- working then
you need to post your code and your config so we can try and figure out
what's going wrong.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
S
't so much care where it goes so
long as it's there - a mis-placed article can be moved but a nonexistant
one is no use at all :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalys
$c->action so those
> don't work so well when $c->action is undefined.
>
> This a bug in the plugin or do I need to somehow define a default
> XMLRPC action?
Bug in the plugin.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Dir
ipt/myapp_create.pl model MyAppDB DBIC::Schema MyAppDB dbi:mysql
> 'tutorial' '' '{ AutoCommit => 1 }'
Yep.
Note that DBIx::Class has its own mailing list (see DBIx::Class POD for
the details) and you'd be best asking DBIC-specific questions (like 1 and 2
g
different.
On the other hand, you do have a point.
So why not do it as a patch that allows a config option?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Wan
ed for UKUUG that week.
But that looks like fun - any and all contribs should apply :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed de
ny additional extensions?
It's probably possible, but your question isn't detailed enough to tell.
Might I suggest you ask it again, in more detail, on the dbix-class list.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
s almost always either the
templating or the DB stuff :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http:
g make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
> Can't open t/*/*.t. No such file or directory
> Cannot determine source f
n to a single
DBIx::Class::Schema.
You can create as many of them as you like.
DBIx::Class was designed from the ground up to support N connections via
the same classes.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
e('schemaname.tablename')
works just fine. if you have any further questions, please ask on the
DBIx::Class list.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shado
with the particular id.
Read the DBIx::Class::ResultSet docs - update only takes one argument, the
parameters to update with.
If you want to restrict the query, call it on a row object or on a resultset
you've already restricted using search().
If you have any more questions, please ask on th
call
> that managed. I trust you guys/gals and your experiences a great deal
> more than a forum like WHT!
Rackspace are, in my experience of clients using them, a complete pain.
The supported OS is a customised RHEL4. It goes downhill from there.
--
Matt S Trout Need help with
On Sun, Feb 24, 2008 at 11:11:37AM -0800, Daniel Hembree wrote:
> Matt S Trout wrote:
> >Since a fair few of you will now have John's book, I figured it was time
> >to ask what you'd want from a second book.
> >
> >I guess the existing one provides a pretty
On Sat, Feb 23, 2008 at 09:25:07PM +0300, Alex Povolotsky wrote:
> Matt S Trout wrote:
> >Since a fair few of you will now have John's book, I figured it was time
> >to ask what you'd want from a second book.
> >
> >I guess the existing one provides a pretty
On Mon, Feb 25, 2008 at 09:35:04AM -0500, Matt Pitts wrote:
> > -Original Message-
> > From: Matt S Trout [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, February 23, 2008 1:18 PM
> > To: The elegant MVC web framework
> > Subject: Re: [Catalyst] Why use external
8
> # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gkSc31rRGpYHxL8tAAd/kw
>
> # You can replace this text with custom content, and it will be preserved on
> regeneration
> 1;
>
> As I understand I have to add to above:
>
> __PACKAGE__->source_name('SomeName&
ema. Is there a better way to do it?
Yes, don't write class methods in DBIC.
If the operation is on multiple rows, make it a resultset method.
If the operation is on a single row, make it a method on the row object.
If the operation is on a bunch of different things and neither of those
essible.
Er.
This reminds me of when I used to do desktop support and got told "the
internet is down".
Define "inaccessible" and "looks like it is still running" please :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class proje
; behavior and you were present in IRC during the design discussions...
Well, I think it would be nice to be able to support both.
And yes, my fault for not thinking about this before release - it didn't
really occur to me until now when you pointed out how not doing it could
break stuff ... :)
201 - 300 of 472 matches
Mail list logo