Task #45317
Refine / Rename node type hierarchy
Status: | Resolved | Start date: | 2013-02-09 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Content Editing | Spent time: | - | |
Target version: | 1.0 beta 1 |
Description
... as discussed with Robert on the code sprint
Naming Concept¶
# Node Types old name: Content Types ## Node ## Hidable (mixin) - defines the properties for "hidden", "hiddenBeforeDateTime", "hiddenAfterDateTime" ## Versionable (mixin) - adds the behavior to store multiple versions of the node ## Translatable (mixin) - adds the behavior to translate nodes ## Folder < Node - used for organizing nodes - does not need an external identity, thus no URL. ## Smartfolder < Folder - does not contain actual sub nodes - collection is defined through a query ## Document < Node, Hidable old name: Folder - is "abstract", cannot be rendered as is - sub types of Document: - can be addressed through a URI - contains one or more Section nodes which may contain content - can be rendered - TODO remove title property - TODO page tree > document tree (?) ## Page < Document - is the default document paradigm in Neos - introduce further properties, for example a title ## Shortcut < Document - refers / forwards to another document ## Blog Post < Document - introduces specific properties and sub structure ## Content < Node, Hidable old name: ContentObject - is not usually accessible through a URI - can be rendered as part of a document - may contain further content - cannot contain documents ## Headline < Content - introduces specific properties and template - further content types: Text, Image, TextWithImage, Menu, Html, Plugin, Two-Columns, … ## Plugin < Content - delegates rendering of the content to a controller ## ContentCollection < Content old name: Section - contains content nodes
see attached images.¶
Related issues
Associated revisions
[TASK] Avoid migration to be applied (dummy commit)
This is an empty commit to avoid the migration in the footer from being
applied.
Change-Id: I7e94cc3b2bf6fcbbe86f3aece3ee29fdd2d22933
Related: #45317
Migration: TYPO3.Neos.NodeTypes-130516220640
[TASK] Adjust to renamed node types
Change-Id: Iec6daabaeb6740b3cad5fbfff94509c0d872aabe
Related: #45317
Migration: TYPO3.Neos.NodeTypes-130516220640
[!!!][TASK] Remove TYPO3.TYPO3CR:Folder node type
Change-Id: Ia1e0efbe4ac1818a6143b2ab27cb9626e3115805
Related: #45317
[TASK] Adjust to renamed node types
Change-Id: I06eee6d1e4bcff702b67c28dc35d3314d6e4fa44
Related: #45317
Migration: TYPO3.Neos.NodeTypes-130516220640
[TASK] Adjust to TYPO3.TYPO3CR:Folder removal
Change-Id: Iad5ed08448f6ef5285e3fcfae8f00a94186ac28b
Related: #45317
Migration: TYPO3.TYPO3CR-130523180140
[!!!][TASK] Make node types and TypoScript more consistent
This change moves some of the existing node types from the package
TYPO3.Neos.NodeTypes here:
- TYPO3.Neos.NodyTypes:AbstractNode -> TYPO3.Neos:Node
- TYPO3.Neos.NodyTypes:Page -> TYPO3.Neos:Page
- TYPO3.Neos.NodyTypes:Shortcut -> TYPO3.Neos:Shortcut
- TYPO3.Neos.NodyTypes:Folder -> TYPO3.Neos:Document
- TYPO3.Neos.NodyTypes:ContentObject -> TYPO3.Neos:Content
- TYPO3.Neos.NodyTypes:Section -> TYPO3.Neos:ContentCollection
- TYPO3.Neos.NodyTypes:Plugin -> TYPO3.Neos:Plugin
It adds these new ones, being mixins:
- TYPO3.Neos:Hidable
- TYPO3.Neos:Timable
The TypoScript is cleaned up to follow the renamed node types and for
more overall consistency.
Two new migrations (one for code and one for TYPO3CR) help with the
adjustments needed to userland code. See the corresponding commit
in TYPO3.Neos.NodeTypes for instructions.
Change-Id: Ic23ef07664972d7beddf4c3e05affc9d25faf102
Resolves: #45317
Migration: TYPO3.Neos.NodeTypes-130516220640
Migration: TYPO3.TYPO3CR-130523180140
[!!!][TASK] Make node types and TypoScript more consistent
This change renames and moves some of the existing node types in
TYPO3.Neos.NodeTypes to TYPO3.Neos:
- TYPO3.Neos.NodyTypes:AbstractNode -> TYPO3.Neos:Node
- TYPO3.Neos.NodyTypes:Page -> TYPO3.Neos:Page
- TYPO3.Neos.NodyTypes:Shortcut -> TYPO3.Neos:Shortcut
- TYPO3.Neos.NodyTypes:Folder -> TYPO3.Neos:Document
- TYPO3.Neos.NodyTypes:ContentObject -> TYPO3.Neos:Content
- TYPO3.Neos.NodyTypes:Section -> TYPO3.Neos:ContentCollection
- TYPO3.Neos.NodyTypes:Plugin -> TYPO3.Neos:Plugin
The TYPO3.Neos.NodeTypes:Folder type is removed and can be replaced by
TYPO3.Neos:Document if needed.
The TypoScript is cleaned up to follow the renamed node types and for
more overall consistency.
Two new migrations (one for code and one for TYPO3CR) help with the
adjustments needed to userland code.
To adjust the code use this, it should be enough to run this on your
site package(s) and plugins, if any::
./flow flow:core:migrate --package-key <sitepackagekey>
To adjust the content stored in TYPO3CR use this (if you have no
unpublished changes "live" should be the only workspace in need of
migration)::
./flow node:migrate <workspace> 20130516212400
Change-Id: I17a7793c5139a0d3eb63fcacfe9db52db5b0ec35
Resolves: #45317
Migration: TYPO3.Neos.NodeTypes-130516220640
Migration: TYPO3.TYPO3CR-130523180140
[BUGFIX] update node migration to include shortcuts
Related: #45317
Change-Id: Ieeeeff66906955d744fc1fc17d1f68168159c186
[TASK] add "down"-migration for Shortcut
I accidentally merged Ieeeeff66906955d744fc1fc17d1f68168159c186
while reviewing it.
Related: #45317
Change-Id: Ib7f507a2b9fc85694528ccea94e17c093cfc0d75
[TASK] Tiny cleanup in node types configuration
Change-Id: If94c6a5a753be51fe854400a5e12fc3bdc5ecdb8
Related: #45317
[TASK] Cleanup neos view helper namespaces
- Consistently <neos:*… /> now
Change-Id: I3579ed9d9994e16036df1730e4b8aa2c5e02dda5
Related: #45317
[BUGFIX] Make menu TS object prototype template TS object
Since the menu doesn't prototype the template TypoScript object,
the node is never assigned to the view which is needed in the template.
Change-Id: I1136531d2a3f4079c4c8b8a66111109a76e976b0
Related: #45317
[TASK] Cleanup neos view helper namespaces
- Consistently <neos:*… /> now
Change-Id: I700daa771ec207883f41a274814d150a828805e1
Related: #45317
[TASK] Replace usages of folder with document
Change-Id: I3364be4b784786d757e52473827316fd851f775e
Related: #45317
[BUGFIX] Assign page node properties to correct inspector group
Change-Id: I99017968e009ed760cf78d47db3d42b2c2db10f4
Related: #45317
[TASK] Add default label for column node type
Change-Id: Ic384f6ee6e41b50966ac1699836f38755149ee32
Related: #45317
[BUGFIX] Adjust workspaces module to node type restructuring
Change-Id: Idc93553864c374950d1bf5ab57f4415f4ac94fa1
Related: #45317
[TASK] Adjust documentation to node types/TypoScript restructuring
- Replace usages of n: with neos:
- Replace ts:renderTypoScript with ts:render
- Replace slashes with dots in ts:render ViewHelper
- Replace "section" mentions with content collection or content
Change-Id: I1d87bcaf6bea31a86b33a484c586d01a7978a7c9
Related: #45317
[TASK] Add support for abstract node types
Change-Id: I04c8688bb0b2307a7a531720981f7bdb013b6ae8
Related: #45317
Reviewed-on: https://review.typo3.org/21076
Reviewed-by: Tim Kandel
Tested-by: Tim Kandel
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
[TASK] Mark document node type abstract
Change-Id: I5d131c26ca896999880efb173f695cae2537d69a
Related: #45317
Reviewed-on: https://review.typo3.org/22862
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Tested-by: Mr. Hudson
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
History
#1 Updated by Sebastian Kurfuerst about 2 years ago
#2 Updated by Sebastian Kurfuerst about 2 years ago
- File naming-hierarchy.graffle added
- File naming-hierarchy.png added
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#3 Updated by Karsten Dambekalns about 2 years ago
- % Done changed from 0 to 40
Worked on this after the Karlsruhe sprint, need to clean up and push for review. For sure we need to discuss some more details :)
#4 Updated by Gerrit Code Review about 2 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20960
#5 Updated by Karsten Dambekalns about 2 years ago
- Status changed from Accepted to Under Review
#6 Updated by Karsten Dambekalns about 2 years ago
- % Done changed from 40 to 80
The last 20%, you know ;)
#7 Updated by Gerrit Code Review about 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20960
#8 Updated by Gerrit Code Review about 2 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#9 Updated by Gerrit Code Review about 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20960
#10 Updated by Gerrit Code Review about 2 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#11 Updated by Gerrit Code Review about 2 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#12 Updated by Gerrit Code Review about 2 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#13 Updated by Gerrit Code Review about 2 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#14 Updated by Gerrit Code Review about 2 years ago
Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20963
#15 Updated by Gerrit Code Review about 2 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20960
#16 Updated by Gerrit Code Review about 2 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20960
#17 Updated by Karsten Dambekalns about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Applied in changeset commit:9cd27b77cb9f1243453986603f50168f9a86b1b0.
#18 Updated by Aske Ertmann about 2 years ago
Page options are broken