Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi For PHP > Projects
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

Projects This Forum is dedicated to Open Source Projects, discuss, suggest, and be involved in the creation of web applications and components using Delphi for PHP.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 8th June 2009, 22:51
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Thumbs up Realty Accounting System in D4PHP

Yes, it can be done, I just finished all major coding for a commercial, full blown realty office accounting application on D4PHP, everything works, including a full text search across all columns of a grid, printing, saving and deleting with confirm dialogs, full DB maintenance and client side dbgrid selection which populates edit fields and tabbing works(thanks to great info found here), I don't want to post all the code until I can make a generic app, but if you are interested in code for a particular screen, just let pm me and I will be happy to share ....

The application is sort of a "Realty Quickbooks" customized for a client of mine, it adds accounts, verifies correct numeric entries, ties bank transactions to the accounts, and balances and reconciles the balance against the bank statement, all working nicely in D4PHP, I am proud of this oddball product !!








Last edited by AzureCrystal; Yesterday at 04:41. Reason: corrected typos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 8th June 2009, 22:51
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default








Last edited by AzureCrystal; Yesterday at 04:44.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 8th June 2009, 22:52
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default





Yes, it can be done folks !!

Last edited by AzureCrystal; Yesterday at 04:45.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 8th June 2009, 23:08
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default

I wanted to gratefully thank 405hp for all the gracious and excellent help, without his super tips and code examples on this board, I would have ended porting this into ASP.NET, THANKS 405hp !!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 30th June 2009, 09:48
D4PHP User
 
Join Date: Jan 2009
Posts: 13
mk_common is on a distinguished road
Default how to create me

how i can create a menu

i have 2 php files

customer.php
product.php

i have created a menu name "Data Entry"

under Data Entry 2 sub items

// what should i write to execute the customer.php
1. Customer Master
// what should i write to execute the product.php
2. Product Master

if possible please send me your menu form at mk_common@yahoo.com


warm regards,
mk.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 30th June 2009, 10:39
delphi-php's Avatar
Forum Admin
 
Join Date: Mar 2007
Location: London, UK
Posts: 599
delphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond reputedelphi-php has a reputation beyond repute
Default

That's fantastic stuff AzureCrystal!! Thanks for sharing your success story, your application is an inspiration to us all and renews all our hopes for Delphi for PHP

Obviously you do not want to release your commerical code, but it would be great in the future if you could release a watered down version so other users can see how you did it.

Thanks for sharing and well done!!
__________________
Don't forget to add to a users reputation if they have helped you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 30th June 2009, 14:14
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default

Will email you the code, hope this helps !
Quote:
Originally Posted by mk_common View Post
how i can create a menu

i have 2 php files

customer.php
product.php

i have created a menu name "Data Entry"

under Data Entry 2 sub items

// what should i write to execute the customer.php
1. Customer Master
// what should i write to execute the product.php
2. Product Master

if possible please send me your menu form at mk_common@yahoo.com


warm regards,
mk.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 30th June 2009, 14:20
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default

Thanks for the thumbs up, I would love to generalize(white label) this, that was always the plan, of course, if I ever get enough time to pop my head out my rabbit hole... This would be a nice D4PHP tutorial project !!! Maybe I just haven't thought of an easy way to make it generic, but time is my enemy...

BTW, I got the green light to write the companion application, which is a complete property management application that interfaces with this one(when people pay their deposits, rents, etc...), and I should have that one up here in about 3 weeks as well....

Quote:
Originally Posted by delphi-php View Post
That's fantastic stuff AzureCrystal!! Thanks for sharing your success story, your application is an inspiration to us all and renews all our hopes for Delphi for PHP

Obviously you do not want to release your commerical code, but it would be great in the future if you could release a watered down version so other users can see how you did it.

Thanks for sharing and well done!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 30th June 2009, 14:33
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default

Firs thing to do is when you add the menu items in the property inspector, you have to assign each menu item a TAG number, then just add this code to the menu's click event, to redirect to the different forms. In my case I have 13 forms, so for each form you would have a case statement which redirects to the appropriate form. NOTE: you could also use the redirect() call, I'm not sure what the difference is, but that would seem more D4PHP centric to use...

PHP Code:
       function MainMenu1Click($sender$params)
       {
            switch (
$params['tag']) {
            case 
1:
                
Header("Location: addAccount.php");
                break;
            case 
2:
                
Header("Location: modifyAccount.php");
                break;
            case 
3:
                
Header("Location: viewAccount.php");
                break;
            case 
4:
                
Header("Location: viewOpenAccounts.php");
                break;
            case 
5:
                
Header("Location: selectAccount.php?caller=Deposit");
                break;
            case 
6:
                
Header("Location: selectAccount.php?caller=Payment");
                break;
            case 
7:
                
Header("Location: selectTransaction.php?caller=NSF");
                break;
            case 
8:
                
Header("Location: selectTransaction.php?caller=Void");
                break;
            case 
9:
                
Header("Location: clearChecks.php");
                break;
            case 
10:
                
Header("Location: clearDeposits.php");
                break;
            case 
11:
                
Header("Location: balanceAccount.php");
                break;
            case 
12:
                
Header("Location: selectAccount.php?caller=recordFee");
                break;
            case 
13:
                
Header("Location: selectAccount.php?caller=recordInterest");
                break;
            case 
99:
                
Header("Location: HomePage.php");
                break;
            }
       } 
Quote:
Originally Posted by mk_common View Post
how i can create a menu

i have 2 php files

customer.php
product.php

i have created a menu name "Data Entry"

under Data Entry 2 sub items

// what should i write to execute the customer.php
1. Customer Master
// what should i write to execute the product.php
2. Product Master

if possible please send me your menu form at mk_common@yahoo.com


warm regards,
mk.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 30th June 2009, 14:35
AzureCrystal's Avatar
D4PHP User
 
Join Date: Jun 2007
Location: West Palm Beach, FL, USA
Posts: 65
AzureCrystal is on a distinguished road
Default menu form

Also attached is an actual form with the menu component and the calls...
Attached Files
File Type: php HomePage.php (2.2 KB, 37 views)
File Type: php HomePage.xml.php (7.4 KB, 23 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 23:57.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use