Page 1 of 1

Web applications - problems how begin...

Posted: Sat Dec 01, 2018 10:23 am
by Victorio
Hi,
I have problem with create my first web app, so mainly I do not understand how are transferred variables and values between user HTML page, which show on his monitor, and webserve (created with use x2net)
I am sitting on it several weeks :oops: and still not understand how use getvar, getcargo,setvar,setcargo, when which from its.
One example :
webserve create HTML page and send it to user with HTTPResponse.
user put some values to input fields and click submit button.
how can create some alert windows which tell user "you selected 5.th row " ?
In example from xb2net is Login.htm, where user put own UID, and PWD, , this works.
But when I have HTML code included in function in Xbase++ , i do not know, how do it.
I am confused about it, what is on "server" and what is on "client" side, mainly when value is detected or calculated in some javascript function (also included in some xbase source in HTML block which will send to client side)

Re: Web applications - problems how begin...

Posted: Wed Dec 05, 2018 9:09 am
by Victorio
Hi,
Now I know why my test app not worked.
I have in html get method, when change to post variables
can read in functions.
Now I little know how it works :dance: and can build my first web app...

Re: Web applications - problems how begin...

Posted: Wed Dec 05, 2018 11:07 am
by bwolfsohn
Victorio wrote:Hi,
Now I know why my test app not worked.
I have in html get method, when change to post variables
can read in functions.
Now I little know how it works :dance: and can build my first web app...

I always felt like i was trying to crawl up an ice cliff when doing xbase web work...

Re: Web applications - problems how begin...

Posted: Fri Dec 07, 2018 1:42 am
by skiman
I always felt like i was trying to crawl up an ice cliff when doing xbase web work...
I will present a solution for this before Christmas. A solution where every developer can use his own tool, and build complete modern responsive web applications. The system I create is your front-end developer, it's called BOA: Build Online Applications. The programmer is the back-end developer and uses only his own tool, no html, css, javascript or other tools.

It is a solution for every developer who wants to use his own tools as xbase++, Foxpro, Harbour, C, c++, C#, Visual basic, Cobol, Freepascal, ... As front-end developer, BOA doesn't care what the back-end developer uses.

Re: Web applications - problems how begin...

Posted: Fri Dec 07, 2018 5:46 am
by unixkd
Chris

One cannot wait to see this your solution. It sounds too good to be TRUE. If it happens, pls permit me to say that it will be a revolution that will take the Xbase++ by stom.

Joe