Webpage made with mod harbour + DBF files

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

Webpage made with mod harbour + DBF files

Postby Otto » Sun Nov 08, 2020 2:19 pm

https://www.modharbour.club/winhotelqr/index.prg

Hello friends,

I will explain step by step how to use an extra preprocessor to simplify sourcecode and make it better readable.
This is if one does not use a framework.

I wish you all a lovely Sunday.
best regards,
Otto

Code: Select all  Expand view
$-> #COPYRIGHT : autor= Mag. Otto Atzwanger; date="2020-11-05"

    REQUEST DBFCDX
    REQUEST DBFFPT

    static hSetup, hIconsGrid, aIdxIconsGrid, hShowcases, aShowcases
    static hTestimonials, aTestimonials
    static hPageData
    static hPortfolio, aPortfolio
    static hHash_DBF, aRelationship_DBF

    function Main()

    -> READ_DATABASE

    CheckTables()

    -> DBF2HASHTABLE

    TEMPLATE PARAMS hSetup, hIconsGrid, hShowcases, hTestimonials, hPageData, hPortfolio, hHash_DBF

    <!DOCTYPE html>
    <html lang="en">

    -> HEAD

    <body>

    -> HEADER

    -> STARTSECTION

    -> ICONS_GRID

    <main id="main">

    -> PORTFOLIO2

    -> VIDEOS

    -> SOFTWARE

    -> ACCORDION

    -> TEAM

    -> CONTACT


    </main><!-- End #main -->

    -> FOOTER

    <a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>

    -> SCRIPTS_JS

    </body>

    </html>

    ENDTEXT

    return nil
    //-------------------------------------------------------------------------//

    -> #CONVERTUMLAUTE

    -> HARBOUR_FUNCTIONS

    -> CHECKTABLES

    -> #INIT_PROCEDURE

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

Re: Webpage made with mod harbour + DBF files

Postby Otto » Wed May 05, 2021 12:38 pm

Hello friends,

Maintaining a DBF-powered web page is very comfortable. You can use your usual tools. Here, for example, the dbf editor from Enrico.

Best regards,
Otto

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

Re: Webpage made with mod harbour + DBF files

Postby Otto » Fri May 07, 2021 7:37 pm

Hello friends,
I'm also currently converting my WP site to mod harbor. I am currently working on the implementation of the mega menu.
The blocks such as Portfolio, FAQs, Google maps, Team are simply integrated with one line.
The changes and extensions are then made directly in the database.

Best regards,
Otto

LIVE

https://winhotel.space/mh_megamenu_temp ... gamenu.prg

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


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 0 guests