paths to Ember+ implementation

368 views
Skip to first unread message

keymapper

unread,
Nov 27, 2017, 12:54:37 PM11/27/17
to ember-plus-discuss
I am a software developer with experience using mostly high level scripting languages (typically Javascript, Perl, Lingo, PHP). I have some familiarity with C++ and C# but far from expertise. I have been asked to add Ember+ provider capability to one of my software products (written mostly in Lingo and Javascript) and I am researching the best/most painless path to achieving that, ideally without having to reinvent the wheel and write a native Lingo/Javascript Ember+ framework. I've looked through the Ember+ SDK and have some questions. Please excuse my ignorance on this subject as I come to this an Ember+ novice. Are there any standardized pre-compiled binaries available for using Ember+ as a provider? Such as DLLs and/or command line tools and/or ActiveX controls? I did find the "Ember+ Sharp" project which includes binaries, but as I understand it that is geared towards implementing an Ember+ consumer, not provider. Or am I misunderstanding?

Kimon Hoffmann

unread,
Nov 27, 2017, 3:22:03 PM11/27/17
to ember-plus-discuss
Hi,

I am a software developer with experience using mostly high level scripting languages (typically Javascript, Perl, Lingo, PHP). I have some familiarity with C++ and C# but far from expertise. I have been asked to add Ember+ provider capability to one of my software products (written mostly in Lingo and Javascript) and I am researching the best/most painless path to achieving that, ideally without having to reinvent the wheel and write a native Lingo/Javascript Ember+ framework.

It has come to my attention that there is an implementation of Ember+ for node.js that might be if use to you:


It is not part of the official SDK, so I can’t say much about its feature completeness, but a cursory look at the source code made it look quite promising.

I've looked through the Ember+ SDK and have some questions. Please excuse my ignorance on this subject as I come to this an Ember+ novice. Are there any standardized pre-compiled binaries available for using Ember+ as a provider?
Such as DLLs and/or command line tools and/or ActiveX controls? I did find the "Ember+ Sharp" project which includes binaries, but as I understand it that is geared towards implementing an Ember+ consumer, not provider. Or am I misunderstanding?

The precompiled binaries included in the SDK are tools aimed at helping developers in developing, testing and debugging their own providers or consumers.

To actually build a provider or consumer the SDK ships with three libraries that serve as reference implementations.
* libember - C++
* libember_slim - C

And, in a separate repository, we provide another C# implementation aimed at user friendliness and idiomatic usage within the C# platform.

All libraries are suited for both providers as well as consumers. When considering one of the three with the aim of generating bindings for a different language, libember_slim is probably the easiest to work with, as it has the simplest and clear cut interface and most languages have some degree of support for bridging C libraries.

The repository contains a CMake project file, with which you should be able to generate build descriptions/project files for various platforms and IDEs. These in turn can produce shared libraries (DLL) for both the C as well as the C++ variants.

I hope that helps!

Best regards,
Kimon

keymapper

unread,
Nov 28, 2017, 12:20:47 AM11/28/17
to ember-plus-discuss

there is an implementation of Ember+ for node.js

Thank you for pointing that out. This is helpful for me because at least it shows a partial implementation of the spec in a language I am more familiar with. I may be able to directly use some of this code. To be honest, I searched around for something like this and had trouble finding anything, I think because Ember+ is basically ungoogleable since (I'm sure you know) there also exists a completely unrelated Javascript framework named Ember!
 
The repository contains a CMake project file, with which you should be able to generate build descriptions/project files for various platforms and IDEs. These in turn can produce shared libraries (DLL) for both the C as well as the C++ variants.

Yes I realize that, but that's easier said than done :) With my background mostly in higher level languages, I admit am not comfortable compiling a DLL myself. That's why I was posting my original question asking if already compiled standardized DLLs or command line tools exist which I could more easily hook my existing application into.
Reply all
Reply to author
Forward
0 new messages