Re: Routes 1.8 Release

2008-04-16 Thread Jorge Vargas

On Sun, Apr 6, 2008 at 11:51 PM, Damjan [EMAIL PROTECTED] wrote:

   Previously, Routes used a ';' mark for an action in map.resource, like:
   /comments/4;preview
  
   With 1.8, its now:
   /comments/4/preview

  What exactly is the reason for this?
  I'm asking since ; seemed like a nice separator, and I've used it in
  some other projects.

I believe the best reason for the fix is simply being normal this is
the first time I have seen ; used in URLs and I believe most users
will see it as a typo given that it's so uncommon.


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Routes 1.8 Release

2008-04-07 Thread blaf

Hi,

I don't know the real reason behind this change but for me it feels
more natural and elegant to have clean URLs with slashes than using
any other caracters =)

Blaise

On Apr 6, 11:51 pm, Damjan [EMAIL PROTECTED] wrote:
  Previously, Routes used a ';' mark for an action in map.resource, like:
  /comments/4;preview

  With 1.8, its now:
  /comments/4/preview

 What exactly is the reason for this?
 I'm asking since ; seemed like a nice separator, and I've used it in
 some other projects.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Routes 1.8 Release

2008-04-07 Thread Damjan


 I don't know the real reason behind this change but for me it feels
 more natural and elegant to have clean URLs with slashes than using
 any other caracters =)

well the difference is between
/some_resource;edit
/some_resource;preview
etc.
and
/some_resource/edit

now /edit looks like an aditional resource... ;edit otoh looks like a
special view of the resource.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Re: Routes 1.8 Release

2008-04-07 Thread Ben Bangert

On Apr 7, 2008, at 7:03 AM, Damjan wrote:


well the difference is between
/some_resource;edit
/some_resource;preview
etc.
and
/some_resource/edit

now /edit looks like an aditional resource... ;edit otoh looks like a
special view of the resource


Using ; was actually a no-no according to the URL RFC specs.  
Apparently some systems don't properly handle it as well. I never  
heard what systems they were, but Rails got a lot of bashing for its  
improper use of ';' which is what I had based Routes on, so I changed  
as well.


Cheers,
Ben

smime.p7s
Description: S/MIME cryptographic signature


Re: Routes 1.8 Release

2008-04-07 Thread Damjan

maybe because of this:
http://www.issociate.de/board/post/11276/Forwarding_URL_with_semicolon.html

although I don't think Apache is doing the correct thing there... I'll
check that later
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---



Routes 1.8 Release

2008-03-28 Thread Ben Bangert
I'm releasing Routes 1.8 today, it has a few fixes for some unicode  
bugs, but the main reason for the announcement is that how  
map.resource works is being altered in a way that may break hard-coded  
links.


Previously, Routes used a ';' mark for an action in map.resource, like:
/comments/4;preview

With 1.8, its now:
/comments/4/preview

Rails made this 'fix' quite awhile ago, and its been late coming to  
Routes.


The other change that might break some apps is that Routes no longer  
double escapes the already escaped URL. I know some people have  
workarounds in their code to handle this, which will need to be  
removed after upgrading.


Cheers,
Ben

smime.p7s
Description: S/MIME cryptographic signature


Re: Routes 1.8 Release

2008-03-28 Thread Dunk Fordyce

yay!

iv wondered every day this week when you would release :)

On Fri, Mar 28, 2008 at 9:10 PM, Ben Bangert [EMAIL PROTECTED] wrote:
 I'm releasing Routes 1.8 today, it has a few fixes for some unicode
  bugs, but the main reason for the announcement is that how
  map.resource works is being altered in a way that may break hard-coded
  links.

  Previously, Routes used a ';' mark for an action in map.resource, like:
  /comments/4;preview

  With 1.8, its now:
  /comments/4/preview

  Rails made this 'fix' quite awhile ago, and its been late coming to
  Routes.

  The other change that might break some apps is that Routes no longer
  double escapes the already escaped URL. I know some people have
  workarounds in their code to handle this, which will need to be
  removed after upgrading.

  Cheers,
  Ben

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~--~~~~--~~--~--~---