Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dirigible » Injected API Requests(Requests for new Injected APIs)
Injected API Requests [message #1706248] Tue, 25 August 2015 09:45 Go to next message
Nedelcho Delchev is currently offline Nedelcho DelchevFriend
Messages: 54
Registered: May 2013
Member
Hi,

Lets' use this topic for requests and discussions about the Injected API support. As of now the included APIs consists of four major sets - standard objects (Request, Response, Session, Datasource, Storages, etc.), services (Mail Service, Indexing Service, Extensions Service, etc.), utilities (IO, HTTP, XML, Base64, DB, etc.) and extensions (Wiki).

The Java interface can be found at:
https://github.com/eclipse/dirigible/blob/3fd591670e9451e8b5c833fd50ca09adccbe45f1/org.eclipse.dirigible/org.eclipse.dirigible.parent/runtime/org.eclipse.dirigible.runtime.core/src/org/eclipse/dirigible/runtime/scripting/IInjectedAPI.java

The documentation is at: http://api.dirigible.io

Regards,
Nedelcho
Re: Injected API Requests [message #1708076 is a reply to message #1706248] Sat, 12 September 2015 09:04 Go to previous messageGo to next message
Yordan Pavlov is currently offline Yordan PavlovFriend
Messages: 9
Registered: October 2014
Junior Member
Hi Nedelcho,

Do we really need the setter methods to be a part of the injected API?

The only really useful set method, according to me is this one:
public void set(String key, Object value);


Regards,
Yordan
Re: Injected API Requests [message #1708441 is a reply to message #1708076] Wed, 16 September 2015 14:12 Go to previous messageGo to next message
Nedelcho Delchev is currently offline Nedelcho DelchevFriend
Messages: 54
Registered: May 2013
Member
Hi Yordan,

Good point! It is not just useless, but probably dangerous to have setter methods for the standard injected objects once they have been set by the execution engine. We can create a bug for 2.1, if there is no objections removing them.

Regards,
Nedelcho
Re: Injected API Requests [message #1708568 is a reply to message #1708441] Thu, 17 September 2015 13:59 Go to previous messageGo to next message
Nedelcho Delchev is currently offline Nedelcho DelchevFriend
Messages: 54
Registered: May 2013
Member
Bug created:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477725
Re: Injected API Requests [message #1739438 is a reply to message #1708568] Mon, 01 August 2016 12:44 Go to previous message
Nedelcho Delchev is currently offline Nedelcho DelchevFriend
Messages: 54
Registered: May 2013
Member
Hi All,

Let's continue to use this "injected" kind of API objects as built-in/internal APIs and to start promoting the new "public" Enterprise JavaScript API. It is available already at http://api.dirigible.io and the honest reasoning behind it at: http://www.dirigible.io/blogs/2016/08/01/blogs_why_enterprise_js.html

Everyone is welcome to join this effort of defining a "standard" set of APIs needed by the business application developers in the Cloud.

Regards,
Nedelcho
Previous Topic:JavaScript Engine Types Determination
Next Topic:Secured/Unsecured URLs Discussion
Goto Forum:
  


Current Time: Wed May 24 00:35:32 GMT 2017

Powered by FUDForum. Page generated in 0.02151 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software