-
1. Re: Cleaner RESTful urls? Any suggestions?
christian.bauer Jul 12, 2007 12:23 PM (in response to toby451)Why is that cleaner? Because someone wrote a paper that says so?
-
2. Re: Cleaner RESTful urls? Any suggestions?
hstang Jul 12, 2007 12:24 PM (in response to toby451)Hi,
I haven't tried this myself yet, but have you tried UrlRewriteFilter @ http://tuckey.org/urlrewrite? I think some of the Seam examples use this to get cleaner looking URLs. -
3. Re: Cleaner RESTful urls? Any suggestions?
michael.yuan Jul 12, 2007 12:25 PM (in response to toby451)The "http://server/app/action/foo/bar" URL is more RoR-like. I think you can easily do this by setting up URL re-writing rules in Apache (if you use apache to front your jboss server).
-
4. Re: Cleaner RESTful urls? Any suggestions?
toby451 Jul 12, 2007 12:30 PM (in response to toby451)Well I didn't know there was paper on it. I guess I should have added a (IMO) somewhere in the "I would like to use this slightly cleaner variant"-sentence. Can we agree on "shorter"?
Still. I would very much appreciate suggestions... Thanks. -
5. Re: Cleaner RESTful urls? Any suggestions?
toby451 Jul 12, 2007 12:34 PM (in response to toby451)Ok thanks for your pointers hstang and Michael.
I will investigate!
/Tobias -
6. Re: Cleaner RESTful urls? Any suggestions?
gavin.king Jul 15, 2007 5:59 AM (in response to toby451)Christian is using URLRewrite filter in the wiki example to handle stuff like this.
-
7. Re: Cleaner RESTful urls? Any suggestions?
toby451 Jul 15, 2007 6:07 AM (in response to toby451)Ok, I'll have a look.
Thanks for prompt
answers everybody.
/Tobias -
8. Re: Cleaner RESTful urls? Any suggestions?
elliotg Sep 12, 2007 7:47 PM (in response to toby451)"christian.bauer@jboss.com" wrote:
Why is that cleaner? Because someone wrote a paper that says so?
This is the first thread I read in the forum. I am considering Seam for new development projects, I hope this hostility is not prevalent throughout the site and organization. -
9. Re: Cleaner RESTful urls? Any suggestions?
shane.bryzak Sep 12, 2007 9:13 PM (in response to toby451)Christian is actually a friendly guy, he just likes to tell it how it is :).
-
10. Re: Cleaner RESTful urls? Any suggestions?
ericjava Sep 12, 2007 9:52 PM (in response to toby451)Having the right URLs is vitally important for any type of SEO or search engine indexing of your site. http://example.com/products.seam?productId=48484 is a lot worse than http://example.com/products/LawnDarts/super-penetrating-dart-484842
-
11. Re: Cleaner RESTful urls? Any suggestions?
christian.bauer Sep 13, 2007 1:26 AM (in response to toby451)Why is that so and where can I find more information about it?
-
12. Re: Cleaner RESTful urls? Any suggestions?
stephen.friedrich Sep 13, 2007 3:48 AM (in response to toby451)Christian, it was news to me, too, so I tried to find some references.
Don't know how much of it is myth, but a quick google search with "search engine optimization urls parameters" gave lots of results:
http://www.webpronews.com/topnews/2004/01/14/url-structure-and-search-engine-optimizationMatt Cutts, a software engineer at Google, stated at a recent Search Engine Strategies conference. " The more there are [parameters], the more hesitant Google will be to crawl those pages.
http://www.seo-watch.com/Many search engines like Google for example don't like dynamically created pages because the crawlers might get in an infinite loop on your server if they follow dynamically created web pages with a query string in it. The spider can be trapped in the web server - and therefore the spiders and bots are very careful not to enter the web site too deep.
Dynamic generated URL's with a large number of parameters "?&id=" can therefore cause problems for search engine bots. This is why we normally recommend to use a seo rewriting program to change dynamic URL's into Google-friendly URL's. This is always a good step to start with, when you hire a SEO company.
http://www.adiazar.com/Search engines feel scary from query parameters since it is easy to get their crawlers stuck crawling few pages with just changing query parameter value dynamically. Google says that a URL that has more than three query parameters may not be indexed.
-
13. Re: Cleaner RESTful urls? Any suggestions?
bsmithjj Sep 13, 2007 11:57 AM (in response to toby451)"ElliotG" wrote:
"christian.bauer@jboss.com" wrote:
Why is that cleaner? Because someone wrote a paper that says so?
This is the first thread I read in the forum. I am considering Seam for new development projects, I hope this hostility is not prevalent throughout the site and organization.
yeah - I got the same 'hostile' type of response from the same person http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118295&postdays=0&postorder=asc&start=0
However, there's tons of great information here and usually your questions get answered fast and friendly by both Seam developers and users. Welcome to the forum! -
14. Re: Cleaner RESTful urls? Any suggestions?
christian.bauer Sep 13, 2007 1:02 PM (in response to toby451)So, these are rumors and hearsay posted on random weblogs. Is there any link, like, to Googles own description of its bot?