Surely that should be [% account.department_id %], etc.
All the best
Stuart
On 2012-04-27, at 10:50 AM, Kenneth S Mclane wrote:
[% accounts.department_id %]
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
Perl 5.10 isn't really supported any more, so it is highly likely that at some
stage the system Perl will get upgraded behind the scenes, breaking binary
compatibility with modules even if they are in local::lib. The only safe
solution is to use your own Perl (I'd not put it directly under
for an
example. In my FCGI, the FILENO method is present, but this appears to
have been added in version 0.67_01 on 20 Dec 2009 - this is pretty
recent and your Perl may not include it.
--S
Stuart Watt
ARM Product Developer
Information Balance
On 10/21/2010 2:43 PM, Ian Sillitoe wrote:
I have
on use
parent which is not properly set in the dependencies on CPAN.
I *think* what I need to do is either (a) fork C::P::I18N, or (b) fix
CatalystX::I18N. However, given the Moose changes, I'm not sure which is
a better approach. I'm guessing (b), but this is a guess.
Stuart Watt
ARM Product
Quick question: I'm currently using Catalyst::Plugin::I18N. Should I
be planning to move to CatalystX::I18N? Any thoughts...?
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
If it's a TT file you need (i.e., not static), along with appropriate
processing, you can make a variation on Ben's suggestion by using the
$c-request-arguments, and putting the file name into $c-stash-{template}
before handing off to the TT view, which is likely to be the default. This is a
using SSL? Looking at the code, this can affect the environment
variables used to transmit the remote name.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
thing architecturally.
--S
Stuart Watt
ARM Product Developer
Information Balance
On 9/8/2010 10:54 AM, Simon Miner wrote:
Thanks for the responses,
Jason, I don't think reducing the number of database connections will
hurt responsiveness. Even though there are 3 separate Catalyst apps,
each
it
successfully.
--S
Stuart Watt
ARM Product Developer
Information Balance
On 8/31/2010 6:03 AM, Eden Cardim wrote:
Stuart == Stuart Wattsw...@infobal.com writes:
Stuart !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
Stuart Transitional//EN I have a timing/configuration issue
displayed.
--S
Stuart Watt
ARM Product Developer
Information Balance
--
Bill Moseley
mose...@hank.org mailto:mose...@hank.org
--
This message was scanned by ESVA and is believed to be clean.
Click here to report this message as spam.
http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=BAC6E2807E
-$orig(@_);
}
}
if ($validation_error || (! $eval_result $error)) {
$c-error($validation_error //= $error);
}
return $result;
};
Stuart Watt
ARM Product Developer
Information Balance
On 8/31/2010 10:50 AM, Stuart Watt wrote:
Looks like I was wrong in where the error
got to, which makes it hard to decide
whether you can generate an error.
I could just be missing some documentation: maybe this is covered but I
haven't been able to find it.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List
I've tended to use:
link rel=stylesheet type=text/css href=[%
c.uri_for('/static/css/main.css') %]/
I guess it depends on how it's being hosted, but I couldn't assume the
top level URL space, so a straight absolute URL seemed a risk.
All the best
Stuart
--
Stuart Watt
ARM Product
to time.
We also like the ability to roll your own Dojo and build smaller
compressed systems containing the components you need.
All the best
Stuart
Stuart Watt
ARM Product Developer
Information Balance
On 7/26/2010 11:54 AM, Alexander Hartmaier wrote:
I'm one of the guys using ExtJS with DBIC
. This way caching is supposed to be handled right.
--S
Stuart Watt
ARM Product Developer
Information Balance
On 6/2/2010 1:56 PM, w...@serensoft.com wrote:
Short version:
Using [% c.req.uri_with({ page = pager.next_page }) %] is fine for a
simple single-field search (where the form uses GET instead
. It
probably thought they might be files. So we did pass stuff as query
elements, as this seems to be more viable on Microsoft servers anyway.
--S
Stuart Watt
ARM Product Developer
Information Balance
On 6/2/2010 1:56 PM, w...@serensoft.com wrote:
Short version:
Using [% c.req.uri_with({ page
to be MySQL memory access (of all things). Some kind of DB
issue showed up well in NYTProf, but other testing was needed to go
further. Even a tool like NYTProf will not guarantee you can find the
problem, because it may not be in Perl, let alone your app.
--S
--
Stuart Watt
ARM Product Developer
know
direct access as a no-no, because the accessors would work but not the
direct access.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo
Just come across an interesting possible interaction between Catalyst::View::TT
and Catalyst::Plugin::Compress:Gzip. The finalize method in
Catalyst::Plugin::Compress:Gzip is failing as the installed body reference is
actually a Template::Exception. The result is a failure to display error
,
and C::P::Compress::Zlib 0.04. There are changes logged in C::V::TT in
this area, so I guess that's where to look next.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk
We have a maintenance mode in our app which is kind of similar. We do this
before calling the authenticate method, and our entire app is covered by
authentication, so it isn't quite the same. But this does the conditional
global redirect.
I guess you could check the action more imaginatively
be possible to process
them with PHP by running PHP from Catalyst, I am pretty sure you would
not want to go there.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
Charles wrote:
I don't want to implement code for a blog. What's the easiest way to
incorporate
);
}
This is not tested, but seems the kind of intent needed. Any thoughts,
feedback, alternative solutions welcome.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk
On 2010-02-13, at 4:51 PM, Octavian Rasnita wrote:
Don't know how to get the time zone of the user from browser, but I think it
is not possible. You might need to get the visitor's IP and use a service
that can tell you his/her country or even city, and maybe there is a module
that can
On 2010-01-16, at 10:31 PM, Tomas Doran wrote:
I tend to just use Moose directly to construct mock classes for me:
Things are improving, t0m. I tried
use Class::MOP;
use Class::MOP::Class;
my $meta_refreshes = Class::MOP::Class-create('ARMAdmin::Model::Refreshes');
configuration.
All the best
Stuart
On 2010-01-17, at 8:56 PM, Tomas Doran wrote:
On 17 Jan 2010, at 22:07, Stuart Watt wrote
What I wanted to be able to do was mock out the remote job queue web
service, so at least I could check out that the front end render stuff
without to put an entire
OK, so it's not solely a Catalyst question, but I'd be keen for any pointers on
good tools for mocking when testing Catalyst applications. I'm not especially
needing mocking databases, i.e., I've seen DBD::Mock, but I want to test using
mocks of some other model components. The one that causes
It certainly is possible. We do it that way, with two YAML config files.
One has the schema_class (this is the one in the home area) and the
second has the connect_info (I guess the typed connect_into is just a
typo), which we put in a separate file in the site's directory, so we
can run
I always liked the solution used by Drupal of simply making cron use
curl/wget/... to request a special URL. Then it becomes an action and is
easy to code and configure almost on any platform.
Long-running tasks (beyond that of an HTTP request) are a different
matter. At present, we do this
You don't need FCGI::ProcManager under Windows. FCGI is enough, and it should
install OK. FCGI::ProcManager is only used when you pass --listen as it runs
FastCGI through TCP connections -- IIS uses named pipes so you don't want to
pass any TCP-related stuff. I've run the latest Catalyst fine
--
Stuart Watt
ARM Product Developer
Information Balance
___
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: http
base.
My question: is there an easier/better way to do this? If not, I'd be
keen to turn this into a patch, and rename stuff where I get better
suggestions.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst
Windows.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
Ascii King wrote:
I have an Apache 2.2.14 server with mod-perl 2.0.4 and Catalyst
5.80015 on a Windows XP machine.
My system runs fine from the built-in Catalyst web server. When I run
it through my Apache server, however
it for
a year or more and it has survived some fairly large scale stress testing.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
Ascii King wrote:
Stuart Watt wrote:
Free to wrong pool is usually an issue with XS and threading.
Digest::SHA is an XS module. Which Perl are you using
are emulated in Perl, whether in
mod_perl or in the FCGI process manager, I guess the performance is
almost equivalent. (Is this true? -- anybody benchmarked the two??)
That just leaves the pain of setting up mod_perl. I used to do that, but
I never really enjoyed it.
--S
Stuart Watt
ARM
it for mission-critical applications in 2001 -
applications which were still in use and running stable on the same
server 8 years later!!!
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
for Centos;
http://bugs.centos.org/view.php?id=2357
I was surprised at this, but I had checked a couple of months back and
no progress. I gave up on Centos in 1997 because of this, and am
surprised how long this is taking.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
: '.'
The additional quote_char and name_sep args were required to get DBIC to
do the right thing.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
b00b8b9d82da06a738cd7fe4d57760d8a8d69cd5 due to
address mismatch (146.229.203.46 != 64.255.180.21)
Is this something I should be concerned about? I've never really known
how this is possible (client IP changes? user is roaming?)
--
Stuart Watt
ARM Product Developer
Information Balance
On 18-Jun-09, at 4:01 AM, Tomas Doran wrote:
Any session data at all? Can you be more specific - I'd guess that
this should only hit you if the length is small, or if your sessions
get large.
No, the sessions were tiny, more or less all they held was the id for
which project the user
been for model data. Not so. And no, MSSQL was not my
idea!
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable
;
}
}
return;
}
Is there another simple but better way to achieve this? Ideally one
which avoids the deprecated $c-request-user. I'm only starting to use
Catalyst for authentication stuff.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
wouldn't even have understood Credential::Remote type code, but
by Monday I'll be better placed and have time enough to give it a
thorough test.
All the best
Stuart
Tomas Doran wrote:
Stuart Watt wrote:
I'm developing an app which uses IIS and FastCGI as its back end.
Also, we are expected
trick for now; we're close to production
deadlines right now, but I do want to get this out there!
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman
://dev.catalyst.perl.org/
--
Stuart Watt
ARM Product Developer
Information Balance
___
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
://dev.catalyst.perl.org/
--
This message was scanned by ESVA and is believed to be clean.
Click here to report this message as spam.
http://antispam.infobal.com/cgi-bin/learn-msg.cgi?id=8026A27FE8.9BC7B
--
Stuart Watt
ARM Product Developer
Information Balance
, capable of handling enough
about IIS/Apache configuration to get a base Catalyst application up and
running, with decent performance under Windows. If we'd had this, we
would have saved months of work, and this is not an exaggeration.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
I'd take is that platforms are in an ecology rather than
straight competition. i.e., why not just build outstanding Catalyst apps
when it's the right tool for the job.
--S
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst
/*
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
*/
--
Stuart Watt
ARM Product Developer
Information Balance
, I would have loved to have
=had such a chapter available
=
Any chance you'd consider a wiki entry or similar and post the url here :)
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
). The reliability and
performance are far better than we ever got through ActiveState and PerlEx.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin
anything left from a previous
iteration. In the end I still found DBI and some DBDs were responsible
for most of my missing memory, and upgrading them took away of lot of
issues.
All the best
Stuart
--
Stuart Watt
ARM Product Developer
Information Balance
I'm also curious about seeing
, Oct 29, 2008 at 10:11:35AM -0400, Stuart Watt wrote:
[...]
To give context, the queries that are an issue are SQL queries against a
database that contains millions of components, where users may construct
wildcard queries of the form *A*, with additional filtering constraints
now
All the best
Stuart
--
Stuart Watt
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Stuart Watt [EMAIL PROTECTED] wrote on 10/28/2008 12:22:07 PM:
Hi all,
Has anyone found a neat way of detecting and handling cancelled
requests? We have a Catalyst app that dynamically generates SQL queries
take
a while, and IIS seems to choose not to inform anyone (or us, at least)
when the user cancels a request and the connection close is initiated.
Does anyone have any experience or recommendations?
All the best
Stuart
--
Stuart Watt
[EMAIL PROTECTED
55 matches
Mail list logo