-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I've been reviewing docs for Best Practices with LoopBack 4 as a part of #988 and had a couple of concerns about the whole section in context to the current timeline of the framework.
I have a problem with this part of the docs in general. Currently, the section goes in depth on building an application using the top-down approach, which is not supported atm. Since the section itself is more or less a tutorial on an outdated codebase and preaches itself as the 'best practice', I personally think whole section should be renamed and shelved until we come back to supporting top-down approach. I've arrived at this decision after wanting to use the latest openapi-v3 package for our best practices, and noticing that it doesn't fully support top-down approach.
Here's what I'd like to propose:
- rename
Best-practices-with-Loopback-4.mdto something else; as long as it doesn't have the words 'best practices' in it, I'm happy - create issues that will plan out the replacement of the content long-term, and potentially short-term
Acceptance Criteria
- Rename
Best practices with Loopback 4to beBest Practicesin Docs & Sidebar - see docs: rename Best Practices page & sidebar section #1417- Update the main Best Practices page to reflect the new content under this section (see below)
- Move
Define the API using code-first approachunder this section - Move
Defining your Testing Strategyunder this section - Move
Testing your Applicationunder this section (see doc: list Testing guides under Best Practices #1276)
- Remove
Defining the API using design-first approachfrom sidebar- Remove
Testing the apiunder this section from sidebar as well
- Remove
- Remove
implementing Featuresfrom sidebar - Remove
Preparing the API for consumptionfrom sidebar - For pages removed from the sidebar, rename the file to have a
.shelved.mdsuffix so we know in future the page was shelved and it's not having it in the sidebar is not an oversight. - Ensure no docs reference the removed pages / update the pages accordingly to remove the links if they have a reference (Check all Docs + Readme's)