Project Free HRD & Payroll Application

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
mustafa
Posts: 1160
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Project Free HRD & Payroll Application

Post by mustafa »

Hola amigos, referente a Bases Sqlite
a lo mejor les puede dar alguna idea mi sample
"Sample_Sqlite.zip"

viewtopic.php?f=6&t=1558&start=10" onclick="window.open(this.href);return false;

saludos
Mustafa

*---------------- Google -------------------*
Hello friends concerning Sqlite Database
maybe he can give you some idea my sample
"Sample_Sqlite.zip"

viewtopic.php?f=6&t=1558&start=10" onclick="window.open(this.href);return false;

Greetings
Mustafa :idea:
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Project Free HRD & Payroll Application

Post by Roberto Lopez »

As Rathinagiri said, you should separate GUI from data management.

To achieve that, the best way to go, is to use server stored procedures. In such way, your HMG app, will not include data handling commands at all, but calls to server procedures only.

This will give your application nearly the same performance, running data server locally or from the other side of the world via the Internet.

Besides that, maintenance becomes extremely easy, compared with the traditional (old) programming model (data management and GUI together).

If you add to this, automatic client application updates, your life as a programmer will be significantly improved.

And... if you prefer to continue with dbf files, NETIO server is a wonderful alternative. It works like a charm.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Project Free HRD & Payroll Application

Post by Rathinagiri »

Adding to Roberto's words:

We can have a middleware like database access routines for database management.

For example, we need functions for INSERT, DELETE, UPDATE and CREATE.

InsertIntoTable( cTableName, aFieldNames, aFieldValues )

DeleteFromTable( cTableName, nRecordKey )

UpdateTable( cTableName, aFieldNames, aOldValues, aNewValues )

And, we can write separate functions for different database. (like dbf, sqlite and mysql)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
serge_girard
Posts: 3167
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Project Free HRD & Payroll Application

Post by serge_girard »

Adding to the above:

You will also need USER management in order to manage authorizations for INSERT, UPDATE, ...
Think about Payroll: you don't want to let everybody see the SALARY of the CEO and then modify it.
Think about fraude and security...
Think about database normalization...
This is a very large project/application and you first need databasemodel.

When this is done wrong you get: garbage in==garbage out.

Serge
There's nothing you can do that can't be done...
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: Project Free HRD & Payroll Application

Post by Agil Abdullah »

Many thanks for kind attention and help from:

- Mustafa

- Roberto Lopez

- Rathinagiri

- Serge_Girad

I pay close attention to your comments.

Regards
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: Project Free HRD & Payroll Application

Post by Agil Abdullah »

Now, let me show you development progress as today as follows:.

1) Dataentry ready for Man-Basic, Man-Background, Man-Bio. Hope you will find no serious errors.

2) New progs added.

3) Master Tables and Transaction Tables added for preparation.

4) NOTE for beginners: From this progress we can learn 3 kind of windows-for-input: Browse, Grid konvensional programming, Grid generated with IDE.

5) Next, we will no longer using Browse to handle with Man-Basic because it'is week in input-control. But the routines is useful for Admin just in case in need to recover data from "backdoor".

6) Next week I will provide option to send output/export to MS-EXCEL in case users still need worksheet as report or anything else.

That's all for today. any advice and help is highly appreciated..... Thanks

Attachment is here:
Attachments
manpower141006.rar
(312.01 KiB) Downloaded 342 times
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Project Free HRD & Payroll Application

Post by Roberto Lopez »

In the case that you want to start with a simple design and later make the changes to evolve towards a client/server scheme, my advice is that you do a little effort now, to save hundreds of programming hours in the future.

I mean: You could use dbf files with standard commands on your app, but you should 'encapsulate' data handling in functions, that could be easily changed without impact your client application.

Imagine that you are working in an append data form, then:

<START GUI CODE>

.....
.....

ACTION-> APPEND_RECORD_001(file,data_01,data_02,data_03)

...
.....

<END GUI CODE>

FUNCTION APPEND_RECORD_001(file,data_01,data_02,data_03)
.....
.....
RETURN

Later, if you decide, to go to MySql, you should only recode the APPEND_RECORD_001 function and (IMHO) store it on the server for remote execution.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Project Free HRD & Payroll Application

Post by danielmaximiliano »

Agil Abdullah wrote:
Attachment is here:
Hi Agil , ManPower.dbf not found , missing in .rar file
014-10-06 21_50_40-Dbf.jpg
014-10-06 21_50_40-Dbf.jpg (65.1 KiB) Viewed 4220 times
Manpower.jpg
Manpower.jpg (90.71 KiB) Viewed 4220 times


Manpower2u.rar
(311.9 KiB) Downloaded 317 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Project Free HRD & Payroll Application

Post by Javier Tovar »

danielmaximiliano wrote:Hi Agil , ManPower.dbf not found , missing in .rar file
+1
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: Project Free HRD & Payroll Application

Post by Agil Abdullah »

Hi friends...

About MANPOWER.DBF MANBACK.DBF MANBIO.DBF you must take them from my first attachment dated 3-10-14.

I don't include them with second attachment because there are no changes with the 3 DBF.

Thanks
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Post Reply