mod_harbour Genesis: How does it work?

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

mod_harbour Genesis: How does it work?

Postby Carles » Sat Feb 15, 2020 5:38 pm

Hi,

I will try to explain in a brief way what we can get with Genesis. It is the result of months of I+D with mod_harbour, the authentic mod apache to run web applications with harbour. Genesis is built with mod_harbour and will help you easily develop your web applications using harbour

We could make an overview of the entire system as follows.

Imagine that we want to consult in our system information about a code entered from our smartphone. Our data will be in dbfs in our case, of course ;-)

1.- We will create a Task (we will call g_camion) that will be a function that opens our dbf, look for the code, load the data and return them in a hash. Pure Harbour code !!!

Image

We can test our code in the cloud and check the result on the right panel. In this case we return a hash with the keys 'found' and 'row'

2.- We will create a View that will simply be our screen, we will call it in this case gsalida. The most trained in html/Css can code directly. Those who do not, there is a mini-gui available in which we can encode our usual xBase style :-)

Image

Once the main design of the view is encoded, we will end up adding some javascript to create our request to the query server and wait for a response to be returned to display it on our screen. We want each button press to make a query to the Task that we have defined as g_camion.

Image

There is only one menu left in our program to run this View. We will have a grid with 3 levels: Group, Subgroup and Item

Image

In the 3 level we will indicate that we want you to run our menu. In this case we want you to run the View gsalida

Image

We already have ALL our system ready !!!

We connect with our smartphone to our server and our menu that we have defined will appear

Image

When executing it, our View will appear that you can consult with our server the Task defined at the beginning of everything

Image

And with all this general concept, we can extrapolate it until we easily complete our screen

Image


In few minutes we have designed our web system with our RAD Genesis. The first Harbour system to program our web applications with prg

How do you see the system? : D


mod harbour. The future xBase is here !


Image
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1135
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: mod_harbour Genesis: How does it work?

Postby wilsongamboa » Sat Feb 15, 2020 6:51 pm

Felicitaciones Charly se abre una nueva era
Un fuerte abrazo !!
Wilson 'W' Gamboa A
Wilson.josenet@gmail.com
User avatar
wilsongamboa
 
Posts: 593
Joined: Wed Oct 19, 2005 6:41 pm
Location: Quito - Ecuador


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 8 guests