xvoland / PHPTask

performance of technical specifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHPTask

Scenario task of Venditan.com and Gear4music.com

We need to build an order dispatch system, for sending out customer orders with one of a number of different couriers. At the start of a normal working day, a new batch will be started, and it will be closed at the end of the day, when no more parcels are going to be shipped. This is called the dispatch period. Each parcel sent out with a courier is called a consignment. Each consignment will be given a unique number - each courier will supply an algorithm for generating their own format of consignment numbers. At the end of each dispatch period, a list of all the consignment numbers needs to be sent to each individual courier. The method of data transport varies from courier to courier (e.g. Royal Mail use email, ANC use anonymous FTP).

What should produce:

Build a class structure to facilitate the implementation of the scenario set out above. Assume that your class library will be given to another developer at a later date to build the interface for the client.

The client interface will have three primary functions:

  1. Start new batch
  2. Add consignment
  3. End current batch

Screenshots of processes

batchmail.php interface

image

batchmail.php result of add/create batch "Start New Batch"

image

batchmail.php result of added for button "List Of Batches"

image

batchmail.php SQL record as a result

image

index.php main interface

image

index.php completed form for Batch with Id:1

image

index.php result of add record into database

image

index.php added record into database

image

About

performance of technical specifications

License:MIT License


Languages

Language:PHP 79.5%Language:HTML 20.5%