B4J Question [BANano] ExecuteCallBack for PHP & AJAX

Discussion in 'B4J Questions' started by Mashiane, Mar 9, 2019.

  1. Mashiane

    Mashiane Expert Licensed User

    Hi there

    I've just become comfortable using the ExecuteCallBack method for BANanoSQL and thanks for this feature.

    I had earlier asked about using Php & MySQL and was pointed to Ajax and an example also provided. Thanks. I'm just about to explore these now fully as I need to persist data directly to a database.

    I'm wondering though, is it possible to implement an ExecuteCallBack for Php and also the Ajax functionality in a similar fashion for the BANanoSQL object?

    Thanks

    #JustAThought...
     
  2. Kiffi

    Kiffi Well-Known Member Licensed User

    Take a look at BANano.CallInlinePHP()
     
  3. Mashiane

    Mashiane Expert Licensed User

    Seemingly, if I have a lot of php functions to call, I will have to create a select case statement /if inside the only CallInlinePhpResult callBack method to detect the id. This might prove a code maintenance issue later on if my app becomes bigger. I'm just thinking perhaps such could be easier **if possible**
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice