Skip to content

Commit

Permalink
lb4: rework Testing your application (#479)
Browse files Browse the repository at this point in the history
Update "Testing your application" to match the content
in "Thinking in LoopBack", remove "Advanced testing".

Add Extending LoopBack 4

Fix Jekyll errors, etc

Update Extending LoopBack
  • Loading branch information
bajtos authored and Raymond Feng committed Oct 16, 2017
1 parent bd447c5 commit 5a54cef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pages/en/lb4/Extending-LoopBack-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ summary:

## Overview

LoopBack 4 is designed to be highly extensible. For architectural rationale and motivation, see [Crafting LoopBack 4](Crafting-LoopBack-4.html).
LoopBack 4 is designed to be highly extensible. For architectural rationale and motivation, see [Crafting LoopBack 4](Crafting-LoopBack-4.html).

## Building blocks for extensibility

Expand Down Expand Up @@ -54,7 +54,7 @@ const logger: Logger = await ctx.get('logger');
logger.log('Hello');
```

How does the IoC container have anything to do with extensibility?
How does the IoC container have anything to do with extensibility?

1. An alternative implementation of the service provider can be bound the context to replace the existing one. For example, we can implement different hashing functions for password encryption. The user management system can then receive a custom password hashing.

Expand Down Expand Up @@ -100,11 +100,12 @@ For a list of candidate extensions, see [loopback-next issue #512](https://githu

### System vs Application extensions

Some extensions are meant to extend the programming model and integration capability of the LoopBack 4 framework.
Some extensions are meant to extend the programming model and integration capability of the LoopBack 4 framework.

An application can be decomposed into multiple components too

## Examples & Tutorials

- loopback4-example-log-extension
- @loopback/authentication

0 comments on commit 5a54cef

Please sign in to comment.