outline of php app