I have been developing apps with Appsheet for about a year. I have more than 30 years of experience as a programmer in different programming languages and Appsheet is my first no-code experience. I am very skilled at optimizing the code of the functions to the maximum, so I believe that all the functions I use are the minimum necessary expression.
The first apps I developed were simple and all good. I liked Appsheet because with imagination and creativity you can combine formulas, views, valid-if, show-if, display-if, actions and bots to get a lot of functionalities. When writing formulas I always noticed the message "Note: This expression could impact performance.", and I always try to look for the simplest and simplest formulas. I have never had complaints about performance, but now I have developed a more complex app, with 18 tables, with several relationships between tables, several slices for filters by roles, calculated columns, and the client complains that the app takes a long time to load. And the truth is, it doesn't seem to me such a high level of complexity that the app is so slow to load.
I have been consulting all the Appsheet documentation regarding the subject, and some related posts in the forum, and I understand the recommendations...but I find myself with the problem that I do not see clearly how to optimize the functionalities that have been developed for the app, because the referenced tables are needed, the calculated columns are also needed, the filters to visualize or validate data are also needed, ..... I can go one by one and see alternatives, and test if the alternative improves performance, do speed tests for each change, but the truth is a very tedious, trial and error task.
Appsheet is very magical because it allows you to develop very good functionalities by combining the different elements (formulas, actions, bots, ...) but if you can't use all these combinations freely because it affects the performance .... Then I wonder if there is something wrong with Appsheet. For me it is important to see if I can solve the performance issue in an efficient and practical way, because if not I will have to look for another development tool. That's why I ask if there is someone in the group who can explain how the app is built and can give me concrete and efficient recommendations to optimize performance.
โฆโฆ..
PREFIERO SI ES ALGUNA PERSONA QUE HABLE BIEN ESPAรOL, YA QUE MI INGLรS NO ES TAN BUENO Y NECESITO UNA COMUNICACIรN FLUIDA PARA ESTE TEMA.
Solved! Go to Solution.
Hola como estas. Desde mi experiencia (ojo no se un solo lenguaje de programaciรณn) he estado desarrollando con appsheet hace tiempo y me he topado con el mismo problema. De tanto analizar casos he descubierto una forma.
Por ejemplo, cuando tienes que colocar una condiciรณn que produce esto: "Note: This expression could impact performance." es porque la expresiรณn utilizada puede ser un filtro que devuelve una lista. Siempre estas expresiones es mejor no repetirlas. Por ejemplo. Si haces un Show If y en cada Show If debes colocar una expresiรณn que impacte en el performance, deberรกs considerar crear una columna virtual que tenga la expresiรณn que impacte. Esa columna tendrรก un nombre y se calcularรก una vez y no en todas las columnas. En todas las columnas apuntas al resultado de la columna virtual que creaste y vas a lograr una optimizaciรณn en el camino de la lรณgica de tu app. Esto es valido para todos los casos.
Supongamos que tienes una tabla con un montรณn de registros y todos deben ser visibles si una de las opciones es vรกlida y, si esa opciรณn es vรกlida solo si no se repite, tendrรกs que crear un filter que impida las repeticiones. No puedes estar escribiendo el mismo filter en el valid if y en los show if, etc., etc. Para eso haces una virtual column una sola vez y apuntas a ella en las condiciones.
Si tienes que hacer, por ejemplo, expresiones grandes y en ellas existen mรบltiples condiciones que a su vez se repiten en otros cรกlculos, te recomendarรญa simplificar la expresiรณn, creando pequeรฑas porciones de la expresiรณn, concentradas en pequeรฑas expresiones que estรฉn dentro de esas virtual columns.
Las virtual columns no deberรญan impactar en la app ya que no se cargan en cada columna sino una sola vez por vuelta.
Espero que lo que te diga te sirva. Saludos
User | Count |
---|---|
18 | |
11 | |
7 | |
5 | |
5 |