Tools
Sign in
Login
Forum
UseValueStore() is deprecated in Appway 6. What would be a proper replacement of this function?
Forum
>
Scripting
>
UseValueStore() is deprecated in Appway 6. What would be a proper replacement of this function?
Dali Li
posted
on June 13, 2014
at 3:08 PM
Dali Li
posted
on June 13, 2014
at 3:08 PM
The UseValueStore() function is deprecated in Appway 6. What would be a proper replacement of this function? And what is the difference if there is any.
Stephan
replied
on June 13, 2014
at 3:34 PM
Stephan
replied
on June 13, 2014
at 3:34 PM
Hi Dali,
There is no 1-to-1 replacement for the function "UseValuestore".
Originally the function has been designed to read or write small pieces of data from/to a single value store.
But in the past, people have been using this function in ways that it caused a lot of trouble. They quickly started to implement features where they had to "patch" all or at least a large number of value stores. The result was a performance breakdown because Appway had to load all value store XML documents , and many out-of-memory errors because most Appway installations don't have enough memory to load all value stores at once. And such solutions even get worse in the context of an Appway 6.0 cluster where value stores are distributed over multiple cluster nodes and have to be loaded over the network first.
We decided to mark the function as deprecated to make people think about alternative solutions before they ever use this function again. So maybe you can quickly outline your requirement and I can (hopefully) show you an alternative solution?
- Stephan
n/A
replied
on June 13, 2014
at 3:50 PM
n/A
replied
on June 13, 2014
at 3:50 PM
If it is Portal related please make sure you check this document first:
https://developer.appway.com/screen/ShowSingleRecipe/selectedRecipeId/1404717985700
Please
sign in
to add a reply
About this site
|
Terms of use
|
Privacy statement
|
Contact us
© 2025 Appway AG. All Rights Reserved.