The reason for the { } is to allow for multiple comma-separated parameters
in the future. If commas are used as separators, then something needs to
delimit any SQL code provided. But I realize this is looking pretty far
ahead.
Formally, the syntax is:
subst := % name [ ( paramList ) ] %
paramList := param [ , param ]
param := simple-string | { complex-string }
>> Yes, syntax is a bit ugly, but it follows the current pattern of using %
>> for parameters. The only change I might suggest is to use:
>>
>> %BBOX({...})%
>>
>> (That is, % delimits the entire substituted expression, which can itself
>> contain parameters with the ( ) block. The { } delimits raw code strings.
>> This syntax would support future extensions fairly well I think)
>>
>>
> I like the idea of % going around the entire code, not sure about the
> double parenthesis ({ })... any specific reason for it?
>
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users