This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re #13 - re-organizing and breaking up pages
- Loading branch information
Cameron Barr
committed
Mar 29, 2015
1 parent
23c33f4
commit e84e792
Showing
6 changed files
with
162 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,51 @@ | ||
# SUMMARY | ||
# Summary | ||
|
||
* [Introduction](README.md) | ||
* [Contribute](contribute.md) | ||
* [Write a Tutorial](contribute/write-a-tutorial.md) | ||
* [Write a Tutorial](contribute/write-a-tutorial.md) | ||
* [Overview](overview.md) | ||
* [Essentials](essentials.md) | ||
* [Composition](essentials/composition.md) | ||
* [The Mixin](essentials/mixin.md) | ||
* [The Decorator](essentials/decorator.md) | ||
* [Request and Response](essentials/request-response.md) | ||
* [Component Architecture](essentials/component-architecture.md) | ||
* [BREAD](essentials/BREAD.md) | ||
* [HMVC](essentials/hmvc.md) | ||
* [Why HMVC?](essentials/nooku-HMVC.md) | ||
* [Behaviors](behaviors.md) | ||
* [Object Management](essentials/object-management.md) | ||
* [Naming Conventions](essentials/naming-conventions.md) | ||
* [Composition](essentials/composition.md) | ||
* [The Mixin](essentials/mixin.md) | ||
* [The Decorator](essentials/decorator.md) | ||
* [Request and Response](essentials/request-response.md) | ||
* [Component Architecture](essentials/component-architecture.md) | ||
* [BREAD](essentials/BREAD.md) | ||
* [HMVC](essentials/hmvc.md) | ||
* [Why HMVC?](essentials/nooku-HMVC.md) | ||
* [Behaviors](essentials/behaviors.md) | ||
* [Database](essentials/database-behaviors.md) | ||
* [Model](essentials/model-behaviors.md) | ||
* [View](essentials/view-behaviors.md) | ||
* [Controller](essentials/controller-behaviors.md) | ||
* [Object Management](essentials/object-management.md) | ||
* [Naming Conventions](essentials/naming-conventions.md) | ||
* [Getting Started](getting-started.md) | ||
* [Setup](get-started/set-up.md) | ||
* [Frontend](get-started/com_todo-frontend.md) | ||
* [Register the Component](get-started/register-the-component.md) | ||
* [Component Entry Point](get-started/component-entry-point.md) | ||
* [Hello World!](get-started/hello-world-todos.md) | ||
* [The Database Table](get-started/creating-the-database.md) | ||
* [Your First Todo List View](get-started/your-first-todo-list-view.md) | ||
* [Backend](get-started/com_todo-backend.md) | ||
* [Component Entry Point](get-started/backend-entry-point.md) | ||
* [Create a View](get-started/create-a-view.md) | ||
* [The Dispatcher](get-started/the-dispatcher.md) | ||
* [The Controller Package](get-started/the-controller-package.md) | ||
* [Load a Form to Edit Todos](get-started/load-a-form-to-edit-todo-items.md) | ||
* [Toolbar for Item Form](get-started/add-toolbar-to-item-view.md) | ||
* [Toolbar for List View](get-started/add-toolbar-to-list-view.md) | ||
* [Setup](get-started/set-up.md) | ||
* [Frontend](get-started/com_todo-frontend.md) | ||
* [Register the Component](get-started/register-the-component.md) | ||
* [Component Entry Point](get-started/component-entry-point.md) | ||
* [Hello World!](get-started/hello-world-todos.md) | ||
* [The Database Table](get-started/creating-the-database.md) | ||
* [Your First Todo List View](get-started/your-first-todo-list-view.md) | ||
* [Backend](get-started/com_todo-backend.md) | ||
* [Component Entry Point](get-started/backend-entry-point.md) | ||
* [Create a View](get-started/create-a-view.md) | ||
* [The Dispatcher](get-started/the-dispatcher.md) | ||
* [The Controller Package](get-started/the-controller-package.md) | ||
* [Load a Form to Edit Todos](get-started/load-a-form-to-edit-todo-items.md) | ||
* [Toolbar for Item Form](get-started/add-toolbar-to-item-view.md) | ||
* [Toolbar for List View](get-started/add-toolbar-to-list-view.md) | ||
* [Tutorials](tutorials.md) | ||
* [JSON API](json.md) | ||
* [Document Structure](json-api/document-structure.md) | ||
* [Version](json-api/document-structure/version.md) | ||
* [Links](json-api/document-structure/links.md) | ||
* [Entities](json-api/document-structure/entities.md) | ||
* [Linked](json-api/document-structure/linked.md) | ||
* [Fetching Resources](json-api/fetching-resources.md) | ||
* [Sparse fieldsets](json-api/fetching-resources/sparse-fieldset.md) | ||
* [Filtering](json-api/fetching-resources/filtering.md) | ||
* [Sorting](json-api/fetching-resources/sorting.md) | ||
* [Pagination](json-api/fetching-resources/pagination.md) | ||
* [Document Structure](json-api/document-structure.md) | ||
* [Version](json-api/document-structure/version.md) | ||
* [Links](json-api/document-structure/links.md) | ||
* [Entities](json-api/document-structure/entities.md) | ||
* [Linked](json-api/document-structure/linked.md) | ||
* [Fetching Resources](json-api/fetching-resources.md) | ||
* [Sparse fieldsets](json-api/fetching-resources/sparse-fieldset.md) | ||
* [Filtering](json-api/fetching-resources/filtering.md) | ||
* [Sorting](json-api/fetching-resources/sorting.md) | ||
* [Pagination](json-api/fetching-resources/pagination.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
## Controller Behaviors | ||
|
||
The core Controller package does a great job with handling the standard Browse, Read, Edit, Add and Delete (BREAD) requests and the action of rendering of those requests. Each of those expose before and after command chains, and we use a number of behaviors out of the box to augment Controller functionality and interface. | ||
|
||
+ [Findable](https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/components/com_koowa/controller/behavior/findable.php) - Special Joomla-centric behavior that handles updating the search index in Joomla when an entity is updated itself | ||
+ [Cacheable](https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/components/com_koowa/controller/behavior/cacheable.php) - Another Joomla-centric behavior to handle the caching of requests based on state and the invalidation of that cache when an entity changes. | ||
+ [Persistable](https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/libraries/controller/behavior/persistable.php#L16) - Persist the state of a request to the session and load them back into a current state of a subsequent request where the view, model type, layout and action are the same. Helps with browsing. | ||
+ [Editable](https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/libraries/controller/behavior/editable.php#L16) - Places three additional action methods in a controller's interface: `save`, `add` and `apply` and handles setting and retrieving the redirect URL based on the `referrer` cookie information. Used in heavy conjuction with the [Toolbar](https://github.com/nooku/nooku-framework/tree/master/code/libraries/koowa/libraries/controller/toolbar) package. | ||
+ [Permissible](https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/libraries/controller/behavior/permissible.php) - Provides the interface for handling whether of not a specific BREAD or `render` action can be performed. | ||
|
||
It should be noted that the Dispatcher object is a special case controller and has access to the same behavior architecture. | ||
|
Oops, something went wrong.