Skip to content

Commit 3ee7f3b

Browse files
committed
Deploying to gh-pages from @ 2a555fd 🚀
1 parent 2a555fd commit 3ee7f3b

File tree

1,141 files changed

+75824
-6101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,141 files changed

+75824
-6101
lines changed

pages/en/lb4/Application-generator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ The tool will prompt you for:
6868
- Optional modules to add to the application. These modules are helpful tools to
6969
help format, test, and build a LoopBack4 application. Defaults to `true` for
7070
all of the modules. The prompted modules are:
71-
7271
- [`eslint`](https://www.npmjs.com/package/eslint)
7372
- [`prettier`](https://www.npmjs.com/package/prettier)
7473
- [`mocha`](https://www.npmjs.com/package/mocha)

pages/en/lb4/Appsody-LoopBack.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,6 @@ terminal window opened in your project directory. In our case, this is the
904904
![lb4appsody_template_webpage_cloud_1.png](./imgs/lb4appsody_template_webpage_cloud_1.png)
905905

906906
As mentioned earlier, all these endpoints are available:
907-
908907
- Application endpoint: /
909908
- API explorer: /explorer
910909
- Open API Spec: /openapi.json

pages/en/lb4/Binding.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ reqCtx.scope = BindingScope.REQUEST;
532532
```
533533
534534
The owner context for the code snippet above will be:
535-
536535
- 'foo.app': appCtx
537536
- 'foo.server': serverCtx
538537
@@ -560,7 +559,6 @@ reqCtx.scope = BindingScope.REQUEST;
560559
ancestors recursively
561560
562561
b. Use the scope of binding found to locate the resolution context:
563-
564562
- Use the `current context` for `CONTEXT` and `TRANSIENT` scopes
565563
- Use the `owner context` for `SINGLETON` scope
566564
- Use the first context that matches the binding scope in the chain starting

pages/en/lb4/Crafting-LoopBack-4.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ as:
7070

7171
2. Technical debt is accumulating, for example inconsistent designs across
7272
modules and feature flags for different behaviors. Here are a few examples:
73-
7473
- Various modules use different registries to manage different types of
7574
artifacts, such as remoting metadata, models, datasources, and middleware.
7675
- Different flavors are used to allow custom logic to intercept
@@ -81,7 +80,6 @@ as:
8180

8281
3. It is becoming more difficult to add new features or fix bugs as some areas
8382
start to reach the limit of the current design.
84-
8583
- The `loopback-datasource-juggler` module is a kitchen sink for many
8684
things, such as typing, data modeling, validation, aggregation,
8785
persistence, and service integration.
@@ -94,7 +92,6 @@ as:
9492
make code changes in LoopBack modules. The current version of LoopBack has
9593
ad-hoc extensibility at various layers. Extension points are not
9694
consistently defined. For example,
97-
9895
- Use Express to register middleware.
9996
- Use remoting hooks to intercept remote method invocations.
10097
- Use CRUD hooks to add logic around CRUD operations.
@@ -149,28 +146,24 @@ generation of API creation platform. For more information, read the blog post
149146
LoopBack 4's goals are:
150147

151148
1. Catch up with latest and greatest technology advances.
152-
153149
- Adopt [ES2016/2017](http://exploringjs.com/es2016-es2017/index.html) and
154150
[TypeScript](https://www.typescriptlang.org/) for ease of maintenance and
155151
productivity.
156152
- Embrace new standards such as [OpenAPI Spec](https://www.openapis.org/)
157153
and [GraphQL](http://graphql.org/).
158154

159155
2. Promote extensibility to grow the ecosystem.
160-
161156
- Build a minimal core and enable everything else to be implemented via
162157
extensions.
163158
- Open the door for more
164159
[extension points and extensions](https://github.com/loopbackio/loopback-next/issues/512).
165160

166161
3. Align with cloud native experience for microservices.
167-
168162
- Adopt cloud native microservices by adopting initiatives such as
169163
[Cloud Native Computing Foundation](https://www.cncf.io/).
170164
- Make LoopBack a first-class citizen of the microservices ecosystem.
171165

172166
4. Remove the complexity and inconsistency across modules.
173-
174167
- Use a consistent registry and APIs to manage artifacts and their
175168
dependencies.
176169
- Pay down technical debts by refactoring complex modules.
@@ -227,20 +220,16 @@ Here are the stages we are marching through toward the final version of LoopBack
227220
4 as illustrated below.
228221

229222
1. **Rebase and rewrite the core**
230-
231223
- Leverage TypeScript for better code quality and productivity.
232-
233224
- Provide optional type system for JavaScript.
234225
- Provide planned features from future JavaScript editions to current
235226
JavaScript engines.
236227

237228
- Unify the asynchronous programming model/style.
238-
239229
- 100% promise-based APIs.
240230
- Async/Await as first-class async programming style.
241231

242232
- Implement an IoC Container for better visibility and extensibility
243-
244233
- Universal registry across different modules
245234
- Dependency injection as a pattern to manage dependencies
246235

@@ -249,11 +238,9 @@ Here are the stages we are marching through toward the final version of LoopBack
249238
- Component encapsulates a list of extensions as a whole
250239

251240
2. **Validate the core design by implementing an REST/HTTP invocation chain**
252-
253241
- Add top-down REST API creation which starts with OpenAPI specs.
254242

255243
- Build sequence of actions for inbound http processing
256-
257244
- Introduce sequence as the composition of actions
258245
- Implement the most critical actions to fulfill the REST API routing and
259246
invocation
@@ -262,7 +249,6 @@ Here are the stages we are marching through toward the final version of LoopBack
262249

263250
Models are the centerpieces of the current LoopBack applications. . They
264251
take multiple responsibilities:
265-
266252
- Data modeling
267253
- Anchor for API related business logic
268254
- Persistence or service invocation
@@ -272,13 +258,11 @@ Here are the stages we are marching through toward the final version of LoopBack
272258

273259
Implement the core functionality of authentication as a component, which
274260
includes:
275-
276261
- Decorators to denote authentication requirement
277262
- `authenticate` action to handle authentication
278263
- Extension points for various authentication strategies
279264

280265
3. **Rebuild our integration and composition capabilities**
281-
282266
- Introduce repositories to represent data access patterns such as CRUD or
283267
Key/Value stores
284268
- Provide a reference implementation of CRUD and KV flavors of repository
@@ -302,7 +286,6 @@ Here are the stages we are marching through toward the final version of LoopBack
302286
approach to describe these artifacts by code (apis and decorators), we would
303287
like to add declarative support so that they can be declared in JSON/YAML
304288
files.
305-
306289
- Define a new domain-specific language (DSL) in JSON/YAML format and
307290
corresponding templates.
308291
- Define the project layout to organize project artifacts.
@@ -314,14 +297,12 @@ Here are the stages we are marching through toward the final version of LoopBack
314297
boot process can be tailored for both tooling and runtime.
315298

316299
5. **Tooling (CLI & UI)**
317-
318300
- Add CLI and UI tools to:
319301
- Scaffold LoopBack 4 applications
320302
- Manage artifacts such as sequences, actions, controllers, repositories,
321303
services, datasources and models
322304

323305
6. **Enable cloud native experience**
324-
325306
- Allow controllers to be exposed as gRPC services
326307
- Allow interaction with other gRPC services
327308
- Integration with microservices deployment infrastructure such as Docker
@@ -400,7 +381,6 @@ independent of the nature of such artifacts.
400381

401382
- A consistent registry to provide visibility and addressability for all
402383
artifacts.
403-
404384
- Visibility: Each artifact has a unique address and can be accessed via a URI
405385
or key. Artifacts can also be visible at different scopes.
406386

@@ -410,13 +390,11 @@ independent of the nature of such artifacts.
410390
points/extensions decouples providers and consumers.
411391

412392
- Ability to compose with dependency resolution.
413-
414393
- Composability: It's common that one artifact to have dependencies on other
415394
artifacts. With dependency injection or service locator patterns, the core
416395
will greatly simplify how multiple artifacts work together.
417396

418397
- A packaging model for extensions.
419-
420398
- Pluggability: Extensions can be organized and contributed as a whole. We
421399
need to have a packaging model so that extension developers can create their
422400
own modules as bundles and plug into a LoopBack application.

pages/en/lb4/Customizing-server-configuration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,10 @@ with the base path.
160160
The router can be configured to enforce `strict` mode as follows:
161161

162162
1. `strict` is true:
163-
164163
- request `/orders` matches route `/orders` but not `/orders/`
165164
- request `/orders/` matches route `/orders/` but not `/orders`
166165

167166
2. `strict` is false (default)
168-
169167
- request `/orders` matches route `/orders` first and falls back to
170168
`/orders/`
171169
- request `/orders/` matches route `/orders/` first and falls back to

pages/en/lb4/DEVELOPING.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ two groups:
387387
blocks.
388388

389389
Examples:
390-
391390
- `@loopback/core` is re-exporting all public API provided by
392391
`@loopback/context`.
393392

@@ -778,7 +777,6 @@ The script does the following steps:
778777
1. Determine the parentDir and package name.
779778

780779
The first argument can be one of the following:
781-
782780
- package-name
783781
- @loopback/package-name
784782
- extensions/package-name
@@ -792,7 +790,6 @@ and falls back to `extensions`.
792790
are skipped.
793791

794792
3. Fix up the project
795-
796793
- Remove unused files
797794
- Improve `package.json`
798795

@@ -935,7 +932,6 @@ configuration, it's important to verify that all usage scenarios keep working.
935932
```
936933

937934
5. Test integration with supported IDEs:
938-
939935
- [Visual Studio Code](./Developing-with-vscode.md#how-to-verify-eslint-setup)
940936
- [WebStorm](./Developing-with-webstorm.md#how-to-verify-eslint-setup)
941937

pages/en/lb4/Developing-with-vscode.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ can e.g. rename `inject` to test.)
8181

8282
2. Verify that ESLint extension is not reporting any warnings in the output
8383
window:
84-
8584
- pres _Cmd+shift+P_ or _Ctrl+shift+P_ to open task selector
8685
- find and run the task `ESLint: Show Output`
8786
- check the logs

pages/en/lb4/Extension-generator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ The tool will prompt you for:
5555
- Optional modules to add to the extension. These modules are helpful tools to
5656
help format, test, and build a LoopBack4 extension. Defaults to `true` for all
5757
of the modules. The prompted modules are:
58-
5958
- [`eslint`](https://www.npmjs.com/package/eslint)
6059
- [`prettier`](https://www.npmjs.com/package/prettier)
6160
- [`mocha`](https://www.npmjs.com/package/mocha)

pages/en/lb4/Getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ running the project.
6363

6464
```sh
6565
cd getting-started
66+
npm i
6667
npm start
6768
```
6869

pages/en/lb4/Inside-Loopback-Application.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Once the API requirements are assessed,
2828

2929
- LoopBack's features can be used to satisfy the requirements from different
3030
developers:
31-
3231
- Front end designers:
3332

3433
> Can create an `Online Shopping prototype` to try the UI experience by
@@ -74,7 +73,6 @@ mobile application is the same.
7473
Similar to this we can breakdown further use cases into API requirements.
7574

7675
- `Shopping use cases`
77-
7876
- User starts adding and removing items to the shopping cart.
7977
- If the user logs out the shopping cart is saved and re-loaded when the user
8078
logs in next time.

0 commit comments

Comments
 (0)