[MAGNOLIA-2897] Introduce a simpler api to build nodes/properties Created: 14/Oct/09 Updated: 23/Jan/13 Resolved: 13/Nov/09 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.2 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Description |
|
We've had the need several times for a simple node building api - especially in version handlers - to construct relatively simple nodes (couple of nodes, couple of properties) without having to maintain complex bootstrap or properties file, and verbose/long code. We'll introduce a simple DSL/API similar to the one used to build tasks and deltas for this. Hopefully this will be easy-to-use and follow some of the "fluent" principles. A starting point was proposed at |
| Comments |
| Comment by Magnolia International [ 16/Oct/09 ] |
|
TODO: exception handling (with customizable behaviour) |
| Comment by Magnolia International [ 13/Nov/09 ] |
|
This is now available; the api might change in the future, as there are a few things we're not totally happy with. |