editing docs

This commit is contained in:
Leo Germani 2018-03-01 21:18:36 -03:00
parent a9fae7f573
commit 26e6b65167
1 changed files with 17 additions and 15 deletions

View File

@ -3,36 +3,38 @@
The typical workflow when you create a Digital Repository with Tainacan is: The typical workflow when you create a Digital Repository with Tainacan is:
* Create a collection * Create a collection
* Configure which field (fields) item in this collections will have * Configure which fields the item in this collections will have
* Configure the collection * Configure the collection
* Configure which filters will be used when browsing the collection * Configure which filters will be used when browsing the collection
* Upload item to the collection or import them from a source * Upload items to the collection or import them from an external source
## Collections ## Collections
A collection is a group of items, that have the same set of field. Every item uploaded to your digital repository will be part of a collection. For instance, you could have a "paintings" collections, with field such as Title, Author, Country, Tecnique, etc and another collection for "films", with Title, Director, Country and Genre. A collection is a group of items, that share the same set of fields. Every item uploaded to your digital repository will be part of a collection - and only one collection. For instance, you could have a "paintings" collections, with fields such as Title, Author, Country, Tecnique, etc and another collection for "films", with Title, Director, Country and Genre.
For each collection you can set a different set of field and they can share common taxonomies, which means you could browse for items in a specific Country, and get both paintings and films in your results. For each collection you can set a different set of fields and they can share common categories, which means you could browse for items in a specific Country, and get both paintings and films in your results.
Collections can also have child collections, which will inherit parent's collection field and can add their own set of additional information. Collections can also have child collections, which will inherit parent's collection fields and can add their own set of additional information.
## Items ## Items
Items are the actual content of yout repository. The painting, the film, the book and so on. They belong to a collection and have all the field configured in the collection. Items are the actual content of yout repository. The painting, the film, the book and so on. They belong to a collection and have all the fields configured in the collection it belongs to.
In WordPress, each item is a post and its post type represents its collection. In WordPress language, each item is a post and its post type represents its collection.
## Field ## Fields
Every collection have a set of field. They are the description of the items of this collection. Every collection have a set of fields. They are the description of the items of this collection.
Each field has a set of settings. Is it required? Is it supposed to be unique (an ID number for example)? Does it accept multiple values? What is it Field Type? (see the complete list of field attributes). Each field has a set of settings. Is it required? Is it supposed to be unique (an ID number for example)? Does it accept multiple values? What is it Field Type? (TODO: see the complete list of field attributes).
You may have repository-level fields, that will be inherited by all collections of your repository. In the same way, collections inherit fields from their parent collection.
(Note: you can import/export presets of field) (Note: you can import/export presets of field)
## Field Types ## Field Types
Field types are the objects that represent the types of field that can be used. Examples of Field Types are "Text", "Long text", "Date", "Multiple selection (checkbox)", "Relationship with another item", etc (see full list). Field types are the objects that represent the types of field that can be used. Examples of Field Types are "Text", "Long text", "Date", "Relationship with another item", etc (TODO: see full list).
Each field type object have its own settings and web component that will be used to render the interface. Each field type object have its own settings and web component that will be used to render the interface.
@ -40,20 +42,20 @@ Field Types can be created via plugins and extend the default set of types shipp
## Filters ## Filters
For every collection, you may choose which field will be used to filter the results in a faceted search interface. These are the filters. For every collection, you may choose which fields will be used to filter the results in a faceted search interface. These are the filters.
Filters give the ability to the user to filter items in a collection using a Filter Type. Filters give the ability to the user to filter items in a collection using a Filter Type.
## Filter Types ## Filter Types
Filter types are the different types of interface to filter items in a collections based on one specific Field. Examples of Filter Types are "text", "datepicker", "date range picker", "number range slider", etc. Filter types are the different types of interfaces to filter items in a collections based on one specific Field. Examples of Filter Types are "input text", "datepicker", "date range picker", "number range slider", "list of checkboxes", etc.
Each Filter Type object have its own settings and web component that will be used to render the interface. Each Filter Type object have its own settings and web component that will be used to render the interface.
Filter Types can be created via plugins and extend the default set of types shipped with Tainacan. Filter Types can be created via plugins and extend the default set of types shipped with Tainacan.
## Taxonomies ## Categories
Taxonomies (or simply categories) that can be created and used to classify items. Typical Taxonomies are Genre, Country, etc. Categories (or Taxonomies) can be created and used to classify items. Typical Taxonomies are Genre, Country, etc.
They are the same WordPress Taxonomies you already know, and they can be shared among many collections. They are the same WordPress Taxonomies you already know, and they can be shared among many collections.