#1 2014-02-20 12:40:26

rdevine
Member
Registered: 2014-02-20
Posts: 52

Named pipes on OSX

Hi Arnaud

Do you have any feel for the work required to port the named pipes channel to OSX?

Cheers, Bob

Offline

#2 2014-02-20 13:48:53

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

Re: Named pipes on OSX

Named pipes is not an option for cross-platform. HTTP is the road here.
And OSX named pipes (are you speaking about UNIX sockets?) is AFAIR not compatible with  Windows named pipes.

To be clear, full OSX support (client+server) is not even on the roadmap.
How may want to host a server on OSX hardware? Linux makes much more sense, and Windows hosting may be not pricey, especially with mORMot, which uses very little resources.

Internally, we rather focus on HTML5 clients for cross-platform clients.

BUT we have validated the following feature request:

Roadmap wrote:

As proposed by this forum thread, we would like to allow server-side generation of Delphi code.
This generated units would allow client ORM and interface-based/method-based services using regular Delphi client, e.g. FireMonkey and/or NextGen platforms.
We may use Indy for HTTP client access.
http://synopse.info/fossil/tktview?name=09ae8513eb

Offline

#3 2014-02-20 14:31:24

rdevine
Member
Registered: 2014-02-20
Posts: 52

Re: Named pipes on OSX

The application I have in mind has client+server on the same PC as an option. I can just use http even here, but named pipes might save me a bit of hassle with getting an http server set up. Of course, without support for OSX I suppose it doesn't matter anyway!

Thanks, Bob

Offline

#4 2014-02-20 15:29:26

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

Re: Named pipes on OSX

Set up a mORMot HTTP server is pretty easy.
Nothing to do, just instantiate the corresponding class instance.
smile

Then over a network, HTTP will be a very small layer over TCP/IP, with almost no overhead.
And you benefit of the very strong http.sys kernel-mode server of mORMot.

Offline

#5 2014-05-23 09:24:38

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

Re: Named pipes on OSX

ab wrote:

To be clear, full OSX support (client+server) is not even on the roadmap.

Hi Ab, if at the end mormot is able to be compiled for Linux with FPC, than it's supposed to be very close to MAC OSX-compatible, right?

Have you thought of that, when mORMot become cross-platform, it will enabled Pascal developers to deliver not only general 'http server applications', but also 'small server application for desktop with HTML5 UI'? Ie. Use run the mORMot-powered application on Windows/MacOSX/Linux desktop, and the users default web browser will language and pointing to something like http://localhost:/888


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

Offline

#6 2014-05-23 13:44:02

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

Re: Named pipes on OSX

Or you can embed a browser to the app..

But pure web app with a windows or wine server sounds easier to obtain....

Offline

#7 2014-05-23 14:59:24

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

Re: Named pipes on OSX

Yes, cross-platform apps without platform-specific GUI should be much easier.


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

Offline

#8 2014-05-23 17:47:30

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

Re: Named pipes on OSX

Offline

#9 2014-05-24 03:06:22

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

Re: Named pipes on OSX

Arnaud, I didn't know that, definitely will check it out!


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

Offline

Board footer

Powered by FluxBB