RE: [Catalyst] website member urls

2009-04-30 Thread Merlyn Kline
It could be also helpful if we could find a way to create urls like http://user.hostname.com/ dynamicly as Google blogger site does. We do this with a wildcard A record in the DNS and an Apache URL rewriting rule that moves the hostname into the path. When I started writing my app

Re: [Catalyst] website member urls

2009-04-30 Thread J. Shirley
On Thu, Apr 30, 2009 at 7:14 PM, Octavian Rasnita orasn...@gmail.comwrote: *From:* Merlyn Kline mer...@zynet.net It could be also helpful if we could find a way to create urls like http://user.hostname.com/ dynamicly as Google blogger site does. We do this with a wildcard A record in

RE: [Catalyst] website member urls

2009-04-30 Thread Merlyn Kline
It could be also helpful if we could find a way to create urls like http://user.hostname.com/ dynamicly as Google blogger site does. We do this with a wildcard A record in the DNS and an Apache URL rewriting rule that moves the hostname into the path. When I started

Re: [Catalyst] website member urls

2009-04-30 Thread Octavian Rasnita
From: Merlyn Kline It could be also helpful if we could find a way to create urls like http://user.hostname.com/ dynamicly as Google blogger site does. We do this with a wildcard A record in the DNS and an Apache URL rewriting rule that moves the hostname into the path.

Re: [Catalyst] website member urls

2009-04-30 Thread Tomas Doran
J. Shirley wrote: If you did want to do something in Catalyst, you could create a plugin that runs after prepare_path and modifies $c-request-path accordingly (match off $c-req-base domain)... it'd be an interesting plugin, that's for sure. I'm sure some of the deeper Catalyst hackers can

[Catalyst] website member urls

2009-04-29 Thread Charles
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

Re: [Catalyst] website member urls

2009-04-29 Thread Fernan Aguero
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

Re: [Catalyst] website member urls

2009-04-29 Thread Hans Dieter Pearcey
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 ) .

Re: [Catalyst] website member urls

2009-04-29 Thread Hans Dieter Pearcey
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:

Re: [Catalyst] website member urls

2009-04-29 Thread Charles
Pearcey hdp.perl.catalyst.us...@weftsoar.net To: catalyst@lists.scsys.co.uk Sent: Wednesday, April 29, 2009 4:42:08 PM Subject: Re: [Catalyst] website member urls 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

Re: [Catalyst] website member urls

2009-04-29 Thread John Romkey
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

Re: [Catalyst] website member urls

2009-04-29 Thread Charles
To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Wednesday, April 29, 2009 5:21:53 PM Subject: Re: [Catalyst] website member urls 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

Re: [Catalyst] website member urls

2009-04-29 Thread Charles
...@apocalypse.org To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Wednesday, April 29, 2009 5:21:53 PM Subject: Re: [Catalyst] website member urls 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

RE: [Catalyst] website member urls

2009-04-29 Thread Mesdaq, Ali
: [Catalyst] website member urls 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

Re: [Catalyst] website member urls

2009-04-29 Thread Octavian Rasnita
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,