Bug Tracker

Modify

Ticket #378 (closed feature: invalid)

Opened 7 years ago

Last modified 2 years ago

Deprecate $.get and $.post

Reported by: joern Owned by:
Priority: minor Milestone: 1.0
Component: event Version: 1.0
Keywords: <Default> Cc: <Default>
Blocking: Blocked by:

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.

Change History

comment:1 Changed 7 years ago by joern

  • Status changed from new to closed
  • Resolution set to invalid

$.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.

comment:2 Changed 7 years ago by ipshfvbn

  • Priority changed from major to blocker
  • Version changed from 1.0b1 to 1.0
  • Component changed from dimensions to event

comment:3 Changed 6 years ago by anonymous

  • Status changed from closed to reopened
  • Resolution invalid deleted

comment:4 Changed 2 years ago by jitter

  • Status changed from reopened to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.