Hola Eduardo,
Con App Builder se incluyen varios ejemplos. Puede accederse a ellos desde el menú File > Samples o "Archivo -> Ejemplos". Verá que se muestra un diálogo con los ejemplos y una lista con los mismos. Puede filtrar la lista o simplemente buscar el ejemplo "SwipeMenu" y abrirlo desde ahí.
Hola Eduardo,
Gracias por lo enlaces. Eche un vistazo al ejemplo "SwipeMenu". Tal vez puede mejorarse, pero, creo que sigue la misma idea.
Hola Eduardo,
Tal vez el tipo de controles que ha mencionado estén disponibles en alguna otra plataforma, por ejemplo, en Android Studio, no obstante, en App Builder preparamos aplicaciones HTML5 y contamos acaso con otro tipo de controles.
Actualmente no hay un control "TabBar", pero, puesto que nuestras aplicaciones cuentan con la potencia de AngularJS y Bootstrap, tal vez podría usarse un control HTML y código de la directiva Tabs de Angular UI.
Sobre posible control "ListView", eche un vistazo a los controles Report y Multiselect en los ejemplos Report* (hay varios) y MultiSelect.
No estoy muy seguro de lo que es un "Menu Drawer", pero, sí que contamos con un control Menu. Eche un vistazo a los ejemplos Menu* (hay varios) y también al ejemplo DecSoft, que también usa dicho control.
¿Hay algún tutorial que explica cómo desarrollar estas características en AppBuilder?
Recuerde que App Builder produce aplicaciones HTML5. Generalmente, cualquier "cosa" para HTML5, Javascript y CSS puede estar disponible en nuestras aplicaciones, bien implementadas por App Builder, bien usando el control HTML y la inclusión de archivos Javascript junto con las acciones StartJS y EndJS.
Es decir, si no contamos con un determinado control o funcionalidad (por el momento), es posible extender App Builder para hacer uso de HTML y Javascript "externo" de una forma relativamente sencilla. Existe un ejemplo de nombre "External" que nos muestra, por ejemplo, cómo podemos acceder a variables y métodos de nuestra aplicación desde Javascript "externo" a ella.
Hola Eduardo,
No conocía IBM Blumix, pero, echando un vistazo rápido, parece que usan a Google Cloud Messaging (GCM), que, es justamente lo que usa también el ejemplo PushPlugin, al que tal vez quisiera echar un vistazo. Creo que sería muy similar, cuando no lo mismo.
En efecto, el control Pusher trabaja con Pusher.com, pero, esto es posible gracias a su API Javascript. ¿Proporciona IBM Blumix algún API Javascript? Aunque como digo, creo que el ejemplo PushPlugin podría servirle...
Hello erfanwin3,
First of all, sorry for the delay... I really don't know what happend, but I view your post right now... please, sorry.
About your question, you need to purchase a New plugin license if you never purchase the plugin license before.
In other words, purchase an Upgrade license only if you have purchased a previously New license of the plugin.
Tell me if you need further help. And sorry again for the delay to reply you in this thread.
Hello Samuel,
Yes; we can expose certain server URLs, but that does not mean the server response are the same for every request. For example, supose we want to get certain user information from a server database. In an HTTP call (using an HTTP client control) we can include certain user name and password, then, the server only give us the user information if the name and password are correct and not in other case.
We expose the URL for our login script in the server, but, never expose the user name and password.
No problem Samuel!
About possible ways to protect our apps, think that, on the client side, anybody can take a look at the source, just like in every web site, for example. However, certain things may can be doing in a server: in general terms nobody have access to the server, so our server code is more or less protected.
Hello Samuel,
I think you are inverted the steps, that is, first we need to build the app, and then use the minimizer tool. Think that everytime we build the app the code come again without minimize. On the other hand, you can create a Batch file to build your app. As you can see in the Batch file tool, we can check an option to minimize the code. Then, when we execute the Batch file, App Builder build your app and automatically after minimize their code.
Hope this can help you Samuel. Tell me if you have further questions.
Hello,
Don't worry: what I understand from your question is still valid and I need to investigate that. But now the point is very clear.
Do you use the same sample app that attach in your first post? Because I just download it again and, apparently, I receive the correct response from the server:
Anyway, try to remove manually the "_Compiled" directory of the app and then compile it again and try it.
If you use other end point (URL) for the request, please, give me the URL in order to try it here by myself.
Hello,
Thanks for the feedback Samuel.
The last question is this one for our host, David : is it normal that the debugger won't receive any result of a GET request while a browser launched in debug mode will ?
I am not sure if understand well your question. If the problem is why the debugger can't tell us the HTTP call fail due to "CORS" problem, for example (and just like the Firefox debugger can doing), I only can say that I need to investigate it in order to found a possible way to do it. Currently script errors are reported by the debugger, however, apparently, not this kind of errors: I don't know if the used Browser control do not provide such information or what. But I will investigate this Samuel.
If I am not understand your question, please, explain a little bit and I try to help you Samuel.
Hello Samuel,
Please, sorry for the delay: I expend the day at the hospital with my mom. About our issue, I think your headers are correct. May we can missing some header in "Access-Control-Request-Headers"? But Firefox and their developer console probably tell us what can be happend or the missing header. Maybe the "Origin" must be something different to http://127.0.0.1:9990"? You can try (at this time) with an "*" (asterisk), which apparently works fine in PHP. But I can't view anything wrong in the above code.
If you need that I try the script or something like that just tell me.
Hello,
Always thanks you Samuel! What we need is to "clone" the above PHP code in LiveCode. Before the "cache" changes, the "Access-Control-Allow-Origin" header are sufficient, however, the "cache" changes requires to fill the "Access-Control-Allow-Methods" and "Access-Control-Allow-Headers" header in the server response.
Hello Samuel,
The problem is related with CORS and, yes, probably the same request in previous App Builder releases works fine: in fact a couple of releases ago I introduce a "prevent cache" enhancement that works, but requires some CORS related attention which previously do not matter.
Try to run the debugger and then use the debugger toolbar to open the app using Firefox, then press F12 in Firefox to open the developer console and you can see the problem: we need to set the "'Access-Control-Allow-Headers" in the server response to properly enable CORS.
As you can see in the current included app samples in PHP we can do something like this to enable CORS for the latest App Builder releases:
Really I don't know how to do it in "LiveCode", but, probably you can found more information about how to properly set the "Access-Control-Allow-Headers" response header. Certainly this change in App Builder can cause this problem, however, we need to introduce an internal "non cache" enhancement, since the cache can cause other problems maybe too much complicated.
Please Samuel, post here your doubts or your "LiveCode" solution: maybe other people can also get benefict of that.
Hello CIS,
Better late than never, App Builder include right now a new Database app sample wich show us how to use a Report control along with HTTP Client controls to retrieve and list information from a remote database and also update, delete and insert new information in such database. To this app sample we use PHP and MySQL in the server, and the PHP scripts and the MySQL database estructure are included in the app sample too.
Hello again,
The above code can continue use like that without problems, however, two new actions has been added to App Builder: MediaShowControls and MediaHideControls, which can be used to show or hide the MediaPlayer controls respectively. Note that the designtime "Controls" variable of the "MediaPlayer" must be "true" to allow these actions to work.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.