Development Patterns - samvera/hyrax GitHub Wiki
This is under construction. At this time, it is mostly a list of topics to cover. As topics are covered, you will see the text in the list turned into links to other wiki pages or documentation sources
Models
- Understanding Admin Sets and Collections
- Works
- FileSets and Files
- Relationships
Patterns
- Model-View-Controller
- Presenters and Views
- Forms and Change Sets
- Publish-Subscribe
- Transactions
- Search Builders for Blacklight Solr
- Accessing Solr outside of Blacklight
- Custom Queries
- Abilities and Permissions
Deprecating Patterns
- Actor Stack - Being replaced by Transactions
- Forms - Forms that
include HydraEditor::Form
are being replaced by Valkyrie Change Sets by extending< Hyrax::ChangeSet
. Both are in the forms directory. - Specs - prefer
FactoryBot.create
orFactoryBot.build
overcreate
orbuild
. If you are editing a spec, you can help this transition by addingFactoryBot.
tocreate
andbuild
statements.
Deprecated Patterns
- Callbacks - Replaced by Publish-Subscribe