webserver using RESTFUL API and responsive

Re: webserver using RESTFUL API and responsive

Postby Otto » Sat Jun 09, 2018 8:19 am

Dear Antonio,
at the moment I have following situation:

a scan is posted through QRCode APP.
Depending on the content Symfony sends following answers:

If a user is not known to the system you get the thankYou.
If there is a rule existing the link of the rule is called.
If a QRCode starts with a certain code the Symfony intern webpage is responding.
All the qrcodes are stored in the MySQL database.

I have set up a WINDOWS server with a fixed IP in my office.
Maybe we could setup a Habour RESTFUL server there and test if we get it working.
Only I never did it and do not know where to start.


Best regards,
Otto

app/Resources/views/default/
app/Resources/views/mails/
app/Resources/views/qrcodelanding/
app/Resources/views/qrcoderules/
app/Resources/views/thankYou/
app/Resources/views/user/
app/Resources/views/base.html.twig
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Otto » Fri Jun 15, 2018 9:41 am

Kibu/FW qrcode - to see what is inside.

Best regards,
Otto

http://www.atzwanger-software.com/fw/ToSeewhatisinside.html
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby cnavarro » Fri Jun 15, 2018 10:05 am

Otto, link not run for me
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: webserver using RESTFUL API and responsive

Postby Otto » Fri Jun 15, 2018 12:07 pm

Dear Cristobal,

https://youtu.be/G7B7MRqdSl0

I uploaded the file to YouTube.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Otto » Sat Jun 16, 2018 8:33 am

Hello,
here is another program where I would like to use Fivewin/Harbour and Fiveweb.
For me using Symfony is a step learning curve.

In Austria every bill must have a QR code.

Scanning this QR code takes automatically note of all your expenses and spendings.
I would like to program this “drivers log” in FIVEWEB. At the moment I am trying with Symfony.

Best regards,
Otto

Image

Image

Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Antonio Linares » Sat Jun 16, 2018 10:37 am

Dear Otto,

I have created this simple FiveWeb test for you:

qrserver.prg
Code: Select all  Expand view
#include "FiveWeb.ch"

function Main( cParams )

   ? cParams

return nil


And I have placed it at http://www.fivetechsoft.com/cgi-bin/qrserver?12345 (click it)

Please notice that the qrcode is supplied after the ?
You can supply any qrcode to it and it will simply show it in the web browser screen

As far as I remember you have a BlueHost account, so you can easily test it and modify it from your own BlueHost site too :-)
No need to mess with IIS settings, etc...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: webserver using RESTFUL API and responsive

Postby Otto » Sat Jun 16, 2018 11:06 am

Dear Antonio,
thank you. This easy it should be.
Now I have to talk with Manuel. I think the APP must be changed. We should get handyID + content of the qr code.
Maybe this should be secured in a way.
Can you explain please how I get this sample running on Bluehost.
I wish you a nice weekend.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Antonio Linares » Sat Jun 16, 2018 11:51 am

Otto,

> Can you explain please how I get this sample running on Bluehost

1. If you have an Apple computer, simply go to a terminal window and write:

ssh otto@www.ottoweb.com

where otto is your login name in Bluehost and ottoweb is the name of your site

you will be prompted to accept a key, choose yes. Then write your password.

2. If you don't have an Apple computer, simply download and execute "Putty" from Windows and do the same steps

https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe

Please try these steps and lets me know how far you go :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41315
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: webserver using RESTFUL API and responsive

Postby Carlos Mora » Sat Jun 16, 2018 7:36 pm

Hi Otto,
Otto wrote:here is another program where I would like to use Fivewin/Harbour and Fiveweb.
For me using Symfony is a step learning curve.

Symfony is a great framework, one of the best without a doubt... but it's learning curve is a little bit heavy.

I browsed to http://www.myquickinfo.com/ but I wasn't able to download the QR Kibu App, neither find it in the Google Play store.
¿Can you share a link to download it?

KR
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“If you think education is expensive, try ignorance"
Carlos Mora
 
Posts: 988
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: webserver using RESTFUL API and responsive

Postby Otto » Sun Jun 17, 2018 7:45 am

Hello Carlos,
the Project is not released yet.
I send you an email.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Otto » Mon Jun 15, 2020 5:41 pm

Hello,
I am now in the process of converting the QRCode project from SQL to DBF. Here I build an order page for the QR code signs.


https://www.modharbour.club/mh_portfolioqrcode/portfolio.prg

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Re: webserver using RESTFUL API and responsive

Postby Otto » Tue Sep 08, 2020 6:11 pm

Hello,
Yesterday I bought a painting. It not only decorates our office but also serves as a background for our webpage for the new mod harbor project.
The whole web page is made with DBF files and mod harbor.
Best regards,
Otto


Image

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6009
Joined: Fri Oct 07, 2005 7:07 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 86 guests