[Pas2js] Next language feature for pas2js...
Michael Van Canneyt
michael at freepascal.org
Sat Apr 28 00:01:04 CEST 2018
On Fri, 27 Apr 2018, Sven Barth via Pas2js wrote:
> Am 27.04.2018 um 15:11 schrieb Michael Van Canneyt:
>
>>
>>
>> On Fri, 27 Apr 2018, Ondrej Pokorny wrote:
>>
>>> On 27.04.2018 14:49, Michael Van Canneyt wrote:
>>>> On Fri, 27 Apr 2018, warleyalex via Pas2js wrote:
>>>>> I'm quite confident our mORMot suits better with the free open
>>>>> source Pas2JS
>>>>> FPC based project.
>>>>
>>>> I never was a big fan of mORMot. Way too complicated for beginners.
>>>> Not RAD at all.
>>>>
>>>> I'm currently converting a big project for a client that uses mORMot
>>>> to something else which is less obtuse and fragile. Now I'm even
>>>> less of a fan than before.
>>>
>>> I have exactly the same experience. In legacy Delphi projects I use
>>> SynPDF (which is great) but I abandoned mORMot. Too complicated, too
>>> many dirty tricks (e.g. why does it have its own TypInfo?).
>>
>> Indeed. The dirty tricks department is what I referred to with my
>> 'fragile'.
>
> What I *do* like about mORMot and hope to reproduce for fcl-web are the
> interface based services for which one merely has an interface on the
> client side that one interacts with and an implementation of the
> interface on the service side. Between them is the wire protocol like
> JSON over HTTP or such.
You can do this in a clean way already.
See e.g. Remobjects SDK. Or WST, if you want open source..
Michael.
More information about the Pas2js
mailing list