So do you mean you convert them to plain JS at client side? This would be easier to integrate. What license have the modules you used?
Lvc@ On 16 June 2014 11:07, MrFT <[email protected]> wrote: > > I don't know what exactly you want me to turn into a plugin... > > Do you mean I can turn the hook into a plugin, so there is a > zero-configuration way of adding this functionality? Or do you mean > something else? > > Also, since I added the compiler to the studio, you don't even need the > hook anymore, provided you only use the studio to make changes to your > functions. > > > > Op donderdag 12 juni 2014 19:15:14 UTC+2 schreef Lvc@: >> >> Hey, >> This is cool. I think you should do a plugin, so users can just copy >> under "plugins" folder and works. Take a look at Studio how is done, or ask >> here if needed. >> >> About supported Scripting languages, maybe we'd need a new command in >> HTTP to retrieve all of registered ones, so Studio can just call it to >> avoid changing Studio every time. WDYT? >> >> Lvc@ >> >> >> On 12 June 2014 18:50, MrFT <[email protected]> wrote: >> >>> New versions. >>> >>> Fixed a bug in the hook where LiveScript would be compiled using >>> coffeescript compiler. >>> >>> Added compile support IN the studio, so you don't need the hook anymore. >>> >>> >>> >>> >>> >>> >>> Op woensdag 11 juni 2014 15:07:07 UTC+2 schreef Enrico Risa: >>>> >>>> Cool MrFt >>>> >>>> i will try it :D >>>> >>>> >>>> 2014-06-11 14:32 GMT+02:00 MrFT <[email protected]>: >>>> >>>>> Hello, >>>>> >>>>> If you are interested in these compile-to-javascript scripting >>>>> langages, please let me know what you think about the following... >>>>> >>>>> >>>>> I implemented a OrientDB hook that supports LiveScript and >>>>> CoffeeScript here: >>>>> https://github.com/mrft/OrientDBLanguagesCompiledToJavascriptHook >>>>> >>>>> And I also added some basic support to the orient-db studio here. >>>>> https://github.com/mrft/orientdb-studio >>>>> >>>>> I added the jar file and the studio.zip to this message, so you can >>>>> give it a try. Just rename your studio.zip under /plugins to >>>>> studio.zip.bak, and save this one to the same folder. >>>>> >>>>> Then you need to add the hook, by saving the jar file to /lib and by >>>>> updating the *orientdb-server-config.xml* file. You need to add >>>>> <hooks> like in the example below. >>>>> >>>>> <orient-server> >>>>> ... >>>>> <hooks> >>>>> <hook class="be.vsko.orientdb.IcedCoffeeScriptHook" >>>>> position="REGULAR"/> >>>>> </hooks> >>>>> </orient-server> >>>>> >>>>> Don't forget to restart OrientDB. >>>>> >>>>> Currently the studio depends on the hook being active, but it would be >>>>> quite easy to make sure that the studio doesn't need this hook, because >>>>> the >>>>> compilation could also be done in the browser. >>>>> That would mean that creating or updating functions in such a language >>>>> could only be done from the studio, but maybe that is good enough? >>>>> >>>>> What do you think? >>>>> >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OrientDB" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OrientDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
