...
After about two year of writing a number of blueprints for the PDAC1, we finally came to the conclusion that we need to have some tool support to write blueprints. We want to come to the point where writing blueprints and create new add-ons with blueprint sets is no longer a great deal.
projectdoc-box-note | ||
---|---|---|
| ||
There are a number of blueprint add-ons for the projectdoc Toolbox. A list of blueprints, we call document types - or doctypes for short, shows what we have already created. |
projectdoc-section | ||
---|---|---|
| ||
In the past we have come up with some simple observations that we like when using blueprints
After the creation of a new space, everything should be ready to work. |
...
Section | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
We created a first beta version of a plugin for maven the DTSMP that should make it a lot easier to create these three kinds of pages. We say 'should' since we just started the journey. Everything starts with the archetype project. But you control the archtetype for doctype add-ons with the doctype:create goal which sets some defaults and makes creating new add-on projects quite easy. To create a blueprint you need to touch a number of files.
To simplify this process, we do specify one descriptor and then generate all the blueprint related stuff. We think of pages as documents with properties (key-value pairs) and sections (a title with text, possibly nested). We call this a projectdoc document. With this in mind, we define a document type with a doctype descriptor (there is also a descriptor for spaces and one for the context of the add-on). this by specifying descriptors for the blueprints we want to create. Here is the example of a doctype (
If you are looking for the declaration if the
The type doctype provides a section to dynamically list all documents that are associated to this type. The
|
Section | ||
---|---|---|
| ||
We started our internal beta (although the sources are already published on Bitbucket) to check how it is working. Needless to say that at this early stage it has some limitations:
We'll work to improve the tools to remove these limitations. |
Section | ||
---|---|---|
| ||
As stated above the tools have some rough edges. So we need to run this internally first. If you are interested to use this tool, it is available at Bitbucket and available from our Nexus server. Please check out the documention for the DTSMP and do not hesitate to get in touch! |