Side navigation
#378 closed feature (invalid)
Opened November 10, 2006 05:20PM UTC
Closed November 26, 2010 08:30PM UTC
Deprecate $.get and $.post
Reported by: | joern | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.0 |
Component: | event | Version: | 1.0 |
Keywords: | <Default> | Cc: | <Default> |
Blocked by: | Blocking: |
Description
$.get and $.post are currently degenerated versions of $.ajax. The only thing that is useful about them is the conversion of data objects into string form. This could and should be handled by $.ajax, therefore there is hardly anymore use for $.get/$.post. "GET" is the default method for $.ajax anyway.
Attachments (0)
Change History (4)
Changed November 10, 2006 10:40PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed November 13, 2006 04:04PM UTC by comment:2
component: | dimensions → event |
---|---|
priority: | major → blocker |
version: | 1.0b1 → 1.0 |
Changed December 19, 2006 01:31AM UTC by comment:3
resolution: | invalid |
---|---|
status: | closed → reopened |
Changed November 26, 2010 08:30PM UTC by comment:4
resolution: | → invalid |
---|---|
status: | reopened → closed |
$.get and $.post are still useful for convenience: They provide a "typed" interfaces (no key/value object). But their inner logic can be completely moved to $.ajax: Both converting of data parameter and handling the response.