Webpage made with mod harbour + DBF files

Responder
Otto
Mensajes: 50
Registered for: 3 years 6 months
Austria

Webpage made with mod harbour + DBF files

Mensaje por Otto »

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
$-> #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

//----------------------------------------------------------------------------//




Otto
Mensajes: 50
Registered for: 3 years 6 months
Austria

Mensaje por Otto »

Hello,

The web pages created with Harbourino can easily be examined with the debugger.

Imagen

Harbourino automatically inserts the filename.

Imagen

You can then call up the relevant source code very quickly in the editor.
|- for comments in files - not shown in the "patched" release file.


Imagen

Best regards,
Otto

Responder