Magento PHP & HTTPD Timeouts
nginx
fastcgi_read_timeout
php-fpm
request_terminate_timeout
php:
max_execution_time
varnish:
.first_byte_timeout
.between_bytes_timeout
Related cards:
Magento Version History
Here is a table showing major changes over the Magento version history:
| CE | PE | EE | Year | Major Changes ...
Table Creation In Magento 1.6/1.11+
Magento CE 1.6 and PE/EE 1.11 introduced database abstraction, this is the way to set up tables using the new code.
$table = $installer->getConnection()
->newTable($installer->getTable('your_module/table_name_in_xml'))
->...
Magento Model Diagram
This is a high-level view of the Magento Model, Resource Model and Resource Collection Model structure
Magento Multi Database Guide
Handy link to a very useful PDF which details how to handle multiple databases in Magento.
Magento Extension Companies
A work-in-progress, this is a list of companies and thoughts about each.
Company | Type | Comments |
---|---|---|
AheadWorks | General | |
Mageworx | General | ... |
Nginx Virtual Store Subdirectories
Note - this article only applies to nginx and PHP-FPM!
If you want to have stores which are accessed via subdirectories as opposed to domain names, the standard method I've found is to make a directory with a copy of index.php
in it, using ...
Get Methods of Class
Yes, very dirty, but it works a treat! Save this file in your Magento root directory, then fire up a command line and run whatever.php Mage_Core_Model_App
(or some other class) and you should see the output.
Output looks like below:
$ ./cl...
Pretty Backtrace / Stack Trace
In app/code/core/Mage/Core/functions.php
Magento offers a function named mageDebugBacktrace()
which is nice, but I thought could be made nicer. This backtrace shows frame numbers, file names and line numbers, classes, methods and arguments whe...