zend framework 1.x with some modification