php / js CRUD application for managing orders and comodities in a store