人間のために分かりやすい実用的なURLを設計する方法

検索エンジンなどの機械のためではなく、人間のために分かりやすいURLを設計する方法を紹介します。

サイトのキャプチャ

URL Design

[ad#ad-2]






URL



URL



URLASCII

URL

URL

URL



URL

URL




URLURL

URLURLURL

URL
URL

URL


URLURLURLURL
URLresque issues

URLFirefox, Chrome, Safari, Internet ExploreriPhone, Android

URL90%URL


URL



1,000,000Facebook
URL

URL


NamespacesURLNamespaceURL

https://github.com/defunkt/resque/issues

URLNamespacedefunkt/resqueURL/issues/wikiNamespace

Namespace


URL調URLsort=alpha&dir=descURL


使

URLASCII


ASCIIURL
URLASCII使

[ad#ad-2]

URL


URL

http://guitars.example.com/best-guitars/cheap-guitars/popular-guitar

URLSEOGoogle2003URLSEOURL



_
-使

使


URL

URL


URLURL

URL
URL使

URL


&HTML5JavaScript




onReplaceState

URL





onPushState

URLURLURL



onReplaceStateonPushState使


URL

使 






onPushState使







onReplaceState使






80%


<a><button>[command]<a>URLonReplaceStateonPushState使


AJAXhref

[command]JavaScriptreturn true



jQuery使

JavaScript

$('a.ajaxylink').click(function(e){
  // Fallback for browser that don't support the history API
  if (!('replaceState' in window.history)) return true

  // Ensure middle, control and command clicks act normally
  if (e.which == 2 || e.metaKey || e.ctrlKey){
    return true
  }

  // Do something awesome, then change the URL
  window.history.replaceState(null, "New Title", '/some/cool/url')
  return false
})

URL


URLURLPOST-specific URLsURLURL&

URLPOST-specific URLsAPI

素晴らしいURLの例

サイトのキャプチャ


(一)URLASCII使
defunkt, resque

(二)pullpull request使
pull

(三)pulldefunkt, resque
175

(四)
#issuecomment-619615


URLpatchdiff


JavaScriptAPI使URLURLURL

URLAJAXURL
URL

sponsors

top of page

©2024 coliss