I just found this article and its associated 3 videos on User Defined Ajax Callbacks.
http://wiki.alphasoftware.com/User+D...20introduction
All I can say is WOW - how slick.
I am just learning Alpha Five and have many years of Access and VBA experience. I knew that WEB development would have many challenges due to the web operation and made more complex by the use of AJAX. I certainly WANT Ajax capabilities as it gives a MUCH BETTER user interface than static web pages! I know that in Access I can do just about anything I may need to do in VBA. I figure XBASIC won't be that hard to learn. But tying the user/Ajax/Javascript side to server/Xbasic seemed daunting.
As an aside, I recently found out how to call a related A5w page with a page variable set to allow me to specify a customer number that was selected in a grid in a call to a new web page that has details on that specific customer. I also learned out how to set a parameter and using that parameter to set a filter for the content of the called A5w components, thus allowing me to utilize the page variable to filter only the user selected customer. I know I will use this over and over again in my web designs.
This article and the videos show how it is so straightforward to use Ajax callbacks to user defined Xbasic functions. Alpha 5 had written capabilities to help you define the Ajax callback. No user coding required there. Alpha five also has special capabilities in Xbasic, part of the "e." object, that allows you to GENERATE the Aiax code needed to set the values of fields in the client side. So you really only need to know how to let A5 help you generate the Ajax call to the Xbasic function, XBasic and how to use the e. object to specify the updates you want on the client side (and alpha five will generate the java script code).
I am impressed. I feel that this article and the three short videos has helped me go another significant click further in understanding the architecture of Alpha five and has opened up all the power of XBasic (which I assume will be comparable to Access' VBA with DAO). I still am going to see how far I can go with learning the options built into Alpha Five so that no or minimal code is required. But great to now understand the basics of Ajax callbacks from client side objects to a custom user defined function to do calculations and set values in the client side objects.
Bob
http://wiki.alphasoftware.com/User+D...20introduction
All I can say is WOW - how slick.
I am just learning Alpha Five and have many years of Access and VBA experience. I knew that WEB development would have many challenges due to the web operation and made more complex by the use of AJAX. I certainly WANT Ajax capabilities as it gives a MUCH BETTER user interface than static web pages! I know that in Access I can do just about anything I may need to do in VBA. I figure XBASIC won't be that hard to learn. But tying the user/Ajax/Javascript side to server/Xbasic seemed daunting.
As an aside, I recently found out how to call a related A5w page with a page variable set to allow me to specify a customer number that was selected in a grid in a call to a new web page that has details on that specific customer. I also learned out how to set a parameter and using that parameter to set a filter for the content of the called A5w components, thus allowing me to utilize the page variable to filter only the user selected customer. I know I will use this over and over again in my web designs.
This article and the videos show how it is so straightforward to use Ajax callbacks to user defined Xbasic functions. Alpha 5 had written capabilities to help you define the Ajax callback. No user coding required there. Alpha five also has special capabilities in Xbasic, part of the "e." object, that allows you to GENERATE the Aiax code needed to set the values of fields in the client side. So you really only need to know how to let A5 help you generate the Ajax call to the Xbasic function, XBasic and how to use the e. object to specify the updates you want on the client side (and alpha five will generate the java script code).
I am impressed. I feel that this article and the three short videos has helped me go another significant click further in understanding the architecture of Alpha five and has opened up all the power of XBasic (which I assume will be comparable to Access' VBA with DAO). I still am going to see how far I can go with learning the options built into Alpha Five so that no or minimal code is required. But great to now understand the basics of Ajax callbacks from client side objects to a custom user defined function to do calculations and set values in the client side objects.
Bob
Comment