¡@

Home 

php Programming Glossary: invasive

PHP - Implement logging mechanism to file in several classes

http://stackoverflow.com/questions/18673941/php-implement-logging-mechanism-to-file-in-several-classes

two major use cases for use of loggers within your code invasive logging For the most part people use this approach because it.. the easiest to understand. In reality you should only use invasive logging if logging is part of the domain logic itself. For example.. with payments or management of sensitive information. Non invasive logging With this method instead of altering the class that..

Creating a shopping cart price rule in Magento automatically

http://stackoverflow.com/questions/2798069/creating-a-shopping-cart-price-rule-in-magento-automatically

inserts the rule directly to the database. That's a bit invasive for my tastes. How would I go about this using Magento methods..