B4J Question [BANano] [SOLVED] ExecuteCallBack for PHP & AJAX

Mashiane

Expert
Licensed User
Longtime 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...
 

Mashiane

Expert
Licensed User
Longtime User
Take a look at BANano.CallInlinePHP()
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**
 
Upvote 0
Top