Zend Architecture optimal use in website -
i have site needs user side , admin side.
i can create 2 index files(dispatch) 1 each. site/index.php , site/admin/index.php. both side use same zend library , models. other things (controller,view,layout etc...) separate. application/controllers , application/admin/controllers
or can use admin panel module .
which best. may need change path of admin panel may site/xyz/something/admin , may need specific work admin side.
now zend library class should use following concerns.
- date validatation , verification ( server side checks)
- sql injection ( use of '?' in sql select/insert/update statement instead of putting variabledirectly)
- url encryption
- url rewrite ( zend routes best 1 this)
- file uploading
- html forms (use zend forms have in build in feature validation not usefull in cases. prefer use form tags directly)
advise on , suggest if have more ...
- zend_validate_date
- zend_db_adapter_abstract::quote
- zend_view_helper_url
- zend_controller_router_abstract
- zend_form_element_file
- zend_form has problems, flexible. know can handle complex layout rendering each element separately : http://weierophinney.net/matthew/archives/215-rendering-zend_form-decorators-individually.html
Comments
Post a Comment