Skip to content

0.4.0 - I engineer

Latest
Compare
Choose a tag to compare
@ScreamingDev ScreamingDev released this 03 Oct 19:15
· 13 commits to master since this release

Until now the extension DevMode was only a time saver for developer but now it can also be a helpful tool for designer. Because this time a toolbox has been added to the frontend, which let's you easily navigate between the front and backend.
To make it even more comfortable you can now auto-login to the backend without any need of password or something.

For a quick overview read the changelog.

Install or use it via modman:

modman init . && modman clone [email protected]:sourcerer-mike/magento-devMode.git

or via Composer:

{
    "require": {
        "lemike/devmode": ">=0.4.0"
    }
}

Toolbox

The Toolbox will reside in the frontend and is dragable so you can look behind it if needed.
It is filled with some options related to the module, controller or action you are watching.

Toolbox

As you can see it shows which shop, module, controller and action is used - very handy.

Links that will be everywhere:

  • Clear the cache with just one click
  • List the used layout handles
  • Show what events have been dispatched and which observer fetched them
  • Enable / Disable Inline-Translation
  • Open the according Controller-File in your IDE
  • Or jump right at the point where the used action is defined

Others that only appear on such pages:

  • Catalog
    • Category
      • Jump to the current category in the backend
    • Product
      • Edit the product you see in the backend (direkt link)
  • Cms
    • Link to edit the current page in backend

General

New notifications

Notifications will warn you if the extension has no possibility to work correct or other issues.
Sometimes classes are already rewritten.

Notifications

Auto-Login into backend

If you work local then it could help to login automatically to the backend.
Choose which user you want to be in the configuration:

"System" > "Config" > Developer > General

Core

Config

Find new possibilities in the menu "Development" > "Core" > "Config".

Cron Jobs

In the backend you can see the current CronJobs from activated and registered modules.

See Crontabs in "Development" > "Core" > "Config"

See all observer and events

See which observer will handle what event.

Development > Core > Config

Additional tricks

Shell Tools

The shell tools are about to change. There will be only one PHP file and a subfolder with every possible command you can run. It will look like php devmode.php core store list and quit polluting your shell folder with plenty files.

See Magento CronJobs

$ php coreConfig_listCron.php

            Alias           |  Expression  |            Class            |      Method       |
----------------------------+--------------+-----------------------------+-------------------+-
core_clean_cache            | 30 2 * * *   | Mage_Core_Model_Observer    | cleanCache        |
log_clean                   |              | Mage_Log_Model_Cron         | logClean          |
captcha_delete_old_attempts | */30 * * * * | Mage_Captcha_Model_Observer | deleteOldAttempts |

     Alias: Node in the config.xml
Expression: When to run
     Class: Used class
    Method: Method to run

A list of all stores

% php devmode.php core store list                                                                         
ID |  Code   | Website | Group |  Name   | Active | 
---+---------+---------+-------+---------+--------+-
1  | default | 1       | 1     | English | 1      | 
3  | french  | 1       | 1     | French  | 1      | 
2  | german  | 1       | 1     | German  | 1      | 

Why "I engineer"? Animotion - I Engineer
Every release is an music title and this is truly for front-end engineers.
(see the others for more music)