#1 2015-01-04 13:41:01

jnom
Member
Registered: 2015-01-04
Posts: 2

Event-Driven Dev

Hi,

firstly i would thank you guys for this great job.

about the event-driven development, it's the big missed & must-have feature for the modern frameworks like yours.
i think this open source lib can help.

Article:
http://otapi.com/2014/09/18/event-drive … roduction/

Source:
https://github.com/LaKraven/LKSL

Offline

#2 2015-01-04 18:42:37

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

Re: Event-Driven Dev

The framework core is already event-driven, from the HTTP requests point of view.
Our blocking scheme is in fact scaling very well, better than node.js in fact. smile

But event-driven design, using interfaces for publish/subscribe pattern, is on the roadmap - see http://synopse.info/fossil/tktview?name=aa230e5299
Is it what you meant?

LKSL is interesting, I'm following it since the beginning, but I would rather use some libuv port for pure cross-platform support.
In fact, LKSL is not compatible with FPC, and we rely on FPC for our Linux support, which is a must have for our own hosting now - and for a lot of our users.

Offline

#3 2015-01-04 19:29:08

jnom
Member
Registered: 2015-01-04
Posts: 2

Re: Event-Driven Dev

yes i mean pub/sub pattern.
ok since it's immediate priority.

Offline

#4 2015-01-06 05:51:05

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: Event-Driven Dev

ab wrote:

we rely on FPC for our Linux support, which is a must have for our own hosting now - and for a lot of our users.

Hi Ab, are you already using the FPC/LINUX version of mORMot now for production?


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#5 2015-01-06 09:30:51

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

Re: Event-Driven Dev

Not yet on production on our side.
But we plan to, in a short term time window.

Offline

#6 2015-01-08 09:04:59

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: Event-Driven Dev

I haven't a chance to develop for Linux yet, but it'll be great if you then have a blog post for tips and steps on how your setup your development environment for Linux smile

Last edited by edwinsn (2015-01-08 09:05:28)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#7 2015-01-08 11:09:15

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

Re: Event-Driven Dev

We are currently implementing a workaround against the FPC bug/limitation.
See http://synopse.info/fossil/tkttimeline/9357b49fe2?y=ci

Offline

#8 2015-01-08 12:22:09

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Event-Driven Dev

Hi Arnaud,
If you have an example (or Sample) ready.
I would very much like to test/try this new feature !!

Offline

#9 2015-01-08 12:33:28

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

Re: Event-Driven Dev

I'm currently debugging it, and trying to make it easy to work with.

Offline

Board footer

Powered by FluxBB