Joel Bernstein wrote:
Cheers Joel, couldn't have done it without you! What a star.
My sarcasm meter just went off the scale. Sorry if you were offended.
/joel
;-)
Ben
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
Malloy wrote:
Which model is
better, DBI or DBIC::Schema?
There's only one way to find out FIIIGHT
Sorry, couldn't resist :)
Ben
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
Hi,
In which components of a Catalyst app can I use __PACKAGE__-path_to()?
I've seen that if I use in a MyApp/View/TT.pm module
__PACKAGE__-config(
COMPILE_DIR = __PACKAGE__-path_to('templates'),
);
it gives an error like:
Can't locate object method path_to via package MyApp::View::TT at
Hi,
I need to use C::M::DBI for a fulltext index with MySQL, and the tables
contain UTF-8 data.
I found that I can use mysql_enable_utf8 but I couldn't find how to use this
option.
I've tried to use it in the model in 2 places as:
__PACKAGE__-config(
dsn =
Octavian Rasnita wrote:
Can't locate object method path_to via package MyApp::View::TT at
D:/web/MyApp/scr
ipt/../lib/MyApp/View/TT.pm line 7.
It works if I use MyApp-path_to() instead...
Generally, it would be also very helpful if we could find which methods
are offered by a certain $c
2009/4/29 Octavian Rasnita orasn...@gmail.com
Hi,
In which components of a Catalyst app can I use __PACKAGE__-path_to()?
I've seen that if I use in a MyApp/View/TT.pm module
__PACKAGE__-config(
COMPILE_DIR = __PACKAGE__-path_to('templates'),
);
it gives an error like:
Can't locate
2009/4/29 Octavian Rasnita orasn...@gmail.com
Hi,
I need to use C::M::DBI for a fulltext index with MySQL, and the tables
contain UTF-8 data.
I found that I can use mysql_enable_utf8 but I couldn't find how to use
this option.
I've tried to use it in the model in 2 places as:
Hi, everyone,
I have come across something interesting.
1) User opens up a page that lists all his/her subscriptions
2) Each subscription is a url and a parameter at the end (ie 'id=3325')
3) User decides to edit one of the subscriptions. He/she clicks on one
with an id of 3389 (hence the url
On Wed, 2009-04-29 at 21:22 +1000, kakim...@tpg.com.au wrote:
Hi, everyone,
I have come across something interesting.
5) The web form contains the following:
a) 'name' = Text box for subscription alias
b) 'nominated_agent_code' = Text box for nominated agent code
c) 'id' =
On Wed, Apr 29, 2009 at 8:30 PM, Octavian Rasnita orasn...@gmail.comwrote:
I don't know why it didn't work for the first time...
Because MySQL is evil.
(I use MySQL. Grudgingly)
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
Akimoto,
You really need to read up on HTTP and the difference between Query
Parameters and Body Parameters. It will help you write better
applications.
Hello, J,
Good evening. Yes, you're very right and I have been referring to
documentation on search.cpan.org especially the catalyst
This is just a stab in the dark, but I guess your form tag is missing
an
action attribute and thus resends to the same URI, thus keeping the
id
query parameter. This is according to specification: nothing in HTTP
disallows using GET-Parameters in POST requests IIRC.
Cheers,
Sebastian
Yes. If you detach(), you're basically saying 'do nothing more on
this request'. That plus the redirect mean that template processing
is not done, as I understand it. This is no doubt dealt with in the
action
Hi, Ian,
The app works fine except that I have set up an eval block within
kakim...@tpg.com.au wrote:
The app works fine except that I have set up an eval block within my
controller.
My detach call comes right after the redirect call.
It looks like this:
$c-res-redirect($c-uri_for('/users/subscriptions/added '));
$c-detach ();
What's
Hi all, just my $0.02 here
100 processes per second is not all that impressive for a Catalyst
app. I have tested Catalyst in mod_perl with mod_worker
(multi-threaded apache/perl), in Linux 2.6 and FreeBSD 6.4, 7.x
With mod_worker, you can spawn processes each with an X number of
threads each.
The Catalyst core team is pleased to announce the availability of the
second maintenance release of Catalyst 5.80.
This release fixes a number of bugs and regressions found in the
previous releases.
As far as I can see, this fixes every regression against 5.71 reported
thus far, except for
Hi,
I upgraded Catalyst to 5.80002 the other day, and my applications
started beginning with a warning:
The compute_all_applicable_attributes method has been deprecated. Use
get_all_attributes instead.
at /usr/local/lib/perl5/site_perl/5.8.9/darwin-thread-multi-2level/
Class/MOP/Class.pm
On Wed, Apr 29, 2009 at 05:08:38PM +0100, Adam Witney wrote:
I upgraded Catalyst to 5.80002 the other day, and my applications
started beginning with a warning:
The compute_all_applicable_attributes method has been deprecated. Use
get_all_attributes instead.
at
From: J. Shirley
I don't know why it didn't work for the first time...
Because MySQL is evil.
(I use MySQL. Grudgingly)
Well, now that Oracle bought MySQL, maybe it is the time to have some more
courage and start using PostgreSQL... :-)
Octavian
On 29 Apr 2009, at 17:11, Florian Ragwitz wrote:
On Wed, Apr 29, 2009 at 05:08:38PM +0100, Adam Witney wrote:
I upgraded Catalyst to 5.80002 the other day, and my applications
started beginning with a warning:
The compute_all_applicable_attributes method has been deprecated. Use
I'd like someone w/ better catalyst-fu to recommend how I could implement urls
for members a la myspace and youtube ( ie http://websiteurl.com/membername )
.
There's got to be a better way that creating a seperate controller for each
user.
perl 5.9
catalyst-runtime 5.71
On Wed, Apr 29, 2009 at 5:23 PM, Charles cshtr...@yahoo.com wrote:
I'd like someone w/ better catalyst-fu to recommend how I could implement
urls for members a la myspace and youtube ( ie
http://websiteurl.com/membername ) .
There's got to be a better way that creating a seperate controller
On Wed, Apr 29, 2009 at 05:31:43PM -0300, Fernan Aguero wrote:
On Wed, Apr 29, 2009 at 5:23 PM, Charles cshtr...@yahoo.com wrote:
I'd like someone w/ better catalyst-fu to recommend how I could implement
urls for members a la myspace and youtube ( ie
http://websiteurl.com/membername ) .
On Wed, Apr 29, 2009 at 04:42:08PM -0400, Hans Dieter Pearcey wrote:
sub member : Chained(/) Args(1) {
my ($self, $c, $id) = @_;
...
}
duh, with PathPart('') also.
hdp.
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
hans,
This seems to work, although, i'd have to add logic to have this member
controller ignore the following types of urls
http://websiteurl.com/signup
http://websiteurl.com/members/ = users see this as their url when logged in.
-Charles
From: Hans Dieter
On Apr 29, 2009, at 4:52 PM, Charles wrote:
On Wed, Apr 29, 2009 at 05:31:43PM -0300, Fernan Aguero wrote:
On Wed, Apr 29, 2009 at 5:23 PM, Charles cshtr...@yahoo.com wrote:
I'd like someone w/ better catalyst-fu to recommend how I could
implement
urls for members a la myspace and
John,
John,
technically, you're correct in that I should consider placing the usernames
under /user. But I'm thinking of the fuzzy (to me) usability issues involved
and the http://website.com/meme is what hundreds of millions non-developer
users have come to expect. Also, fwiw,
correction: http://website.com/is the user's profile which is publically
viewable ...
From: Charles cshtr...@yahoo.com
To: The elegant MVC web framework catalyst@lists.scsys.co.uk
Sent: Wednesday, April 29, 2009 5:46:23 PM
Subject: Re: [Catalyst] website member
Couldn’t you do something with the default method in the root controller? So
similar to what others suggested except you would modify the default method so
that if the user doesn’t exist you can 404 and have some kind of message.
Thanks,
--
Ali Mesdaq
On Apr 30, 2009, at 8:50 AM, Alejandro Imass wrote:
Anyway, the message is that with mod_worker/mod_perl you can spawn
_thousands_ of threads, getting impressive concurrency (without
counting the mutex). We have tested Catalyst applications that handle
_thousands_ of concurrent requests using
Another thought - what does $c-detach() do / what do you expect it
to
do? If you aren't detaching _to somewhere_, then why not just
return?
hello, tom,
Good arvo. From what I have read in some of the docs (sorry, I dont
have my bookmarks handy),
they did mention that after a redirection,
From: Charles
technically, you're correct in that I should consider placing the usernames
under /user. But I'm thinking of the fuzzy (to me) usability issues involved
and the http://website.com/ meme is what hundreds of millions non-developer
users have come to expect. Also, fwiw,
32 matches
Mail list logo