[mapserver-dev] RFC 102: Styleitem Javascript Plugin

Alan Boudreault aboudreault at mapgears.com
Mon Aug 19 10:27:06 PDT 2013


All,

- V8 allows us to embed a javascript interpretor in an application. It 
implements ECMAScript 5th edition and runs on Windows, Mac and Linux.

The idea behind its addition is to have a scripting language to 
implement various plugins. The one suggested here is a plugin that 
generates styles, but we could imagine some other use cases: ie. a new 
datasource that return the shape object from a javascript plugin or 
maybe the ability to use a javascript plugin to extend the geomtransform 
for a specific case.

V8 provide an embeded javascript engine (syntax, interpretation, 
execution) and it is absolutely not related to anything *client-side* 
(browser). So no, it is not needed for scribeUI.  	

- The shapeObj will be exposed as a wrapper created for the v8 engine. I 
will only expose shape attributes for this RFC. A new rfc will be 
written later for a *complex symbology plugin* and the geometry will be 
expose for this need.

- nothing to push in a branch yet

On 13-08-19 12:50 PM, thomas bonfort wrote:
> Alan,
> - For those of us who haven't followed up closely on the v8 engine and
> its possibilities, could you expand your RFC or follow up here with
> some use-cases where this would be used in mapserver? Is this
> something that is needed for scribeUI?
> - How and what do you plan on exposing of a shapeObj to V8? Direct
> member access or wrappers? Will you expose only attributes or also
> geometry?
> - You seem to have some or most of the code ready? Can you push your
> branch publicly?
>
> thanks,
> Thomas
>
> On 19 August 2013 18:17, Alan Boudreault <aboudreault at mapgears.com> wrote:
>> Devs,
>>
>> Please take a look at RFC 102 which propose the addition of a styleitem
>> javascript plugin as an alternative to style our features.
>>
>> http://mapserver.org/development/rfc/ms-rfc-102.html
>>
>> I'll be calling for vote on it next week.
>>
>> Thanks,
>> Alan
>>
>> --
>> Alan Boudreault
>> http://www.mapgears.com/
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


-- 
Alan Boudreault
http://www.mapgears.com/


More information about the mapserver-dev mailing list