[Catalyst] Performance
Christopher H. Laco
claco at chrislaco.com
Fri Mar 9 14:37:20 GMT 2007
Robert 'phaylon' Sedlacek wrote:
> Christopher H. Laco wrote:
> =
>> Even better, just don't use uri_for if you don't have to. Relative uris
>> are your friend. They still work. The web still functions without
>> uri_for. :-)
>>
>> If you are working on an index page, and you have create/edit/view links
>> that are relative to that page, just use html:
> =
> Unfortunately, this kills off one big advantage: I can pass an action to
> uri_for and configure my URIs independently of the application in my
> configuration file.
> =
Sure, it they're that different. The goal still stands, don't use
uri_for everywhere. Only use it when you really need it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070309/9f8c=
6821/signature.pgp
More information about the Catalyst
mailing list