( Originally posted to perlmonks at http://www.perlmonks.org/?node_id=589529 )
I have released an (in progress) catalyst one-shot installer:
pimpmycat -- into Google code project hosting.
a href=http://code.google.com/p/pimpmycat/source;
This is the way I have evolved to manage complexity in
My application stores all dates in a MySQL database in the UTC timezone.
Because I'm doing further calculations with these dates after retrieving them
via DBIx::Class I don't want them to get auto-inflated into the timezone
of the current user. The DateTime POD recommends doing date calculations
On Thu, 2006-12-14 at 18:51 -0800, Andrew Peebles wrote:
Will Smith wrote:
I think you want:
$c-stash-{book} = [$c-model('myappDB::Book')-search( {}, {order_by
= 'title} )];
The DBIx::Class::ResultSet pod recommends using undef instead of {}, if
I remember right.
That's how I remember
On Fri, Dec 15, 2006 at 10:34:35AM +0100, Tobias Kremer wrote:
My application stores all dates in a MySQL database in the UTC timezone.
Because I'm doing further calculations with these dates after retrieving them
via DBIx::Class I don't want them to get auto-inflated into the timezone
of the
Zitat von Chisel Wright [EMAIL PROTECTED]:
I tend to use the following in my schema classes to deal with timestamps
in my app(s):
Yes, that's also what the DBIx::Class::InflateColumn::DateTime component which
I'm using for this purpose does:
to summarize:
a href=[% c.request.uri_with( page = pager.next_page ) %]Next Page/a
Funny that Catalyst::Enzyme reinvented the wheel, too:
http://search.cpan.org/dist/Catalyst-Enzyme/lib/Catalyst/Enzyme/CRUD/View.pm#%24c-%3Ethis_request_except(%25new_params)
Hermida, Leandro wrote:
authentication:
ldap:
ldap_server: myhostname.domain.com
ldap_server_options:
version : 3
binddn: searchuser
bindpw: searchpwd
user_basedn: cn=Users,dc=domain,dc=com
user_filter: ???
user_scope: sub
Dan Dascalescu wrote:
to summarize:
a href=[% c.request.uri_with( page = pager.next_page ) %]Next
Page/a
Funny that Catalyst::Enzyme reinvented the wheel, too:
http://search.cpan.org/dist/Catalyst-Enzyme/lib/Catalyst/Enzyme/CRUD/View.pm#%24c-%3Ethis_request_except(%25new_params)
Not
Does anyone have any advice on best practise for using transactions in a
database-based Catalyst app?
I'm using DBIx::Class, and I can see how I can wrap particular processing
steps with txn_do to impliment transactions. But it seems to me that there
might, for a general CRUD application, be
Happy Hanukkah everybody.
Len.
--
[EMAIL PROTECTED]
614-404-4214
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site:
Brandon Black wrote:
Or on the other hand, you could probably do it as a Controller
base-class using the begin and end methods there too, and then you
still have the option of some readonly controller not using
transactions.
While we're at making transaction-scopes smaller, I'd even go
Hi,
is-it possible to add a default base address to Catalyst urls ?
I have a classical application with /foo, /bar/123 urls, and I want to call them
as http://localhost:3000/baz/foo, http://localhost:3000/baz/bar/123, having all
Catalyst.uri_for with the complete base part.
I can of course
Julien GILLES [EMAIL PROTECTED] writes:
Hi,
is-it possible to add a default base address to Catalyst urls ?
I have a classical application with /foo, /bar/123 urls, and I want to call
them
as http://localhost:3000/baz/foo, http://localhost:3000/baz/bar/123, having
all
Catalyst.uri_for
Thank you for pointing me to the right doc. Sometimes I could not find the
right doc to read.
Thanks again for all your help
Happy holidays
Sébastien Wagener [EMAIL PROTECTED] wrote: On Thu, 2006-12-14 at 18:51 -0800,
Andrew Peebles wrote:
Will Smith wrote:
I think you want:
Julien GILLES wrote:
I can of course update all controllers, bu I need something configurable (in
myapp.yml it would be fine).
I think this is a webserver issue. `Alias /baz /path/to/myapp.fcgi/`
should be sufficient for Apache. You might also want to try:
base: /baz
in your myapp.yml. I
if you have an action that sends an email, how do you write tests for it?
perhaps print the email to a temp file in test mode? what do you guys do?
--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
16 matches
Mail list logo