{"action":"created","comment":{"url":"https://api.github.com/repos/teracyhq/blog/pulls/comments/86395466","pull_request_review_id":7056728,"id":86395466,"diff_hunk":"@@ -37,7 +37,7 @@ Theo lý thuyết thì không có lý do gì để mọi người thay đổi UR\n \n * **Trước đây tôi dùng CGI script còn giờ thì chúng tôi chuyển sang dùng một chương trình khác.**\n \n-  Việc bạn cứ phải chạy theo cấu trúc URI của một kiểu chương trình/Framework này và rồi sau đó thay đổi nó chỉ vì bạn sử dụng một chương trình khác nghe thật là điên rồ. Ngoài ra việc bạn không cấu hình lại được URI cho phần mềm đấy còn để lộ thông tin về cách thức hoạt động của máy chủ của bạn cho người khác thấy (kiều như bạn dùng máy chủ kiểu gì, phần mềm nào) và điều đó cũng hơi nguy hiểm đấy. Tóm lại là rất bất hợp lý nếu bạn thay đổi cơ chế hoạt động và wov tất cả các đường dẫn đều phải thay đổi dù nội dung của bạn không thay đổi gì.\n+  Việc bạn cứ phải chạy theo cấu trúc URI của một kiểu chương trình/Framework này và rồi sau đó thay đổi nó chỉ vì bạn sử dụng một chương trình khác nghe thật là điên rồ. Ngoài ra việc bạn không cấu hình lại được URI cho phần mềm đấy còn để lộ thông tin về cách thức hoạt động của máy chủ của bạn cho người khác thấy (kiều như bạn dùng máy chủ kiểu gì, phần mềm nào) và điều đó cũng hơi nguy hiểm đấy. Tóm lại là rất bất hợp lý nếu bạn thay đổi cơ chế hoạt động và tất cả các đường dẫn đều phải thay đổi dù nội dung của bạn không thay đổi gì.","path":"source/_posts/2016-10-31-URIs-tot-se-khong-bao-gio-thay-doi.markdown","position":null,"original_position":18,"commit_id":"b105b30831dbd52d12677d579ce72d0a5ca5b3e4","original_commit_id":"b105b30831dbd52d12677d579ce72d0a5ca5b3e4","user":{"login":"hoavu","id":1079960,"avatar_url":"https://avatars.githubusercontent.com/u/1079960?v=3","gravatar_id":"","url":"https://api.github.com/users/hoavu","html_url":"https://github.com/hoavu","followers_url":"https://api.github.com/users/hoavu/followers","following_url":"https://api.github.com/users/hoavu/following{/other_user}","gists_url":"https://api.github.com/users/hoavu/gists{/gist_id}","starred_url":"https://api.github.com/users/hoavu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoavu/subscriptions","organizations_url":"https://api.github.com/users/hoavu/orgs","repos_url":"https://api.github.com/users/hoavu/repos","events_url":"https://api.github.com/users/hoavu/events{/privacy}","received_events_url":"https://api.github.com/users/hoavu/received_events","type":"User","site_admin":false},"body":"(kiều như --> (kiểu như","created_at":"2016-11-03T17:12:37Z","updated_at":"2016-11-03T17:13:27Z","html_url":"https://github.com/teracyhq/blog/pull/73#discussion_r86395466","pull_request_url":"https://api.github.com/repos/teracyhq/blog/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/comments/86395466"},"html":{"href":"https://github.com/teracyhq/blog/pull/73#discussion_r86395466"},"pull_request":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/teracyhq/blog/pulls/73","id":87069876,"html_url":"https://github.com/teracyhq/blog/pull/73","diff_url":"https://github.com/teracyhq/blog/pull/73.diff","patch_url":"https://github.com/teracyhq/blog/pull/73.patch","issue_url":"https://api.github.com/repos/teracyhq/blog/issues/73","number":73,"state":"open","locked":false,"title":"BLOG-71 | [trans] Cool URIs don't change","user":{"login":"phuonglm","id":646429,"avatar_url":"https://avatars.githubusercontent.com/u/646429?v=3","gravatar_id":"","url":"https://api.github.com/users/phuonglm","html_url":"https://github.com/phuonglm","followers_url":"https://api.github.com/users/phuonglm/followers","following_url":"https://api.github.com/users/phuonglm/following{/other_user}","gists_url":"https://api.github.com/users/phuonglm/gists{/gist_id}","starred_url":"https://api.github.com/users/phuonglm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuonglm/subscriptions","organizations_url":"https://api.github.com/users/phuonglm/orgs","repos_url":"https://api.github.com/users/phuonglm/repos","events_url":"https://api.github.com/users/phuonglm/events{/privacy}","received_events_url":"https://api.github.com/users/phuonglm/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-28T07:48:50Z","updated_at":"2016-11-03T17:13:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"244d1bb506aee8f41ffad55a6436e04b8b77acba","assignee":{"login":"hoavu","id":1079960,"avatar_url":"https://avatars.githubusercontent.com/u/1079960?v=3","gravatar_id":"","url":"https://api.github.com/users/hoavu","html_url":"https://github.com/hoavu","followers_url":"https://api.github.com/users/hoavu/followers","following_url":"https://api.github.com/users/hoavu/following{/other_user}","gists_url":"https://api.github.com/users/hoavu/gists{/gist_id}","starred_url":"https://api.github.com/users/hoavu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoavu/subscriptions","organizations_url":"https://api.github.com/users/hoavu/orgs","repos_url":"https://api.github.com/users/hoavu/repos","events_url":"https://api.github.com/users/hoavu/events{/privacy}","received_events_url":"https://api.github.com/users/hoavu/received_events","type":"User","site_admin":false},"assignees":[{"login":"hoavu","id":1079960,"avatar_url":"https://avatars.githubusercontent.com/u/1079960?v=3","gravatar_id":"","url":"https://api.github.com/users/hoavu","html_url":"https://github.com/hoavu","followers_url":"https://api.github.com/users/hoavu/followers","following_url":"https://api.github.com/users/hoavu/following{/other_user}","gists_url":"https://api.github.com/users/hoavu/gists{/gist_id}","starred_url":"https://api.github.com/users/hoavu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoavu/subscriptions","organizations_url":"https://api.github.com/users/hoavu/orgs","repos_url":"https://api.github.com/users/hoavu/repos","events_url":"https://api.github.com/users/hoavu/events{/privacy}","received_events_url":"https://api.github.com/users/hoavu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/teracyhq/blog/pulls/73/commits","review_comments_url":"https://api.github.com/repos/teracyhq/blog/pulls/73/comments","review_comment_url":"https://api.github.com/repos/teracyhq/blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teracyhq/blog/issues/73/comments","statuses_url":"https://api.github.com/repos/teracyhq/blog/statuses/b105b30831dbd52d12677d579ce72d0a5ca5b3e4","head":{"label":"phuonglm:blog_71_cool_uris_dont_change","ref":"blog_71_cool_uris_dont_change","sha":"b105b30831dbd52d12677d579ce72d0a5ca5b3e4","user":{"login":"phuonglm","id":646429,"avatar_url":"https://avatars.githubusercontent.com/u/646429?v=3","gravatar_id":"","url":"https://api.github.com/users/phuonglm","html_url":"https://github.com/phuonglm","followers_url":"https://api.github.com/users/phuonglm/followers","following_url":"https://api.github.com/users/phuonglm/following{/other_user}","gists_url":"https://api.github.com/users/phuonglm/gists{/gist_id}","starred_url":"https://api.github.com/users/phuonglm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuonglm/subscriptions","organizations_url":"https://api.github.com/users/phuonglm/orgs","repos_url":"https://api.github.com/users/phuonglm/repos","events_url":"https://api.github.com/users/phuonglm/events{/privacy}","received_events_url":"https://api.github.com/users/phuonglm/received_events","type":"User","site_admin":false},"repo":{"id":11979954,"name":"teracy-official-blog","full_name":"phuonglm/teracy-official-blog","owner":{"login":"phuonglm","id":646429,"avatar_url":"https://avatars.githubusercontent.com/u/646429?v=3","gravatar_id":"","url":"https://api.github.com/users/phuonglm","html_url":"https://github.com/phuonglm","followers_url":"https://api.github.com/users/phuonglm/followers","following_url":"https://api.github.com/users/phuonglm/following{/other_user}","gists_url":"https://api.github.com/users/phuonglm/gists{/gist_id}","starred_url":"https://api.github.com/users/phuonglm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuonglm/subscriptions","organizations_url":"https://api.github.com/users/phuonglm/orgs","repos_url":"https://api.github.com/users/phuonglm/repos","events_url":"https://api.github.com/users/phuonglm/events{/privacy}","received_events_url":"https://api.github.com/users/phuonglm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phuonglm/teracy-official-blog","description":"Teracy's official blog at http://blog.teracy.com","fork":true,"url":"https://api.github.com/repos/phuonglm/teracy-official-blog","forks_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/forks","keys_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/teams","hooks_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/hooks","issue_events_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/issues/events{/number}","events_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/events","assignees_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/assignees{/user}","branches_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/branches{/branch}","tags_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/tags","blobs_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/languages","stargazers_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/stargazers","contributors_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/contributors","subscribers_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/subscribers","subscription_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/subscription","commits_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/contents/{+path}","compare_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/merges","archive_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/downloads","issues_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/issues{/number}","pulls_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/labels{/name}","releases_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/releases{/id}","deployments_url":"https://api.github.com/repos/phuonglm/teracy-official-blog/deployments","created_at":"2013-08-08T15:39:20Z","updated_at":"2013-08-08T16:07:53Z","pushed_at":"2016-11-02T01:36:35Z","git_url":"git://github.com/phuonglm/teracy-official-blog.git","ssh_url":"git@github.com:phuonglm/teracy-official-blog.git","clone_url":"https://github.com/phuonglm/teracy-official-blog.git","svn_url":"https://github.com/phuonglm/teracy-official-blog","homepage":null,"size":66480,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"teracyhq:master","ref":"master","sha":"48bb1697daa92dd9009bee80e4ddc0a0b14240da","user":{"login":"teracyhq","id":3781452,"avatar_url":"https://avatars.githubusercontent.com/u/3781452?v=3","gravatar_id":"","url":"https://api.github.com/users/teracyhq","html_url":"https://github.com/teracyhq","followers_url":"https://api.github.com/users/teracyhq/followers","following_url":"https://api.github.com/users/teracyhq/following{/other_user}","gists_url":"https://api.github.com/users/teracyhq/gists{/gist_id}","starred_url":"https://api.github.com/users/teracyhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teracyhq/subscriptions","organizations_url":"https://api.github.com/users/teracyhq/orgs","repos_url":"https://api.github.com/users/teracyhq/repos","events_url":"https://api.github.com/users/teracyhq/events{/privacy}","received_events_url":"https://api.github.com/users/teracyhq/received_events","type":"Organization","site_admin":false},"repo":{"id":11877151,"name":"blog","full_name":"teracyhq/blog","owner":{"login":"teracyhq","id":3781452,"avatar_url":"https://avatars.githubusercontent.com/u/3781452?v=3","gravatar_id":"","url":"https://api.github.com/users/teracyhq","html_url":"https://github.com/teracyhq","followers_url":"https://api.github.com/users/teracyhq/followers","following_url":"https://api.github.com/users/teracyhq/following{/other_user}","gists_url":"https://api.github.com/users/teracyhq/gists{/gist_id}","starred_url":"https://api.github.com/users/teracyhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teracyhq/subscriptions","organizations_url":"https://api.github.com/users/teracyhq/orgs","repos_url":"https://api.github.com/users/teracyhq/repos","events_url":"https://api.github.com/users/teracyhq/events{/privacy}","received_events_url":"https://api.github.com/users/teracyhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teracyhq/blog","description":"Teracy's official blog at http://blog.teracy.com - Get experience shared!","fork":false,"url":"https://api.github.com/repos/teracyhq/blog","forks_url":"https://api.github.com/repos/teracyhq/blog/forks","keys_url":"https://api.github.com/repos/teracyhq/blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teracyhq/blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teracyhq/blog/teams","hooks_url":"https://api.github.com/repos/teracyhq/blog/hooks","issue_events_url":"https://api.github.com/repos/teracyhq/blog/issues/events{/number}","events_url":"https://api.github.com/repos/teracyhq/blog/events","assignees_url":"https://api.github.com/repos/teracyhq/blog/assignees{/user}","branches_url":"https://api.github.com/repos/teracyhq/blog/branches{/branch}","tags_url":"https://api.github.com/repos/teracyhq/blog/tags","blobs_url":"https://api.github.com/repos/teracyhq/blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teracyhq/blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teracyhq/blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/teracyhq/blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teracyhq/blog/statuses/{sha}","languages_url":"https://api.github.com/repos/teracyhq/blog/languages","stargazers_url":"https://api.github.com/repos/teracyhq/blog/stargazers","contributors_url":"https://api.github.com/repos/teracyhq/blog/contributors","subscribers_url":"https://api.github.com/repos/teracyhq/blog/subscribers","subscription_url":"https://api.github.com/repos/teracyhq/blog/subscription","commits_url":"https://api.github.com/repos/teracyhq/blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/teracyhq/blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/teracyhq/blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/teracyhq/blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/teracyhq/blog/contents/{+path}","compare_url":"https://api.github.com/repos/teracyhq/blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teracyhq/blog/merges","archive_url":"https://api.github.com/repos/teracyhq/blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teracyhq/blog/downloads","issues_url":"https://api.github.com/repos/teracyhq/blog/issues{/number}","pulls_url":"https://api.github.com/repos/teracyhq/blog/pulls{/number}","milestones_url":"https://api.github.com/repos/teracyhq/blog/milestones{/number}","notifications_url":"https://api.github.com/repos/teracyhq/blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teracyhq/blog/labels{/name}","releases_url":"https://api.github.com/repos/teracyhq/blog/releases{/id}","deployments_url":"https://api.github.com/repos/teracyhq/blog/deployments","created_at":"2013-08-04T10:32:36Z","updated_at":"2016-10-26T09:20:24Z","pushed_at":"2016-11-02T01:36:36Z","git_url":"git://github.com/teracyhq/blog.git","ssh_url":"git@github.com:teracyhq/blog.git","clone_url":"https://github.com/teracyhq/blog.git","svn_url":"https://github.com/teracyhq/blog","homepage":"","size":72363,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/73"},"html":{"href":"https://github.com/teracyhq/blog/pull/73"},"issue":{"href":"https://api.github.com/repos/teracyhq/blog/issues/73"},"comments":{"href":"https://api.github.com/repos/teracyhq/blog/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teracyhq/blog/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/teracyhq/blog/statuses/b105b30831dbd52d12677d579ce72d0a5ca5b3e4"}}}}
{"actor":{"display_login":"hoavu"}}