webserver using RESTFUL API and responsive

User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

Kibu/FW qrcode - to see what is inside.

Best regards,
Otto

http://www.atzwanger-software.com/fw/To ... nside.html
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: webserver using RESTFUL API and responsive

Post by cnavarro »

Otto, link not run for me
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: webserver using RESTFUL API and responsive

Post by Antonio Linares »

Dear Otto,

I have created this simple FiveWeb test for you:

qrserver.prg

Code: Select all

#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
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: webserver using RESTFUL API and responsive

Post by Antonio Linares »

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/la ... /putty.exe

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

Antonio Linares
www.fivetechsoft.com
Carlos Mora
Posts: 988
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: webserver using RESTFUL API and responsive

Post by Carlos Mora »

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"
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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_portfoli ... tfolio.prg

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: webserver using RESTFUL API and responsive

Post by Otto »

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

********************************************************************
Post Reply