astutetechnp / pos Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mmehmet/pos
PHP/Javascript based POS tool with basic inventory management
This project forked from mmehmet/pos
PHP/Javascript based POS tool with basic inventory management
Version 1.0 This is the preliminary proof-of-concept I slapped together for a PHP-based Point Of Sale system, with inventory management. This version uses XML for both inventory and sales records and MySQL for username/password processing. Depending on the application, it can easliy be modified to use MySQL for everything but I found it simpler here to process (plaintext) XML files - there are also log files which are updated when a user logs in, logs out, interacts with the inventory, or makes a sale - basically everything is logged and timestamped... You need to pay close attention to the file permissions on those logs, for (hopefully obvious) security reasons. Most of this code was revised into a much more OO version for deployment, allowing for someone else to come in and easily make modifications, as required. I uploaded this version as a starting base, for anyone else interested in developing such a system. I'm sure I have a copy of the OO version somewhere - once I find it I will push out an update organised into a nice MVC (Zend) framework. For testing purposes, here are details of the MySQL table used for logging in: table: pos_users FIELD | TYPE | USEFUL TO KNOW user_login | char(1) | username for login - 10char limit, UNIQUE flag user_password | varchar(160) | password for login - stored as whirlpool hash with 8-char salt user_access | varchar(5) | user accress groups - can be "front" or "back" or "full" user_name | varchar(30) | human-readable NAME of user user_email | varchar(64) | email address (not used in this version) user_creation | timestamp | CURRENT_TIMESTAMP (probably could be deprecated) user_lastaccess | varchar(30) | UNIQUE flag, the php updates the timestamp here at login with date() user_num | int(1) | PRIMARY index, UNIQUE flag, auto_increment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.