From 7cfcda86acca0cd3234f41f5dbe6a6df095ce8fb Mon Sep 17 00:00:00 2001 From: rotimi Date: Sat, 25 May 2024 19:02:54 -0600 Subject: [PATCH] Documentation updates --- documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md | 2 -- documentation/QUICKSTART.md | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md b/documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md index c5c4863..f370a86 100644 --- a/documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md +++ b/documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md @@ -98,8 +98,6 @@ the commands below: ./vendor/bin/smvc-create-controller -c users -p "./src" -n "MovieCatalog\Controllers" -e "\MovieCatalog\Controllers\MovieCatalogBase" ./vendor/bin/smvc-create-controller -c movie-listings -p "./src" -n "MovieCatalog\Controllers" -e "\MovieCatalog\Controllers\MovieCatalogBase" - -composer dumpautoload -o ``` We should now have the following files and folders in our app: diff --git a/documentation/QUICKSTART.md b/documentation/QUICKSTART.md index 71dd469..9fa8e3a 100644 --- a/documentation/QUICKSTART.md +++ b/documentation/QUICKSTART.md @@ -88,11 +88,11 @@ - Customize **./config/app-settings.php**, **./config/dependencies.php**, **./config/env.php**, **./config/ini-settings.php** and optionally **./config/routes-and-middlewares.php** to suit your needs. - Start creating controllers for your application using **./vendor/bin/smvc-create-controller-wizard** - > It is recommended that you first create a base controller for your application, which will contain all the logic that will be common to all your application's other controllers. The other controllers should extend your application's base controller. + + > It is recommended that you first create a base controller for your application, which will contain all the logic that will be common to all your application's other controllers. The other controllers should extend your application's base controller. - > Make sure you add the namespace for your apps controller classes to the array referenced by **$container[\SlimMvcTools\ContainerKeys::NAMESPACES_4_CONTROLLERS]** in **./config/dependencies.php** + > Make sure you add the namespace for your apps controller classes to the array referenced by **$container[\SlimMvcTools\ContainerKeys::NAMESPACES_4_CONTROLLERS]** in **./config/dependencies.php** - > Always run **composer dump** after each time your create a new controller class with **./vendor/bin/smvc-create-controller** or **./vendor/bin/smvc-create-controller-wizard**. ## Key Directories and Configuration * **`config`:** Contains files for configuring the application