Writing standalone EPOS system using PHP - possible?
Moderator: General Moderators
Writing standalone EPOS system using PHP - possible?
I need to create a prototype of a very specific EPOS (electronic point of sale) system - basically an app that will allow barcodes to be scanned in, update a database, interact with a printer to produce a receipt and open a cash drawer.
My main expertise lies in PHP, but only for web apps. Time is of the essence to get the prototype produced so my question is whether it is feasible to write such a thing in PHP. I guess it could basically still be a web app running under some local web server such as Apache. But I have no idea how I'd go about interacting with peripherals, printing, etc - not something I'd usually have to consider for a web app!
Is this likely to be more trouble than it's worth, or could it just be possible with PHP?
Jon.
My main expertise lies in PHP, but only for web apps. Time is of the essence to get the prototype produced so my question is whether it is feasible to write such a thing in PHP. I guess it could basically still be a web app running under some local web server such as Apache. But I have no idea how I'd go about interacting with peripherals, printing, etc - not something I'd usually have to consider for a web app!
Is this likely to be more trouble than it's worth, or could it just be possible with PHP?
Jon.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
I don't think PHP is going to be your problem because if you are building it client/server, and server side language would probably work. However doing what you want with a web client may be a challenge -- but hopefully not too much of one. If you can connect to the necessary supporting software you should be fine.
barcodes - The readers usually send a text stream to some device. It could be the keyboard or some other port. Once you get that connection sorted out you should be fine, but something has to poll.
open the cash drawer - If there is a software interface to this, then PHP could exec() that program to open the drawer. It is conceptually the same a ejecting a disc.
Good luck.
barcodes - The readers usually send a text stream to some device. It could be the keyboard or some other port. Once you get that connection sorted out you should be fine, but something has to poll.
open the cash drawer - If there is a software interface to this, then PHP could exec() that program to open the drawer. It is conceptually the same a ejecting a disc.
Good luck.
(#10850)
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
viewtopic.php?t=25369 may be of interest.
google is your friend
http://www.google.co.uk/search?hs=z39&h ... tnG=Search
http://www.google.co.uk/search?hs=z39&h ... tnG=Search
i removed it because this is now a copyrighted application. if you are going to use any of this code, please contact me first. Sorry, I should have made this clear when I removed the app originally from the forurm.
Anyways, if you need any help with it, let me know. I've spend the past 2 1/2 years developing it and redesigning it, so any issue you are going to run into I probably have a solution to.
Anyways, if you need any help with it, let me know. I've spend the past 2 1/2 years developing it and redesigning it, so any issue you are going to run into I probably have a solution to.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
I never saw the code and I am sure people will respect your request, but if you posted the code without a copyright or license then anyone who received the code then can probably do what they want with it.infolock wrote:i removed it because this is now a copyrighted application. if you are going to use any of this code, please contact me first. Sorry, I should have made this clear when I removed the app originally from the forurm.
(#10850)