Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Ru:PHP Editors / IDE for TYPO3

From TYPO3Wiki
Jump to: navigation, search

Существует множество способов разработки под TYPO3. Эта страница пытается собрать различные подходы, их сильные и слабые стороны. Имеется список рекомендаций для правильной настройки для работы с ядром TYPO3 (NOTE: эти рекомендации являются частью "Руководства по кодированию для TYPO3 v4".

IDE идут в алфавитном порядке.

notice - Reviewer needed

Change the {{review}} marker to {{publish}} when all parts are reviewed (e.g. TypoScript). info

Aptana

Download page http://www.aptana.org/studio/download
Type OpenSource
Platform Windows, Mac OS X, Linux

Strengths

Weaknesses

  • very slow
  • ...

Eclipse + PDT

Download page http://www.eclipse.org/pdt/downloads/
Type OpenSource
Platform Windows, Mac OS X, Linux

Strengths

  • Very complete, supports a huge number of languages and more (UML, etc.)
  • ...

Weaknesses

  • Very slow
  • Unwieldy user interface

Recommended setup

Open Eclipse preferences. In the “General”, “Editors”, “Text editors”:

  • clear “Insert spaces for tabs”
  • check “Show print margin” and set “Print margin column” to 80

To clear trailing whitespace on save, install “AnyEdit” Eclipse plugin (find it on the Internet using your preferred search engine). Then in “General”, “Editors”, “AnyEdit tools” check two options: “Remove trailing whitespace” and “Convert tabs <-> spaces”. Also select “Spaces to tabs”.

In the “General”, “Workspace” set “New text file line delimiter” to “Other” and “Unix”.

Komodo IDE

Download page http://www.activestate.com/komodo/
Type Commercial, $295 USD
Platform Windows, Mac OS X, Linux

Strengths

  • ...
  • ...

Weaknesses

  • ...
  • ...

Recommended setup

In the Komodo IDE preferences select the “Editor” parameter group and from there select “Indentation”. Set options as follows:

  • Auto–indent style: Use Smart Indent
  • “Prefer tab characters over spaces” should be checked (in “Indentation” and “Language settings”/”PHP”)
  • “Number of spaces per indent” is set to 4
  • “Width of each tab character” is set to 4

In the “Smart editing” group set “Show edge line / Highlight characters beyond edge line” and enter “80” in the “Eddge line column”.
In the “Save options” group set “Clean trailing whitespace and EOL marker”.
In the “New files” group set “Specify end-of-line (EOL) indicator for newly created files” to “Unix (\n)”.

Netbeans

Download page http://netbeans.org/downloads/
Type OpenSource
Platform Windows, Mac OS X, Linux, Solaris

Strengths

  • FTP support (Remote Projects)
  • All-In-One package
  • Fast
  • JavaScript code completion (cool for ExtJS...)
  • CSS code completion, integrated editor

Weaknesses

  • Average code-completion
  • No mixed charsets in one project (so e.g. usage of UTF8 language files and Latin1 PHP files in one project is not possible - all files will be opened as in project setup defined, that leads to special characters wrongly displayed and saved)

Recommended setup

Open the NetBeans preferences, move to the “Editor” preference panel and choose “Formatting”. Set options as follows:

  • From the menu “Category”, choose “Tabs And Indents”
  • Make sure the “Expand Tabs to Spaces” box is not checked
  • Set “Number of Spaces per Indent” to 4
  • Set “Tab Size” to 4
  • Set the “Right Margin” to 80

phpStorm

Download page http://www.jetbrains.com/phpstorm/
Netbeans PHP Blog http://blogs.jetbrains.com/webide/
Type Commercial, personal license $99, free license for Open Source project core members and for education
Platform Windows, Mac OS X, Linux

Strengths

  • Very clever code analysis
  • Incredible search feature (go to class, go to file feature with suggestions)
  • Good integration with version-control systems (even several VCS within the same project)
  • Fast
  • Very flexible code formatting options

Weaknesses

  • ...

Recommended setup

phpStorm has a lot of options, in particular for code formatting. As such it is impossible to list them all. Instead here is a sample configuration file:

File:Standard.xml

Waterproof PHPEdit

Download page http://www.phpedit.com/en/download/download-latest-versions
Type Commercial, € 89
Platform Windows

Strengths

  • ...
  • ...

Weaknesses

  • ...
  • ...


Zend Studio

Download page http://www.zend.com/en/products/studio/downloads
Type Commercial, € 399
Platform Windows, Mac OS X, Linux

Strengths

  • Based on Eclipse, shares the same strengths and weaknesses
  • Excellent integration with ZendServer

Weaknesses

  • Based on Eclipse, shares the same strengths and weaknesses