Generating a new theme with Magento by using the default base theme
Magento is one of the best freely available ecommerce solutions available today. It also happens to be based off of the Zend Framework. Creating a new template is as simple as copying the default base theme install then modifying it to your liking. The theme system can get confusing as most external script and CSS [...]
Zend Framework – Moving your database connection outside of the application.ini file
Why would someone want to place their database connection settings within the unsecured application.ini configuration file? Why this is the default setting is beyond my own logic as it gives your users an open door to easily access and destroy your back office storage. Moving your database configuration settings to an external PHP file is [...]
Add Zend Framework full page cache to your bootstrap
Insert the function below into your bootstrap file. // full page cache protected function _initCache() { $dir = "location you would like to store cached pages"; $frontendOptions = array( ‘lifetime’ => 3600, ‘content_type_memorization’ => true, ‘default_options’ => array( ‘cache’ => true, ‘cache_with_get_variables’ => true, ‘cache_with_post_variables’ => true, ‘cache_with_session_variables’ => true, ‘cache_with_cookie_variables’ => true, ), ‘regexps’ [...]
Zend Framework User Authentication with Action Helper
What happens if you would like to use an authentication method for a chunk of controllers but would not like to replicate the code in each and every controller for your web development application? Zend Framework Action Helper to the rescue! Simply move your authentication code to an Action Helper then reference that helper in [...]
keep looking »
