Task #10855
Story #11042: As Roger, I want clean and extensible JavaScript Code
Restructure files beneath Resources/Public/JavaScript
| Status: | Resolved | Start date: | 2010-11-16 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assigned To: | Rens Admiraal | % Done: | 100% |
|
| Category: | UI | |||
| Target version: | Base Distribution - Sprint 7 |
Description
Restructure files beneath Resources/Public/JavaScript
Associated revisions
[TASK] Restructure TYPO3/Resources/Public folder
Change-Id: I90561b48dd0278141dcdf1797ccc7080d9bc3b88
Resolves: #10855
History
#1 Updated by Rens Admiraal over 4 years ago
- Status changed from New to Accepted
- Target version changed from 711 to 732
#2 Updated by Rens Admiraal over 4 years ago
- File Resources.zip added
Created a suggestion, and spoke it through with Christian. For now we came up with a structure like:
`-- Resources
`-- Public
|-- Icons
|-- Images
|-- JavaScript
| |-- Aloha
| |-- Configuration
| |-- Core
| | |-- History
| | `-- Login
| |-- Dummy
| |-- Ext
| |-- Frontend
| |-- Modules
| | |-- Content
| | | |-- AlohaConnector
| | | `-- Edit
| | |-- Layout
| | `-- Management
| | |-- Configuration
| | | `-- ModuleConfiguration.js
| | |-- Core
| | | `-- Module.js
| | |-- Stores
| | | |-- ManagementGridStore.js
| | | `-- ManagementTreeStore.js
| | `-- UserInterface
| | |-- Tree
| | | `-- ManagementTreeComponent.js
| | `-- ManagementView.js
| |-- Stores
| `-- UserInterface
| |-- BreadcrumbMenu
| |-- BreadcrumbMenuComponent.js
| `-- ButtonComponent.js
`-- StyleSheet
We came up with Modules/ModuleName/Core/Module.js to have the Module.js file inside the module folder. Otherwise we would have something like Modules/NameModule.js and a Modules/Name/ folder (like with the BreadcrumbMenuComponent). This should be discussed though.
Might be good to discuss this a bit deeper next week.
Attached is a zip with this structure to use with the tree command in linux to create this tree schedule, for those who want to play around ;-)
#3 Updated by Rens Admiraal over 4 years ago
- Status changed from Accepted to Needs Feedback
#4 Updated by Rens Admiraal over 4 years ago
An another question we came up with: shouldn't Aloha be a seperate package?
#5 Updated by Robert Lemke over 4 years ago
- Parent task changed from #10285 to #11042
#6 Updated by Robert Lemke over 4 years ago
Rens Admiraal wrote:
An another question we came up with: shouldn't Aloha be a seperate package?
I don't have a strong opinion on this, but if it doesn't get too complicated for you guys, I'd say: yes, sure. It might even be easier then to keep Aloha in sync with the official Git repository.
About the structure: I'd call the "StyleSheet" directory "StyleSheets".
#7 Updated by Sebastian Kurfuerst about 4 years ago
- Project changed from Base Distribution to TYPO3.Neos
#8 Updated by Sebastian Kurfuerst about 4 years ago
- Category set to UI
#9 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from Needs Feedback to Accepted
- Priority changed from Should have to Must have
We'll set up a doodle meeting for this.
#11 Updated by Rens Admiraal about 4 years ago
Meeting notes:
`-- Resources
`-- Public
|-- Icons
|-- Images
|-- Libraries
|-- Aloha
|-- Syntax highlight editor
|-- JavaScript
| |-- Configuration -> OK (for now)
| |-- Core -> OK
| | |-- Application
| | |-- History
| | |-- I18n
| | `-- Registry
| |-- Ext (ext JS extensions)
| |-- Modules
| | |-- ContentModule.js -> F3.TYPO3.ContentModule
| | |-- Content
| | | |-- EditorFrontend -> F3.TYPO3.Content.EditorFrontend.Core
| | | |-- EditorBackend.js --> Proxy for ext.direct calls
| | | `-- Edit
| | |-- Layout
| | |-- Login
| | |-- Dummy
| | |-- ManagementModule.js
| | `-- Management
| | |-- Stores
| | | |-- ManagementGridStore.js
| | | `-- ManagementTreeStore.js
| | `-- UserInterface
| | |-- Tree
| | | `-- ManagementTreeComponent.js
| | `-- ManagementView.js
| |-- Stores --> DROP!
| |-- Utility
`-- Queue
| `-- Components "reusable UI widgets"
| |-- BreadcrumbMenu
| |-- BreadcrumbMenuComponent.js
| `-- ButtonComponent.js
`-- StyleSheet
#12 Updated by Mr. Hudson about 4 years ago
Patch set 1 of change I90561b48dd0278141dcdf1797ccc7080d9bc3b88 has been pushed to the review server.
It is available at http://review.typo3.org/2123
#13 Updated by Mr. Hudson about 4 years ago
Patch set 2 of change I90561b48dd0278141dcdf1797ccc7080d9bc3b88 has been pushed to the review server.
It is available at http://review.typo3.org/2123
#14 Updated by Rens Admiraal about 4 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 61f315a68fbaa831e0e427b779fd3c243dd1a62e.