Juan,
Sounds logical to keep the RenderManagerApi (? why the "Api" name?) stuff
separated from the Engine interface.
I'd prefer the
"context.getEngine().render().textToHtml(...) "
syntax or perhaps more consistent
"context.getEngine().getRenderManagerApi().textToHtml(...)"
dirk
On Wed, Ap
Hi,
one last line; just to clarify, I'm not opposed to have the textToHtml
method on the public api, my concerns were more
inline with not seeing the Engine as being the place for it.. As for how to
call it,
context.getEngine().getManager( RenderingApi.class ).textToHtml(..)
would be an option, b
Hi Dirk,
would something like context.getEngine().getManager( RenderingApi.class
).textToHtml( Context, String ) work for you?
RenderingApi would sit on the o.a.w.api.engine package, and thus being part
of the public API. It would, initially, consist
of only the .textToHtml(..) method. We can add
Sorry, part of the mail was incomplete.Corrected & resend:
> Juan,
>
> Thx for the (long) reply.
> It is indeed key to carefully select what will/will-not be added to the
> public api.
>
> Having textToHtml() on the public api make a lot of sense IMO. It will
> facilitate plugin authors (existi
Juan,
Thx for the (long) reply.
It is indeed key to carefully select what will/will-not be added to the
public api.
Having textToHtml() on the public api make a lot of sense IMO. It will
facilitate plugin authors (existing, new) in quickly building new plugins
just be using the public api's (wi
Hi Dirk,
I've to say I've got mixed feelings about adding the method to the Engine
(but not to add it somewhere else on the public API).
On one hand, if it helps with backwards compatibility I wouldn't mind
putting that shortcut on the Engine, or maybe only on
the WikiEngine. However once in the A
Juan,
When converting one of the plugins to the latest api; I noticed that .
textToHTML is not available on the public api.
I needed to do something like:
m_context.getEngine().getManager(RenderingManager.class).textToHTML(...
iso
m_context.getEngine().textToHTML(...
As the textToHtml is IMO
Juan,
Excellent work done on the api & documentation !
And tx for the report too.
dirk
On Sun, Apr 5, 2020 at 9:10 PM Juan Pablo Santos Rodríguez <
juanpablo.san...@gmail.com> wrote:
> Hi,
>
> below is the draft for next board report, I intend to send no more later
> than next Wednesday. As us