On 6/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> What do you all think, then? (/me dons asbestos suit, waits for the holy war
> to start :)
I can't possibly imagine how can anyone *not* understand YAML
dead-simple syntax.
YAML was designed specifically for being able to be read and written
by
On 6/9/06, phaylon <[EMAIL PROTECTED]> wrote:
> Foo:
> - 0
> - 1
> - Bar: 12
>
> And I've met a bunch of people that tried to mess with the positions of
> the "-" here and got screwed.
"Doctor, it hurts when I do this."
"Then don't do it!"
-Nilson Santos F. Jr.
On 6/9/06, Thomas Nagel <[EMAIL PROTECTED]> wrote:
> Maybe a better error reporting may improve the condition but YAML is not
> that easy for someone who is used to edit Apache- and ini-style
> configuration on a daily basis ...
It's not supposed to look familiar to people used to other formats.
I
On 6/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> We already did that. What we're discussing here is whether YAML should remain
> the default.
I really never bothered reading ConfigLoader's docs because it is one
of those things that really DWIM in Catalyst.
But now I really don't get what's t
On 6/9/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
> This is one of those things that language peers of Perl do better
> right now, and which Perl 6 is going to fix in a Really Big Way.
I really can't imagine how it's possible to "fix" this kind of stuff
you mentioned without:
1 - Removing AUTOLO
On 6/10/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
> Well, for one thing, Perl 6 disambiguates functions and methods.
> Also, while you can define functions and methods that have no
> more precisely specified call semantics than "is variadic and
> takes anything," you *can* define more precisely s
On 6/10/06, Hartmaier Alexander <[EMAIL PROTECTED]> wrote:
> It seems YAML is for python coders who are used to use indention instead of
> brackets.
Considering that YAML was initially elaborated by a Perl programmer, I
find that hard to accept.
Anyway, I think that further arguing is pointless.
There's a patch attached to this message which fixes
Catalyst::Model::File failing tests under Win32 (and possibly under
other weird platforms too).
They failed because of some hard-coded "/" being compared to the
result of Path::Class manipulations, which vary according to the
platform.
-Nilson
On 6/21/06, Tobias Kremer <[EMAIL PROTECTED]> wrote:
> Which raises my all-time favourite question: Why is Perl still going strong
> in the US and UK whereas good-old Europe seems to has already abandoned it
> completely?
Not exactly Europe, but here in Brazil it also seems that almost
everyone ab
On 6/23/06, Carl Johnstone <[EMAIL PROTECTED]> wrote:
> > Do you mean that you have a shared apache installation under which every
> > developer runs his/her own code ?
>
> Yes.
I think that if you're really willing to maintain this development
setup then Catalyst won't be a good choice.
I find t
On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I understand DBIx::Class:Schema is now in vogue, but I do not have access to
> the schema
> variant of the model in a PPM. I'm thinking this might be causing my
> problem, but I'm
> hoping not.
You should try installing a recent Active
On 6/26/06, Hugh Lampert <[EMAIL PROTECTED]> wrote:
> Thanks for responding! Perhaps you can forward this to the mailing
> list, as I am unable to reach it from my work (the mail server will not
> accept my relays.)
Done. I'll answer your message without removing anything you wrote.
> I looked a
On 6/28/06, Eduardo Oliveros <[EMAIL PROTECTED]> wrote:
> I'm planning to program the logic of the application (the Model in
> MVC) previously to start with web page and the presentation.
Actually, the Controller is what is supposed to drive the logic of the
application. The model is really just t
On 6/28/06, Eduardo Oliveros <[EMAIL PROTECTED]> wrote:
> When you create a Catalyst application some tests are created also.
> I thought calling the Controller actions could be performed by the
> testing framework... (without using a browser)...
> I guess I was wrong :)
Yes, it can be performed w
On 6/28/06, Hugh Lampert <[EMAIL PROTECTED]> wrote:
> Err, yes... gcc... seems to be a bit of a problem. Hate to impose on
> the members of the list, but can anyone point me in the direction of a
> good win32 binary GCC package that doesn't require Cygwin or other
> "environments"? the CPAN modu
On 6/29/06, John Napiorkowski <[EMAIL PROTECTED]> wrote:
> writing monolythic cgi type applications. Personally I put all the logic
> having to do with manipulating the database into my model class. So things
> like adding/removing users or very common searches I put there. Anything
> that more
On 6/29/06, Brandon Black <[EMAIL PROTECTED]> wrote:
> If you find yourself putting code in your View templates that isn't
> directly related to rendering this specific flavour of output, it
> probably needs to be moved to the Controller. Good code in views:
> iterating an arrayref to generate a
On 6/29/06, Brandon Black <[EMAIL PROTECTED]> wrote:
> The approach I'm attempting lately (and I haven't gotten it all
> working right yet...) is to make Controller base-classes that
> implement generic concepts for things like paging and sorting tables
> of data (complete with handling form args l
On 6/29/06, Hugh Lampert <[EMAIL PROTECTED]> wrote:
> OK, don't mean to sound like a whiner here, and I haven't spent any time
> investigating the various GCC packages, but it's making me laugh that
> it's been suggested I download a C++ development package just so I can
> get my perl modules to i
On 6/29/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Nilson Santos Figueiredo Junior wrote:
> > That involves doing bad things such as using c.param() from the View
> > but it really was the only practical way (i.e. DRY) I could think of.
> > So, any suggestions are we
On 6/29/06, Matthieu Codron <[EMAIL PROTECTED]> wrote:
> This does not matter much in most cases except big projects where
> business logic elements are reused in various situations around the
> application.
Then you put that logic in external regular Perl modules and make your
controllers just us
On 6/30/06, Hugh Lampert <[EMAIL PROTECTED]> wrote:
> The hassle is that we are a Windows shop and my boss only cares about
> results. To roll out an .ASP application is only a matter of using the
> resources that are already installed in the development environment and
> on the production server
On 6/30/06, Christopher H. Laco <[EMAIL PROTECTED]> wrote:
> Don't do that. Bad things will happen. Always compiled your modules with
> the same compiler used for the perl install itself on Windows. To that
> point, you could compile perl in .NET, then do the modules that way too.
FUD.
VS.NET 200
On 6/30/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> I think that's the point - that AS has switched to gcc and it's *generally*
> preferable to use the same compiler as your perl binary was built with.
There's nothing in the release notes indicating that they've done this
(they've recently switc
On 7/1/06, Marcus Ramberg <[EMAIL PROTECTED]> wrote:
> So, we've heard nothing from you guys about the development release. I guess
> that means one of two things. Either we've made a bugfree catalyst version,
> or you guys haven't tested it out. If that's the case, this is your last
> chance. I'm
On 7/1/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Yeah, but that was only because your code was using an undocumented untested
> hack that I originally offered to you as such :)
Since it was the only way to accomplish it, I find it to be a rather
important hack. ;-)
It (or something else that
On 7/1/06, Nilson Santos Figueiredo Junior <[EMAIL PROTECTED]> wrote:
> On 7/1/06, Marcus Ramberg <[EMAIL PROTECTED]> wrote:
> > So, we've heard nothing from you guys about the development release. I guess
> > that means one of two things. Either we've made a
On 7/3/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> RFC a proposed API to the DBIC list if you want to see that in 0.08 - or at
> the very least throw together a couple of tests for the hack if you want to be
> able to rely on it in production :)
I was thinking about that earlier today.
There sho
On 7/3/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> I tend to just modify the relevant ACCEPT_CONTEXT to return a resultset that
> already has (e.g.) "WHERE order.user_id = $current_uid" applied to it, at
> which point I can just do $c->model('DBIC::Orders') in my controller code and
> it Does The
On 7/3/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> I thought I said "this probably works but it should be documented and tested".
> Generally that means "it's unsupported unless you write said docs and tests"
> :)
At the time it really meant: "Code it already and you can finally be
free to go h
On 7/3/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> and C::M::DBIC::Schema gives you a model per table. I'm not sure I see the
> problem here ...
>From Catalyst::Model::DBIC::Schema docs there's an example which reads:
# For resultsets, there's an even quicker shortcut:
$c->model('FilmDB::Ac
On 7/7/06, Marcus Ramberg <[EMAIL PROTECTED]> wrote:
> One major focus in this release has been improving the Tutorial and
> Introduction parts of the Catalyst manual, as well as a complete review of
> the reference API documentation and the Cookbook. While we acknowledge that
> there is still much
On 7/8/06, Marcus Ramberg <[EMAIL PROTECTED]> wrote:
> Feel free to try it out at http://osx.iusethis.com/ and give us feedback.
> We'd love to hear from you :)
It's really nice to know about public-facing Catalyst applications.
I'd just like to comment a little bit about the site layout: I think
I'm not sure if this is a bug or if it is by design but:
sub test1 : PathPart('test') Chained('/') CaptureArgs('1') { }
sub test2 : PathPart('test2') Chained('test') { }
yields no path part actions. The weirdest thing is that I actually get
an empty "Loaded Path Part actions" box in the debu
On 7/10/06, Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]> wrote:
> Yes, 'Chained' takes the private action name. The whole chain creates a
> publich path. From the docs:
>
> "The Chained attribute allows you to chain public path parts
>together by their private names."
Hmmm... right. Then it
On 7/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> The feature's there. You just tried to get at it the wrong way :)
I suppose you're right.
I think that when I read about the feature I imagined how it would
work without actually trying it out. Then, when I actually tried a
hands-on approach, i
On 7/11/06, Vlad Bazon <[EMAIL PROTECTED]> wrote:
> the existing old's Cat-applications will continue to simply work if you
> update
> libcatalyst-perl to 5.7000-1, IF you will not use a Controller::Root
> component
> (and also, not imply a ).
Here everything seems to be working alright and I use
On 7/11/06, J. Shirley <[EMAIL PROTECTED]> wrote:
> A Catalyst app that is making the news:
> http://digg.com/apple/iUseThis_-_Union_between_digg_and_MacUpdate
>
> Thought you guys would enjoy seeing it
This is Marcus Ramberg's personal project, as he posted some days ago.
I'm curious to know how
On 7/11/06, Nathan Kurz <[EMAIL PROTECTED]> wrote:
> Does this seem reasonable?
I don't really get it.
If you'll be running one test server instance per developer, why don't
let them run it on their own machines? You wouldn't have half of the
headache and it would even work better for everyone.
On 7/11/06, Nathan Kurz <[EMAIL PROTECTED]> wrote:
> Starting from a non-programmers Windows installation, what would I
> need to do to get Catalyst running locally? Is it simple enough that
> I could get technically literate non-programmers to do so remotely?
> And is there anything that wouldn't
On 7/13/06, Thomas Hartman <[EMAIL PROTECTED]> wrote:
> meaning of FRY?
I think he meant DRY.
-Nilson Santos F. Jr.
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-ar
On 7/20/06, Ryan <[EMAIL PROTECTED]> wrote:
> So the root / still went to an index.html and the wiki directory. We've
> had some issues with the catalyst not being root(/) with links and such so
> we want to make it have root but now that we made it root I can't access
> the index.html or the wiki
On 7/24/06, Dennis Daupert <[EMAIL PROTECTED]> wrote:
> I have a number of tables that contain foreign keys to other tables;
> I need to be able to do selects on multiple tables, specifying
> particular columns in particular tables.
If you define your relationships correctly you should be able to
On 7/26/06, Brandon Black <[EMAIL PROTECTED]> wrote:
> On 7/25/06, Len Jaffe <[EMAIL PROTECTED]> wrote:
> > I upgraded my desktop and server at work today, and
> > the only thin giving me any install issues is
> > DBIC::Schema::Loader.
>
> I can't do jack about it if you don't report what's wrong w
On 7/27/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
> I checked the manpage, and it says $c->request->user is deprecated and
> that $c->user should be used instead. There's no mention of $c->user
> existing elsewhere in the docs, though, so I'm not sure about that. I
> will test and get back
On 7/28/06, Bogdan Lucaciu <[EMAIL PROTECTED]> wrote:
> uhm, do attribute selectors work in IE?
As of IE 6, unfortunately, not.
Hopefully, IE 7 will get a little better. But don't get your hopes up.
-Nilson Santos F. Jr.
___
List: Catalyst@lists.rawmod
I've seen all these numerous posts regarding problems with
Catalyst::Plugin::Authentication and, naively, I thought I'd be immune
to them.
I updated everything yesterday on my development machine and it was
working alright. But today (probably after the session expired or
something like that) my a
On 8/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Are you running C::P::Auth v0.09? I think that error was happening to
> > people running v0.08...
>
> Yep. Auth 0.09.
Try it with 0.07. That seems to be working alright (at least for me)
where 0.08 didn't.
-Nilson Santos F. Jr.
___
On 8/9/06, Joe Landman <[EMAIL PROTECTED]> wrote:
>Last I tried, Cygwin had some issues (Matt had been wrestling with
> it). Is Catinabox working in Cygwin, or will everything just work in
> Cygwin? Native vs cygwin doesn't matter.
I don't know about Cygwin - Catalyst runs alright natively u
On 8/9/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Point out that everybody on http://dev.catalyst.perl.org/wiki/LiveApplications
> disagrees :)
I haven't stumbled upon this page before and I'm sort of amazed. I
never thought there were so many public facing sites using Catalyst. I
really think
On 8/9/06, Nagarajan M <[EMAIL PROTECTED]> wrote:
> I am using **Cache::FileCache** since
> **Session::Store::FastMmap** is not supported in Win32.
Use C::P::Session::Store::File and your problems should be solved.
-Nilson Santos F. Jr.
___
List: Catal
On 8/10/06, Jonas <[EMAIL PROTECTED]> wrote:
> I'm trying to store an hashed password in a database using DBIC. What
> is the best way to create the digest of the password?
When checking the password (e.g. during login)
Catalyst::Plugin::Authentication should handle this task for you. When
storing
On 8/14/06, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Anyway, I'm at the end of the BasicCRUD section of the tutorial where one
> creates the Books::Delete method. The last line in the method is:
>
> $c->forward('list');
>
> Catalyst appears to be ignoring this statement. When I tried to de
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> sub base :Chained('/') PathPart('') CaptureArgs(0) {
> sub drpt : Chained('base') PathPart('dailystatusrpt') CaptureArgs(0) {
> sub view_drpt :Chained('drpt') PathPart('view') Args(0) {}
> sub drpt_year : Chained('base') PathPart('dailystat
On 8/30/06, Kieren Diment <[EMAIL PROTECTED]> wrote:
> It does virtually nothing, apart from saving you some typing. You
> must resolve any related columns to a properly stringified name for
> example.
Maybe it should've been a Catalyst::Helper ?
Then it could be used through Catalyst's default c
I'm currently starting a new simple Catalyst application and decided
to give InstantCRUD a shot. However, it couldn't even be installed
under Windows since Cache::FastMmap isn't installable under Win32.
I don't really know if the authors are aware of this issue, that's why
I'm posting this here. M
Hi everyone,
Recently I've been facing some performance issues in my Catalyst
application and the situation worries me a little bit.
The first optimization I tried was to start prefetching everything I
could and it indeed improved the performance quite a bit (by a factor
of 2 or so). But it still
On 10/7/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> I haven't used DBIC, but I understand that the Class::C3 hit is mostly
> during startup. You don't want to profile that, since it doesn't affect
> the speed of your application. With mod_perl, you can skip that part by
> looking at the profi
On 10/7/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> The Class::C3::* methods you're seeing are startup overhead only; unless
> you're messing with class hierarchies at run-time that's a one-off hit.
Right. But next::method calls also seem to weight in a "little bit".
But I really have no idea on
On 10/7/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> Maybe this will help: http://www.modperlbook.org/html/ch09_05.html
Thanks, I'll try using Apache::DProf as suggested.
> How did you determine this?
Manually running and timing the queries as output when DBIC_TRACE=1.
Switching from running
On 10/7/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
> Obviously you don't get all of TT's features. No EVAL, no MACRO, no
> BLOCK. I don't use any of that anyway. I write my code in perl, not in
> TT :)
Unfortunately, I use MACROs and BLOCKs extensively.
> Anyway, if you Need Something Now
On 10/13/06, Cédric Bouvier <[EMAIL PROTECTED]> wrote:
> Question: what would you recommend to deploy a Catalyst app on Windows,
> ideally without too much headaches, and knowing that it is not meant to
> handle much traffic? We have tried mod_perl2, but getting it to work
> seems quite cumbersome.
On 10/24/06, Alejandro Imass <[EMAIL PROTECTED]> wrote:
MS IE does not support transparency on PNGs and GIF would mess up the fade
badly.
Actually IE does support PNG transparency. You just need to coerce it
into supporting it. ;-)
Google for "IE PNG Transparency" and the first results should
On 10/29/06, Ash Berlin <[EMAIL PROTECTED]> wrote:
If you could all run it through its paces on both Win and *nix and let
me know if there are any problems that would be great.
Unfortunately, it doesn't compile under Win32 with AS Perl 5.8.8
(build 817) using MSVC.
Compile log follows:
Micros
On 10/29/06, Ash Berlin <[EMAIL PROTECTED]> wrote:
My bad - it didn't take the updated MANIFEST file (somewhere I messed up
clearly) so it didn't include all the right files. Please try again,
same url as before.
That previous problem was fixed. Unfortunately, a linking error popped up.
Here's
On 10/29/06, Ash Berlin <[EMAIL PROTECTED]> wrote:
Hmmm okay. Could you try editing Win32.c and including varargs.h and
changing line 467 to one of the following:
No need to include "varargs.h".
Chaning line 467 from:
vsnprintf(errbuf, 1023, error_string, ap);
to
_vsnprintf(errbuf, 1023, e
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 which are the root of
the chain and then I've got another set of Catal
On 10/30/06, John Napiorkowski <[EMAIL PROTECTED]> wrote:
I do something very similar to what you are talking
about but I don't issue a find until the endpoint.
You can do search anywhere you do find to get
resultsets. That why you can drill down and keep
adding conditions to the query down the
On 11/1/06, David Jack Olrik <[EMAIL PROTECTED]> wrote:
http://www.onemogin.com/blog/528-chained-searches-the-beauty-of-
dbixclass-and-catalyst.html
Nice article. However, by "chained actions" I meant Catalyst's builtin
Chained actions. But I guess it still added some weight to the
previous sug
On 11/8/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> sub load : Chained('/item') PathPart('') CaptureArgs(1) {
>my ($self, $c, $id) = @_;
my $pre = $c->stash->{prefetches} = {};
$c->stash->{item} = Scalar::Defer::lazy { $c->model('DB')->search(undef,
$pre)->find($id) };
> }
T
On 11/10/06, Josef Karthauser <[EMAIL PROTECTED]> wrote:
Ooh, am I missing a trick here? What are chained action? I've been
chaining actions together using $c->forward(). Is this the same kind of
thing, or something altogether different?
Chained actions is a feature that has already been aro
On 11/10/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
Don't believe so, and it's audreycode so *usually* works first time. Plus I
know a few active users in the Cat community and it's getting lots of use in
Jifty, so I'm betting it's pretty solid.
This makes me feel even sorrier for not being ab
On 11/16/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
Besides which, I've never yet seen a production application (and between
Shadowcat's client portfolio I've seen not a small number thereof) where the
dispatch overhead was even statistically significant to the overall
performance - the bottlene
On 11/16/06, Brandon Black <[EMAIL PROTECTED]> wrote:
If template rendering speed might be a bottleneck for you, you may
want to investigate ClearSilver. I haven't tried it yet myself, but
I've heard good things about its performance, and there's already a
Cat View for it. Its a bit different t
On 11/17/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote:
So my original example : say we have an application that streams
audio, and only one source may be streamed at a time. Having more than
one player instance in existence could violate this on many OS's. Even
if the OS would cause an error (
On 11/30/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
> Thats a bit short sighted, without new developers learning Perl you'll
> have a lack sooner or later.
For example, look at PHP's community. Huge! ... but absolutely no
competent core / module developers. Numbers != quality.
One thing
On 12/1/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
Perl. Is. Not. Dead.
No one *here* is stating that Perl is really dead. Otherwise we'd all
be undead zombies from hell or something like that. Anyone who's
inside the Perl community knows it's alive and kicking and that most
of Perl's "
On 12/2/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Of course, there are more ways to do it in every language, but for perl, the
correct expression should be: "There are too many ways to do it". :-)
There is no "the most important" templating system in perl, or the best
module for creating co
On 12/3/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
Sorry, I don't. This is a common complaint on IRC and PM, so I'd like to
resolve it. I know search.cpan isn't the ideal source of current
documentation, but lots of people use it for that, and I'd like to help them
if possible. If that's
On 12/2/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
I have seen that your example modifies the root controller, so this convince
me that this is not a tutorial for beginners.
The beginners should start learning to use Catalyst, without SVN, with its
default ways of doing things, without other
On 12/4/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
And I said that there is no de facto standard, because there isn't one
generally accepted.
There's a defacto standard for writing Catalyst applications.
The Catalyst users have an opinion, the CGI::App might have another one, the
Mason u
On 12/4/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Yes of course, but if thinking this way, PHP could be considered not very
successfully, because it is not an extraordinary language, however, it is
used in much more web sites than perl, and some big sites like Yahoo also
use it.
PHP is ve
On 12/4/06, Hermida, Leandro <[EMAIL PROTECTED]> wrote:
I think it is possible to achieve both flexibilty and achieveability in
the same framework. Catalyst can be "a pre-packaged framework that just
works" with a low cost of entry while still providing flexbility to
advanced users needing more
On 12/5/06, Daniel McBrearty <[EMAIL PROTECTED]> wrote:
In the first implementation of engoi, I was pretty paranoid about
these things - there is some fairly draconian filtering going on.
However, if I can relax and let people use usernames and passwords in
their own character sets for the future
On 12/5/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
Nilson Santos Figueiredo Junior wrote:
> This way, everything will probably just work, even when the user has a
> "<" on their names or any other weird characters.
No, you can inject plenty of bad code witho
On 12/5/06, Sebastian Riedel <[EMAIL PROTECTED]> wrote:
HTML::Widget was an experiment and i wouldn't suggest using it anymore.
There should be a TT plugin imo similar to the CGI.pm one, just sane. :)
IMO, the real thing that's missing is Perl code layer between the
controller and the template,
On 12/5/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
It can be really easy to add custom view code to TT templates. You can
immediately load any class and just call it:
[% USE MyView %]
[% MyView.method(arg) %]
Yes, but you'd need to manually use the correct class in every
template and then
On 12/5/06, John Siracusa <[EMAIL PROTECTED]> wrote:
What would this "Perl code layer" be responsible for doing? Can you give
some examples?
The most obvious example is data set sorting.
The sort order is something presentation related and, thus, shouldn't
be in your controller (at least from
On 12/6/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
Reaction calls these ViewPort objects :)
Sweet.
Any docs yet?
-Nilson Santos F. Jr.
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable arch
On 12/6/06, Eden Cardim <[EMAIL PROTECTED]> wrote:
Why not override MyApp::View::MyView->process() and put your Perl code
layer in there? What I do is have ->process() build up pieces of HTML,
like tables, forms, etc, with whatever external module I see fit,
based on the stash data. Then I stuff
On 12/6/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
The code example that comes with the reaction source is pretty
understandable. If that's not enough, questions are welcome on the
#reaction channel on irc.perl.org :)
Hmm... I will take a look at it again.
I don't remember seeing any code
On 12/15/06, Tobias Kremer <[EMAIL PROTECTED]> wrote:
Hmm ... There must be a better way of dealing with DateTime, timezones and
MySQL ...
I ended up creating a InflateColumn::DateTimeHack which sets the
timezone when inflating.
It's not the prettiest thing, but it works and saves painful manua
On 12/24/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Attempt to free unreferenced scalar: SV 0x237e190, Perl interpreter:
0x274324 at
D:/usr/site/lib/DBIx/Class/Schema/Loader/Base.pm line 501.
These errors are not usually errors per se - just warnings. And
everything ends up working correct
On 12/25/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Can you tell me what version of perl do you have? I use ActivePerl 5.8.8
build 819.
Same here.
Have you tried updating DBI itself (not DBIx::Class), using the CPAN
shell, as I've said before? That usually does away with those
unreference
On 12/25/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
After forcing a new DBI install, the Catalyst helper works well, without any
error and it creates all the files that it should create.
That's probably because you've previously updated DBI using PPM
instead of the CPAN shell.
PPM can be a
On 12/25/06, Emanuele Zeppieri <[EMAIL PROTECTED]> wrote:
Nilson, there are several PPM repositories, and the availability of the
various CPAN packages depends on the repositories you are querying, of
course.
Yes, I'm aware of that and usually I've got every repository under the
sun configured
On 12/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
A recent version of ActiveState Perl, the "mingw" package/environment, a
well configured CPAN and CPANPLUS and finally PPM (with such extra
repositories such as the one provided by Randy Kobes) makes installing
modules (and Catalyst) an al
On 12/27/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Does Cache::FastMmap support Windows now?
I have tried installing it with ppm, but I couldn't find it, and using cpan,
but it gave errors.
I've tested a preliminary version and (incorrectly) assumed it was
already available at the CPAN.
I've previously posted about my performance issues regarding TT. At
the time, one of Matt's suggestions for improving performance was to
reduce the usage of uri_for() whenever possible.
I had some "list" pages where I'd need to display dozens of items and
link to each one of them and all my link
On 12/29/06, John Napiorkowski <[EMAIL PROTECTED]> wrote:
So I guess my question is would people like a GWT like
system for Catalyst and if so what would you like to
see in it?
I've been thinking a lot about these sort of things lately but I
couldn't come up with a clean way to do it the way I
1 - 100 of 128 matches
Mail list logo