Skip to content

Clean up "Best Practices with LoopBack 4" #1094

@shimks

Description

@shimks

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.md to 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 4 to be Best Practices in 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 approach under this section
    • Move Defining your Testing Strategy under this section
    • Move Testing your Application under this section (see doc: list Testing guides under Best Practices #1276)
  • Remove Defining the API using design-first approach from sidebar
    • Remove Testing the api under this section from sidebar as well
  • Remove implementing Features from sidebar
  • Remove Preparing the API for consumption from sidebar
  • For pages removed from the sidebar, rename the file to have a .shelved.md suffix 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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions