corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kelly (JIRA)" <>
Subject [jira] [Commented] (COR-11) Make interface between docformat and webkit (prepare for e.g. Qt).
Date Mon, 19 Jan 2015 01:30:34 GMT


Peter Kelly commented on COR-11:

The idea is that HTML is the API, and the API is HTML.

This enables a complete decoupling between components. The editor knows nothing about the
conversion library, and the conversion library knows nothing about the editor. There a circumstances
in which you might want to use one but not the other.

If we want to provide an abstraction over various document formats that hides the underlying
representation, what we're effectively doing is designing a new document format (not necessarily
a serialisation format, but at least an in-memory data model - once you have the latter, the
former is easy). By picking an existing standard format (HTML) for document representation,
we can thus focus on providing conversion facilities, rather than creating a new format/data

> Make interface between docformat and webkit (prepare for e.g. Qt).
> ------------------------------------------------------------------
>                 Key: COR-11
>                 URL:
>             Project: Corinthia
>          Issue Type: New Feature
>          Components: DocFormats - API
>         Environment: source
>            Reporter: jan iversen
>            Priority: Blocker
>             Fix For: 0.5
> We need a API to the library

This message was sent by Atlassian JIRA

View raw message