If your project is heavy loaded then i think the best way is to write:
form action=/myapp/[%object.id%]/update
or (easy to change):
form action=[%object.update_url%]
in Object:
sub update_url {'/myapp/'.shift-id.'/update}
because Catalyst.uri_for() still takes to much CPU to call it a hundred
place.
2007/10/12, Matt S Trout [EMAIL PROTECTED]:
On Thu, Oct 11, 2007 at 02:51:31AM +0400, Oleg Pronin wrote:
If your project is heavy loaded then i think the best way is to write:
form action=/myapp/[%object.id%]/update
or (easy to change):
form action=[%object.update_url
I put these things into MyApp::SAME_AS_CATALYST_BASE_CLASSES, i.e:
MyApp::Catalyst::Controller
MyApp::Catalyst::View::TT
etc.
It's clean and nice :)
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
It seems your problem is that your string Check my å is not in perl's
internal format (uri_for expects it). Just UTF-8 octets.
Always use utf-8 flagged strings inside your application.
for example, this should work:
The following code:
$c-redirect(
$c-uri_for(
'/login',
{error_msg =
notest install Module
2008/1/6, Martin Ellison [EMAIL PROTECTED]:
Does anyone know how to get CPAN to install a module without doing the
test steps at all? Force install still does the test steps; I just want to
go to the actual make install.
Slightly off topic, but if anyone knows how to
If you mean to get hostname in offline mode (off the processing request) -
the hostname is not known because there are no request.
You can get the server's real hostname by Sys::Hostname::hostname() but this
probably won't help.
2008/1/9, Octavian Rasnita [EMAIL PROTECTED]:
Hi,
Is it possible
That is very possible
2008/3/29, Mojo Nichols [EMAIL PROTECTED]:
Hi Christopher,
I'm wondering what the status of Meios is. I have found an svn version
on handleframework.org and one other server, but the do not work for me
out of the box even after all dependencies are set up. I believe
that far...
Mojo
Oleg Pronin wrote:
That is very possible
2008/3/29, Mojo Nichols [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
Hi Christopher,
I'm wondering what the status of Meios is. I have found an svn
version
on handleframework.org http
this new design at which point I will start using it.
Thanks,
Mojo
Oleg Pronin wrote:
I'm developing a full-featured dynamic admin interface for catalyst
(at my leasure time). It is fully a plugin. It does not store images
in database (it is not possible for high-loaded sites).
2008/3
ti che raspizdilsya po-nemetski, suka ?
2008/4/2, Ulf Lenski [EMAIL PROTECTED]:
Hallo Ulrich,
ich habe, dein Einverständnis vorausgesetzt, unsere pspf-app mal auf der
unten genannten Seite veröffentlicht.
http://drs.dife.de/ könnte dort doch auch gelistet werden?
Wollen wir uns bei
eehh... russian phrase was 'wtf are u speakin German?' (censored, cant be
translated exactly) :)))
2008/4/3, Stephen Sykes [EMAIL PROTECTED]:
Pagaltzis wrote:
* Jonathan Rockway [EMAIL PROTECTED] [2008-04-02 20:55]:
* On Wed, Apr 02 2008, Oleg Pronin wrote:
2008/4/2, Ulf
I posted 'games.rambler.ru' a week ago. Why didnt you add it? :)
2008/3/27, Stephen Sykes [EMAIL PROTECTED]:
Hello Friends,
For the past few days I have been putting together a site for listings
of websites driven by the Catalyst MVC framework. The site idea was born
out of a discussion on
Cause for now i see URLs like
*URL:* http://test.bytabok.com
:)
2008/4/6, Oleg Pronin [EMAIL PROTECTED]:
It would be good to sort sites basing on alexa.com's popularity rating.
The best sites will be on top ! :)
2008/4/6, Stephen Sykes [EMAIL PROTECTED]:
Markus Holzer wrote:
Hi
It would be good to sort sites basing on alexa.com's popularity rating. The
best sites will be on top ! :)
2008/4/6, Stephen Sykes [EMAIL PROTECTED]:
Markus Holzer wrote:
Hi Stephen.
Well, today I would like to announce the site launch.
The site looks nice, but I find it a little
5 ballov :
2008/4/6, Marcus Ramberg [EMAIL PROTECTED]:
ty chego raspizdelsia po-russki, suka? :D
Marcus
On 2. april. 2008, at 19.17, Oleg Pronin wrote:
ti che raspizdilsya po-nemetski, suka ?
2008/4/2, Ulf Lenski [EMAIL PROTECTED]:
Hallo Ulrich,
ich habe, dein
So what about:
It would be good to sort sites basing on alexa.com's popularity rating. The
best sites will be on top ! :)
2008/4/6, Oleg Pronin [EMAIL PROTECTED]:
It would be good to sort sites basing on alexa.com's popularity rating.
The best sites will be on top ! :)
2008/4/6, Stephen
if this
preview will be on 261 page.
2008/4/7, Oleg Pronin [EMAIL PROTECTED]:
It's definitely better than sites that are on top currently :) Especially
first :)
Also i meant 'most popular sites', not 'best sites', sorry :)
What are all of these need for ? The CS site is not only site for catalyst
Catalyst (C3 NEXT) noise STDERR on perl 5.10.
What should i do to shut them up?
Useless localization of subroutine entry at
/usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Action.pm line 41.
Subroutine initialize redefined at
/usr/local/lib/perl5/site_perl/5.10.0/Class/C3.pm line 70.
Subroutine
I mean, could you please shut them up?
___
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:
/tag/name/name
/tag/id/id
NOT name ! - transcription, because tag names might be in different
languages.
2008/4/12, Christopher H. Laco [EMAIL PROTECTED]:
Ashley wrote:
On Apr 11, 2008, at 1:10 PM, Stephen Sykes wrote:
Ashley wrote:
On Apr 11, 2008, at 11:55 AM, Stephen
I use it for 3 years. It might be used in production i think.
About 5 minutes: there are a set of attributes (ReconnectRetries,
ReconnectTimeout, etc) - you can manipulate how long it will reconnect.
2008/6/20 Mitch Jackson [EMAIL PROTECTED]:
You can use DBIx::Class with
everything in other languages sucks compared to catalyst DBIC.
what is the goal to adapt more powerful system to less powerful?
2008/6/29 Stephen Adkins [EMAIL PROTECTED]:
Hi,
We have been promoting the idea of a community project to get Perl
supported on Google App Engine.
*
Hi.
I need to inspect my fcgi process, so i tried to do
truss -p fcgi_worker_pid
But fcgi process immediately exits when truss just starts.
Does anyone know why does it happen and how to get it to work?
Please anybody, try to do
truss -p fcgi_worker_pid
on standalone (not in apache) fcgi
Hello. Catalyst is the best MVC ever. Thanks for doing your work guys!
I use Catalyst in extremely loaded projects (currently 60.000.000 pageloads
/ day).
Thereforce i'm perfomance paranoid man.
One of 'black stones' is the -config method. It has dramatically slow
perfomance at
config_method: 1
*we should now - we should not :-)
2009/2/22 Oleg Pronin syber@gmail.com
1% here and 1% there. You won't detect any place that takes longer. All of
load is 1%+1%+
Don't you agree ? Plus a number of plugins calls -config on startup which
slow downs startup as well)
P.S.
I use
on HUP.
2009/2/22 Jonathan Rockway j...@jrock.us
* On Sat, Feb 21 2009, Oleg Pronin wrote:
I use Catalyst in extremely loaded projects (currently 60.000.000
pageloads / day).
Thereforce i'm perfomance paranoid man.
One of 'black stones' is the -config method. It has dramatically slow
Greetings!
This post can be intresting for those who ever wanted to make theirs configs
more flexible / more supportable.
Through 1.5 year evolution of my config plugin i ended up with
ConfigLoader::MultiState.
Now it is extracted from our company's framework and moved to CPAN as
The problem is that on creation of MyApp object in Catalyst::prepare, i get
MyApp object merged with (!!!) my config.
MyApp-new does ok until this line of code
Catalyst::CODE(0x80d2d81f8)(/usr/local/lib/perl5/site_perl/5.10.0/Catalyst.pm:1110):
1110:
I've got problem with new Authentication too. It is said that one can pass
login password to authenticate call. But it somewhy no longer
authenticates that way (in case of Credential::HTTP)
2009/5/7 Ascii King t...@swattermatter.com
the authorization component of my application no longer works
2009/5/8 Tomas Doran bobtf...@bobtfish.net
Oleg Pronin wrote:
I've got problem with new Authentication too. It is said that one can pass
login password to authenticate call. But it somewhy no longer
authenticates that way (in case of Credential::HTTP)
Credential::HTTP doesn't work like
2009/5/8 Tomas Doran bobtf...@bobtfish.net
Oleg Pronin wrote:
Not really :-) While in request, browser header is ok, but the task is to
be able to authenticate in offline scripts as well - because the controllers
and etc read logged in user from $c-user.
Currently we use workaround - fake
...@bobtfish.net
Oleg Pronin wrote:
Not really :-) While in request, browser header is ok, but the task is to
be able to authenticate in offline scripts as well - because the controllers
and etc read logged in user from $c-user.
Currently we use workaround - fake $c object + setup $c-request-header
5.8 !!TWICE!! slower at startup than 5.7 under any perl version. This
is annoying because i have 100 models and i do not want to wait 10
secs while it is starting in debug.
2009/9/29 Tomas Doran bobtf...@bobtfish.net:
Toby Corkindale wrote:
It's interesting to note the headline figures have
i meant 100 resultsources+controllers :-) not models
2009/9/30 Tomas Doran bobtf...@bobtfish.net:
On 29 Sep 2009, at 22:12, Oleg Pronin wrote:
5.8 !!TWICE!! slower at startup than 5.7 under any perl version. This
is annoying because i have 100 models and i do not want to wait 10
secs while
is a Moose-based class. :-)
2009/10/12 Joel Bernstein j...@fysh.org:
2009/10/12 Oleg Pronin syber@gmail.com:
sorry for disturbing you guys, that was fully my issue :-)
But what was it? Your explanation offline script made no sense. If
you explain then the next person who makes the same
. Shirley jshir...@gmail.com:
On Wed, Apr 21, 2010 at 9:30 AM, Oleg Pronin syber@gmail.com wrote:
This was the last shot for me at dealing with catalyst.
Catalyst is very perfomance-optimized system and it never stops me wondering
timethese(-1, {
sep = sub { $req-param('lang
Perfomance optimization are unavailable for you because only people
like you write such mega slow fuckin code. goodbye
2010/4/23 J. Shirley jshir...@gmail.com:
On Fri, Apr 23, 2010 at 4:36 AM, Oleg Pronin syber@gmail.com wrote:
Can you hear the difference between 3mln/s and 24k/s ?
I do
2010/4/27 J. Shirley jshir...@gmail.com:
On Mon, Apr 26, 2010 at 1:51 PM, Zbigniew Lukasiak zzb...@gmail.com wrote:
On Mon, Apr 26, 2010 at 1:26 PM, Ben van Staveren
benvanstave...@gmail.com wrote:
Because if you are working with, say, 10 people on a team, and you will have
everyone merrily
1) param is called often several times (in auto/end etc)
2) The question is not about params, but about accessors speed at all.
If all acessors were XSAccessor for example (catalyst makes a lot of
calls -stack/action/dispatcher , etc internally during request), then
your overall speed would be
i forgot
form method=POST
2010/6/3 Oleg Pronin syber@gmail.com:
form id=myform
input type=hidden name=... value=.../
... any number of params
input type=hidden name=page value=[%page%]/
...
a href=# onclick=$('#myform input[name=page]').val(2);
$('#myform').submit()
Page 2
form id=myform
input type=hidden name=... value=.../
... any number of params
input type=hidden name=page value=[%page%]/
...
a href=# onclick=$('#myform input[name=page]').val(2);
$('#myform').submit()
Page 2
/a
/form
2010/6/2 w...@serensoft.com w...@serensoft.com:
Short
41 matches
Mail list logo