Magento

Magento is an open-source CMS that gives business owners the opportunity to expand their activities in the e-commerce world. It is a powerful system, flexible, scalable, and easy to customize. Magento operates by MySQL as a database and PHP programming language and also has Zend Framework elements. The program uses object-oriented programming, the Model-View-Controller (MVC) architecture. For data storage, the entity-attribute-value (EAV) model applies.

[Note]Note

Magento plugin is only available in CodeLobster IDE Professional.

CodeLobster IDE integrates with Magento so you can use it from inside the IDE. Magento support includes the following features:

Creating a Magento project

If you have no application yet, you can generate a CodeLobster IDE project with Magento - specific structure from a template. Magento plugin has the wizard that helps you to get and install the latest official framework release.

To create a Magento project:

  1. Choose File | New | Project... main menu item. Select Smarty framework item in the opened dialog.

    or

    Select Project | Magento | Create project main menu item

  2. Define project location, name and project URL for debugging.

    [Note]Note

    If you enable Create project in a new folder option CodeLobster IDE creates a subfolder with the project name.

  3. Click the OK button.

  4. Define database parameters:

    • Database name - the name of the MySQL database where your project data will be stored.

    • User name - used to connect with MySQL server.

    • User password - used to connect with MySQL server.

    • Root login - used to create a MySQL user.

    • Root password - used to create a MySQL user.

  5. Click the Next button.

  6. Specify some advanced database options:

    • Database host - specify a host name, if your database is located on a different server.

    • Database port - specify database port, if it runs on a non-standard port.

    • Table prefix - provide a unique prefix for each installation to store multiple Magento installations in one database.

  7. Click the Next button.

  8. Enter information for administrator account:

    • Administrator login

    • Administrator password

    • Administrator email

    • First Name

    • Last Name

  9. Define Project URL - base USR for debugging.

  10. Click the Finish button to create Magento project.

Magento IntelliSense

CodeLobster IDE provides IntelliSense for Magento, which helps you write code more quickly and efficiently. IntelliSense saves you time by putting what you’re most likely to use at the top of your completion list. IntelliSense suggestion box includes SOAP API version 1 and version 2.

The suggestion list of the automatic completion appears as soon as you start typing. Pressing Tab or Enter will insert the selected item. You can trigger IntelliSense in the Editor window by pressing Ctrl + Space or using Edit | IntelliSense | Autocomplete main menu item.

Tooltips for Magento

Hover mouse for tooltips that includes descriptions for Magento methods. Tooltips appear automatically when you hover the pointer over a method or some other element.

Magento context and dynamic help

The Dynamic Help window allows opening help topics automatically for an element when the pointer is placed on. Magento plugin uses the http://devdocs.magento.com/ for a quick search for relevant information.

To get help topics using Dynamic Help:

  • Place the pointer on the target element and press the F1 button.

  • Select Help | Context Help main menu item.

  • Click the topic item in the Dynamic Help window.

    [Tip]Tip

    To show Dynamic Help select View | Panels | Dynamic Help main menu item.