| chris2 | but you didnt write location:zurich, did you? |
| apeiros | no, I wrote location/zurich |
| chris2 | you wrote weather/zurich :) |
| sockmonk | if you expose implementation details, that means if you change your implementation your url structure changes... unless you also write a facade or set up a bunch of redirects |
| apeiros | ah, more recent example |
| davidw | the weather in zurich is generally just *bad*... |
| apeiros | [17:03] <apeiros> weather.example/location/zurich I did write location/zurich ;-) but that was longer ago |
| Silowyi | apieros: it would seem there's no appreciable difference for static strings - http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/62309 |
| chris2 | ah, sorry |
| apeiros | davidw, agreed. especially at the moment :( snow =( |
| davidw | yuck I'm moving to innsbruck |
| apeiros | ya, totally yuck |
| davidw | which looks to be the same way *sigh*... |
| Aphelion | i'm bored. someone give me something interesting to write, possibly involving cute and completely unnecessary ajax |
| apeiros | chris2, the cow guide will tell you to avoid parameters (those are the component:param=value notation ones) and favor selectors (fake segments) if you can |
| Aphelion | COWS |
| apeiros | but actually I'm still trying to figure the rules for when you'd use what :) |
| Aphelion | ich liebe mein kuh (sp?) |
| Silowyi | Aphelion: I need to list attendance records sortable by clicking on the category heading :) |
| apeiros | imperative is a meaningful url. |
| chris2 | apeiros: okay, good then |
| Aphelion | when i google for "ruby cow" i get magnets and crime. i'm not sure what that means. |
| apeiros | that means that googling for ruby cow won't bring you to the COW I'm talking about. that one still resides on my ipod ;-) |
| Aphelion | o boo |
| olivier | Hi. I'm having a problem when deleting files created in threads under windows : the code pasted @ http://pastie.caboo.se/49073 works under linux but not under windows (got a permission denied). Any idea why ? |
| apeiros | chris2, about the "giving away implementation details" and why it is a pro: if you don't you need such idiotic stuff like "breadcrumbs" if you do, the url is your breadcrumbs. |
| chris2 | you expect the user to edit the url? |
| apeiros | no, I don't. but I enable him to. |
| chris2 | noone does that in the real world |
| apeiros | and why? because urls have consequently been dumbed down. with urls like foo.com/module.php?component=1323&sub=1232 it is just impossible. but the trend luckily goes towards meaningful urls in general. |
| olivier | nvm :) |