¡@

Home 

php Programming Glossary: responsible

Error logging, in a smooth way

http://stackoverflow.com/questions/10331084/error-logging-in-a-smooth-way

emit an error. Also in addition to whatever the code is responsible for it also has responsibility for logging the error. This goes.. with any standard PHP installation Our code is no longer responsible for logging the error only making sure that it is raised . Using..

What is the right way to handle $_POST data in MVC?

http://stackoverflow.com/questions/13359818/what-is-the-right-way-to-handle-post-data-in-mvc

service instances between controllers and views. It is responsible for creation of services which would contain the application.. the user's request. But in this case controller becomes responsible for instantiation creation of said structure which would violate..

How to load classes based on pretty URLs in MVC-like page?

http://stackoverflow.com/questions/18727186/how-to-load-classes-based-on-pretty-urls-in-mvc-like-page

code it's obvious that you have a single class which is responsible the following tasks routing it splits the URL in parts that..

PHP form token usage and handling

http://stackoverflow.com/questions/2034281/php-form-token-usage-and-handling

SESSIONID either that again is handled for you. You are responsible for authenticating the user and storing their authenticated..

How should I ethically approach user password storage for later plaintext retrieval?

http://stackoverflow.com/questions/2283937/how-should-i-ethically-approach-user-password-storage-for-later-plaintext-retrie

me when they need assistance. I don ™t want to be the one responsible for their financial demise if my DB security procedures fail.. fail for some reason. Morally and ethically I feel responsible for protecting what can be for some users their livelihood even..

Understanding MVC: Whats the concept of “Fat” on models, “Skinny” on controllers?

http://stackoverflow.com/questions/3109715/understanding-mvc-whats-the-concept-of-fat-on-models-skinny-on-controllers

It should only contain code necessary for what it's responsible for. Simplified Example public function fooAction if isset _GET..

ACL implementation

http://stackoverflow.com/questions/3430181/acl-implementation

the target object which means that original object is not responsible for access control adheres to SRP when you get permission denied..

Sending a 404 error in PHP

http://stackoverflow.com/questions/437256/sending-a-404-error-in-php

gave me In addition to providing a 404 header PHP is now responsible for outputting the actual 404 page. share improve this answer..

How to write a REST API?

http://stackoverflow.com/questions/4973156/how-to-write-a-rest-api

work I only write views and controllers. Someone else is responsible for writing the model and usually the clients provide the web..

How should a model be structured in MVC?

http://stackoverflow.com/questions/5863870/how-should-a-model-be-structured-in-mvc

saved or retrieved. Data Mappers These objects are only responsible for the storage. If you store information in a database this.. Domain Objects but instead of business logic Services are responsible for interaction between Domain Objects and Mappers . These structures.. in MVC if you are not using MVP variation of pattern are responsible for the presentational logic. This means that each View will..

Architecture more suitable for web apps than MVC?

http://stackoverflow.com/questions/7621832/architecture-more-suitable-for-web-apps-than-mvc

how to render it and which templates to use. Controller is responsible for changing the state of both View and Model. MVVM Controller.. MVVM Controller is swapped out for a ViewModel which is responsible for the translation between View's expectations and Models's..

avoiding MySQL injections with the Zend_Db class

http://stackoverflow.com/questions/975009/avoiding-mysql-injections-with-the-zend-db-class

object of type Zend_Db_Expr then it's not quoted. You're responsible for SQL injection risks because it's interpolated verbatim to.. The where argument is not filtered at all so you're responsible for any SQL injection risks in that one. You can make use of..