outline for php application