#1 2015-01-07 09:31:30

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 516

Feature Request: SynMustache for Crossplatform

Hi Arnaud

i'm thinking about writing some templates under FireMonkey(NEXTGEN - iOS,Android)
and need your Opinion if SynMustache is easy to port to FireMonkey NEXTGEN Compiler ?


Rad Studio 12.1 Santorini

Offline

#2 2015-01-07 12:27:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,662
Website

Re: Feature Request: SynMustache for Crossplatform

SynMustache is tied to SynCommons, for the TTextWriter class, and the TDocVariant custom type.
So porting to the NextGen compiler may be feasible, but some work.

In all cases, a new version of SynMustache may be written.
You may use TJsonVariant, as defined in SynCrossPlatformJSON, instead of TDocVariant, and a regular TTextBuilder for creating the output buffer.
Then re-use the kernel logic of current SynMustache, and the associated tests.

Offline

#3 2015-01-07 13:38:35

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 516

Re: Feature Request: SynMustache for Crossplatform

ty i will think about it


Rad Studio 12.1 Santorini

Offline

Board footer

Powered by FluxBB