Skip to content

gh-555 - Ajax: Updated copy to fix opinionated statements #568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions page/ajax/jquery-ajax-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ While jQuery does offer many Ajax-related convenience methods, the core
imperative. We'll review it first, and then touch briefly on the convenience
methods.

I generally use the `$.ajax()` method and do not use convenience methods. As
you'll see, it offers features that the convenience methods do not, and its
syntax is more easily understandable, in my opinion.
It's often considered good practice to use the `$.ajax()` method over the jQuery provided [convenience methods](#convenience-methods). As you'll see, it offers features that the convenience methods do not, and its syntax allows for the ease of readability.

### `$.ajax()`

Expand Down
5 changes: 2 additions & 3 deletions page/ajax/key-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ For transporting JSON data from another domain.

For transporting data in a custom XML schema.

I am a strong proponent of using the JSON format in most cases, as it provides
the most flexibility. It is especially useful for sending both HTML and data at
the same time.
Consider using the JSON format in most cases, as it provides
the most flexibility. It is especially useful for sending both HTML and data at the same time.

### A is for Asynchronous

Expand Down