View on GitHub

reading-notes

Review, Research, and Discussion

Popularity: By comparing stats, swagger-ui is more popular then apidocjs.

Consistency: If we already using swagger for our Dotnetcore service, then implementing swagger tool will consist more from Info and UI prospective.

Implementation complexity: apidocjs and swagger both required documentation content on implemented method as customize comment data. In addition they allow to write documentation data in separate resource file as .js and .json. If we already have swagger.json created by DotnetCore we can reuse more than 80% specification.

Maintenance: For apidocjs will have to modify documentation for each affected method/endpoints if service changed. In swagger we can limit changes. But by implementing apidocjs we can isolate the layer.

Other benefits: Because swagger use plain .json that could be parsed through programing language, thus we can get advantage of various other 3rd parties in order to create http client and more.

Future: Due to popularity of swagger, apidocjs provide information about apidoc-swagger converter so we can switch apidoc to swagger anytime.

Informational responses (100–199) Successful responses (200–299) Redirection messages (300–399) Client error responses (400–499) Server error responses (500–599)

SOAP (Simple Object Access Protocol) is a standards-based web services access protocol that has been around for a long time.

REST (Representational State Transfer) is another standard, made in response to SOAP’s shortcomings.

Soap Advantages

• Language, platform, and transport independent (REST requires use of HTTP).

• Works well in distributed enterprise environments (REST assumes direct point-to-point communication).

• Standardized.

• Provides significant pre-build extensibility in the form of the WS* standards.

• Built-in error handling.

• Automation when used with certain language products.

REST Advantages

• No expensive tools require to interact with the web service.

• Smaller learning curve.

• Efficient (SOAP uses XML for all messages, REST can use smaller message formats).

• Fast (no extensive processing required).

• Closer to other web technologies in design philosophy.


Express/Node introduction

Node.js

Introducing Node

Introducing Express

npm consists of three distinct components:

the website - the Command Line Interface (CLI) - the registry

### TDD


to learn mpre about npm and CLI visit this link — —