Page 1 of 1

Lowest Common Subset Solution Type

PostPosted: Tue Sep 30, 2014 5:30 pm
by jgarfield
https://support.servoy.com/browse/SVY-7277

There is a whole class of low level library code that should be perfectly portable between Smart, Web and now Mobile clients. However, there is currently no way for a Servoy module to exist that can be included in all other type of end solutions, namely because mobile client solutions only accept other "Mobile" type solutions.

Currently the only way to have a "cross-platform" library is to have a separate branch in your VCS with the solution type changed to "Mobile" instead of "Module". Clearly this is somewhat of a hack and requires you to not only maintain two separate branches, but to also either have two versions checked out (one for Mobile development and one for normal), or to be constantly switching back and forth between your two branches.

A possible solution to this would be to offer a solution type that only had access to the lowest common subset of all Servoy functionality that could be included in all major end solution types (Smart, Web, Mobile). The user would necessarily only be able to create code scopes (no forms), and be able to access a very limited set of Servoy host object functionality (limited by the lowest common subset).

Some example library types that would benefit from this

    * String templating
    * Collection manipulation (map, reduce, pluck, etc)
    * Date manipulation
    * Functional tool kits (curry, partial, other higher-order varieties)
    * Math libraries
    * i18n libraries
    * Solution Model libraries

Re: Lowest Common Subset Solution Type

PostPosted: Tue Sep 30, 2014 5:56 pm
by mboegem
+1

Re: Lowest Common Subset Solution Type

PostPosted: Tue Sep 30, 2014 6:24 pm
by Harjo
File a feature request and I will vote!

Re: Lowest Common Subset Solution Type

PostPosted: Tue Sep 30, 2014 6:32 pm
by ROCLASI
Harjo wrote:File a feature request and I will vote!


He already did, he linked to it in his post :)
And I voted :)

Re: Lowest Common Subset Solution Type

PostPosted: Tue Sep 30, 2014 6:48 pm
by Harjo
Ah overlooked that. :-) just voted