landing page with dbf pagedata file

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

landing page with dbf pagedata file

Postby Otto » Sun Aug 08, 2021 10:15 am

Hello friends,

We are organizing a Live Stream with Jacob Koopman from Dublin to Sillian, Hotel Bergland.
Therefore, we program a landing page with mod harbour for marketing.

We use a DBF file to store the content.
With the help of a self developed little FIVEWIN program we can rapidly at a pagedata-dbf-file .
This program creates a record inside the pagedata file.
And you can copy the hashkey to the clipboard.
You also see the Harbourino tool in action.
Harbourino is a tool to let you easily develop your personal framework.

LINK to page: https://winhotel.space/jacobkoopman/home-studio.prg

VIDEO: https://mybergland.com/fwforum/pagedatafile.mp4

Image
Last edited by Otto on Mon Aug 09, 2021 5:08 am, edited 1 time in total.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6340
Joined: Fri Oct 07, 2005 7:07 pm

Re: landing page with dbf pagdata file

Postby Otto » Sun Aug 08, 2021 1:51 pm

Info
The SSL certificate of mybergland.com is expired - I am working on renewing the certificate.
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: 6340
Joined: Fri Oct 07, 2005 7:07 pm

Re: landing page with dbf pagdata file

Postby Otto » Sun Aug 08, 2021 3:24 pm

Hello friends,

Now SSL is renewed and working again.

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: 6340
Joined: Fri Oct 07, 2005 7:07 pm

Re: landing page with dbf pagdata file

Postby Otto » Sun Aug 08, 2021 9:30 pm

This easy you can resolve the source code of such a complex, feature-rich web page with Harbourino.

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

Re: landing page with dbf pagedata file

Postby Otto » Mon Aug 09, 2021 6:09 pm

Hello friends,

Where is the web page with this video

LINK to page: https://winhotel.space/jacobkoopman/home-studio.prg
hosted?

We are connected with Fiberglas 100/100 to the internet.

An OPNsense Firewall distributes the internet to my Apache web servers.
I use i7 notebooks with good SSD drives and the maximum of RAM.

Here is the mod harbour code:
We fill a hash from a dbf file and pass the hash to HTML.

Code: Select all  Expand view  RUN


hPageData := {=>}  

  use ( hb_GetEnv( "PRGPATH" ) + "\data\pagedata.DBF" ) new
  do while .not. eof()
      hPageData[  ALLTRIM( field->hashkey ) ] = field->text
      select pagedata
      skip
  enddo
  select pagedata
  use
   TEMPLATE PARAMS hPageData
 


And here the code to access the hash from HTML.

Code: Select all  Expand view  RUN

 <?prg  return hPageData[ "keyname" ] ?>
 




Image

Image

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: 6340
Joined: Fri Oct 07, 2005 7:07 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 7 guests