Ons Content Library

ONS content-object mapping library

License

License

GroupId

GroupId

com.github.davidcarboni
ArtifactId

ArtifactId

content-library
Last Version

Last Version

1.0.68
Release Date

Release Date

Type

Type

jar
Description

Description

Ons Content Library
ONS content-object mapping library
Project URL

Project URL

https://github.com/ONSdigital/content-library
Project Organization

Project Organization

ONSDigital
Source Code Management

Source Code Management

https://github.com/ONSdigital/content-library

Download content-library

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.davidcarboni/content-library/ -->
<dependency>
    <groupId>com.github.davidcarboni</groupId>
    <artifactId>content-library</artifactId>
    <version>1.0.68</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.davidcarboni/content-library/
implementation 'com.github.davidcarboni:content-library:1.0.68'
// https://jarcasting.com/artifacts/com.github.davidcarboni/content-library/
implementation ("com.github.davidcarboni:content-library:1.0.68")
'com.github.davidcarboni:content-library:jar:1.0.68'
<dependency org="com.github.davidcarboni" name="content-library" rev="1.0.68">
  <artifact name="content-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.davidcarboni', module='content-library', version='1.0.68')
)
libraryDependencies += "com.github.davidcarboni" % "content-library" % "1.0.68"
[com.github.davidcarboni/content-library "1.0.68"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.3.1
org.apache.commons : commons-lang3 jar 3.4
org.reflections : reflections jar 0.9.9

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

THIS IS A WORK IN PROCESS:

ONS Content Library

Content Library contains Java object representation of content types that is published by Florence and Zebedee and displayed on Babbage (ONS Website to be). This flow happens by serialisation/deserialisation of these objects into json documents.

The library aims to centeralize object notation and allow these different ends use same object notation (either as a json document or java object). Which in turn should make manipulation of contents easier at all ends and compatible.

The library creates an object hiearchy, interlinking and referencing between different content types. For the most part generated json documents should be compatible with Alpha website json files (If no changes on wireframes)

Another benefit of a common content library is ( hopefully ), a common terminology and naming convention between different ends of the project (publishing, migrating, website, etc.)

##Naming convention and content types

All content types are generically referred as content.

  1. Home Page
  2. Taxonomy
  3. Methodology
  4. Abou Us Pages
  5. About Templates
  6. Development Notes

##Home Page

Home page contains links and references to taxonomy nodes and other non-statistical content types (static pages ?)

##Taxonomy

Taxonomy refers to taxonomy of statistical information ( bulletins, articles, datasets, compendium, timeseries and data slices). There are two types of taxonomy nodes Taxonomy Home and Statistic

###Taxonomy Home

[Taxonomy Landing Page] and [Product Page] are taxonomy pages that classify statistics. Along with classification , these pages also displays contents of various statistics and links to other non-statistics pages (Methodology, About Us Pages, etc...)

#####Taxonomy Landing Page

#####Product Page

###Statistic Statistics are periodically published releases of statistical information including Statistical Bulletins, Articles, Compendium, Datasets, Timeseries and Data Slices. Time Series and Data Slices contain Statistical Data

####Statistical Data Refers to statistics that has data in it (Time Series, Data Slices)

com.github.davidcarboni

ONS Digital

Versions

Version
1.0.68