Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoupling Output #36

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 29 additions & 14 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ The sponsor is responsible for managing the review stage and votes.

### Draft

| Num | Title | Editor | Sponsor |
|:---:|--------------------------------|-------------------------|-------------------|
| N/A | N/A | N/A | N/A |
| Num | Title | Editor | Sponsor |
|:---:|-----------------------------------------|-----------------------------------------------------|------------------------------------------------------------------------|
| 1 | [Decpoupling Output][decoupling-output] | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |
| 2 | [Form Admin][form-admin] | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |
| 3 | [Simple CCK][simple-cck] | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |

### Pre-Draft

Expand All @@ -51,20 +53,33 @@ The sponsor is responsible for managing the review stage and votes.
|:---:|--------------------------------|-------------------------|-------------------|
| N/A | N/A | N/A | N/A |

### Rejected

| Title | Editor | Sponsor |
|-----------------------------|-------------------------|-------------------|
| [Append Form](append-form) | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |

## Numerical Index

| Status | Num | Title | Editor | Sponsor |
|--------|:---:|--------------------------------|-------------------------|-------------------|
| A | 0 | [RFC Procedure][rfc-procedure] | Niels Braczek <niels.braczek@community.joomla.org> | Marco Dings <marco.dings@community.joomla.org> |
| Status | Num | Title | Editor | Sponsor |
|--------|:---:|-----------------------------------------|----------------------------------------------------|-------------------|
| A | 0 | [RFC Procedure][rfc-procedure] | Niels Braczek <niels.braczek@community.joomla.org> | Marco Dings <marco.dings@community.joomla.org> |
| D | 1 | [Decpoupling Output](decoupling-output) | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |
| D | 2 | [Form Admin](form-admin) | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |
| D | 3 | [Simple CCK](simple-cck) | Niels Braczek <niels.braczek@community.joomla.org> | Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> |

_**Legend:** A = Accepted | D = Draft | P = Pre-Draft | R = Review | X = Deprecated_

[workflow]: bylaws/workflow.md
[contentelements]: https://github.com/joomla-x/joomla-Specifications/tree/master/proposed
[authorisation]: https://github.com/joomla-x/joomla-standards/pull/2
[joomla-cli]: https://github.com/joomla-x/joomla-standards/pull/4
[mobile-app]: https://github.com/joomla-x/joomla-standards/pull/5
[simplify-admin]: https://github.com/joomla-x/joomla-standards/pull/6
[simplify-admin2]: https://github.com/joomla-x/joomla-standards/pull/7
[composer]: https://github.com/joomla-x/joomla-standards/pull/8
[rfc-procedure]: https://github.com/joomla-x/joomla-standards/blob/master/accepted/RFC-0-rfc-meta.md
[contentelements]: https://github.com/joomla/rfc/tree/master/proposed
[authorisation]: https://github.com/joomla/rfc/pull/2
[joomla-cli]: https://github.com/joomla/rfc/pull/4
[mobile-app]: https://github.com/joomla/rfc/pull/5
[simplify-admin]: https://github.com/joomla/rfc/pull/6
[simplify-admin2]: https://github.com/joomla/rfc/pull/7
[composer]: https://github.com/joomla/rfc/pull/8
[rfc-procedure]: https://github.com/joomla/rfc/blob/master/accepted/RFC-0-rfc-meta.md
[decoupling-output]: https://github.com/joomla/rfc/pull/36
[form-admin]: https://github.com/joomla/rfc/pull/31
[simple-cck]: https://github.com/joomla/rfc/pull/26
[append-form]: https://github.com/joomla/rfc/pull/18
94 changes: 94 additions & 0 deletions proposed/decoupling-output-meta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Decoupling Output Meta Document

## 1. Summary

_The separation of the visual preparation and presentation of the content from its management is what we call
decoupling of the output._

The aim of this specification is to decouple the output layer from the core of the CMS so that necessary changes to the
CMS code require as few changes as possible to the templates and their overrides.

## 2. Why Bother?

Every major version so far has stirred up resentment among users because not only programme code but also templates,
layouts and overrides had to be revised. If we succeed in reducing the points of contact between the CMS core and the
actual views to interfaces, not only will the adaptation effort for templates, layouts and overrides be considerably
less, it will even be possible to offer output layers with completely different frontend libraries than before.

## 3. Scope

### 3.1 Goals

### 3.2 Non-Goals

## 4. Approaches

### 4.1 Approach 1

#### 4.1.1 Projects Using Approach 1

### 4.2 Approach 2

#### 4.2.1 Projects Using Approach 2

### 4.3 Comparison of Approaches

### 4.4 Chosen Approach

## 5. Design Decisions

## 6. People

### 6.1 Editor(s)

* Niels Braczek <niels.braczek@community.joomla.org>

### 6.2 Sponsors

* Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org>

### 6.3 Contributors

* N/A

## 7. Votes

### Entrance Vote: PROD2022/016

| Voter | Vote |
|---------------------------------------------|-----:|
| Benjamin Trenkle | +1 |
| Christiane Maier-Stadtherr / Viviana Menzel | 0 |
| Crystal Dionysopoulos | -1 |
| David Jardin | 0 |
| Franciska Perisa | 0 |
| Hannes Papenberg | +1 |
| Harald Leithner | +1 |
| Jacob Waisner | 0 |
| Llewellyn van der Merve | +1 |
| Mike Brandner | +1 |
| Niels Braczek | +1 |
| Olivier Buisard | +1 |
| Philip Walton | +1 |
| Robert Deutz | 0 |
| Roland Dalmulder | -1 |
| Shirielle Williams | 0 |
| Shivam Raiput | +1 |
| Sigrid Gramlinger | -1 |
| Tobias Zulauf | -1 |
| **Result: PASSED** | |
| **in favor** | 9 |
| **against** | 4 |
| **abstentions** | 6 |
| **no vote** | 0 |

### Acceptance Vote:
_(not yet taken)_

## 8. Relevant Links

_**Note:** Order descending chronologically._

## 9. Errata

...
45 changes: 45 additions & 0 deletions proposed/decoupling-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Decoupling Output

This document describes ...

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
interpreted as described in [RFC 2119][].

[RFC 2119]: http://tools.ietf.org/html/rfc2119

### References

- [RFC 2119][]: Key words for use in RFCs to Indicate Requirement Levels

## 1. Specification

### 1.1 Spec A

### 1.2 Spec B

## 2. Interfaces

### 2.1 Interface A

The following interface MUST be implemented by compatible ...

```php
namespace ...;

interface ...
{
}
```

### 2.2 Inteface B

The following interface MUST be implemented by compatible ...

```php
namespace ...;

interface ...
{
}
```