PhpStorm 3.0 in Version 3 erschienen: Keep Your Code in Its Best Shape!

29. November 2011 at 14:56

oh phpStorm ist so eben in Version 3.0 erschienen, daher gleich mal installiert.

Hier die Änderungen im Überblick:

Hello from JetBrains!

Great news of the day:  PhpStorm 3.0 — a major upgrade of our PHP IDE — is out!

It brings many new features and improvements, reflecting several hundred of your votes in our issue tracker:

  • Smart Duplicated Code Detector to help you quickly find similar blocks of code through your entire code base and securely get rid of them without losing the intended functionality.
  • A new integrated UML tool allows you to quickly get a bird’s-eye view of your project structure, or even a semantic view of the changes in the recent VCS commits made by your colleagues.
  • To ensure that your code works fast and doesn’t cause any performance bottlenecks, the IDE now includes a profiler.

The key new functionality in PhpStorm 3.0 includes:

  • Smart Duplicated Code Detector
  • PHP UML diagrams
  • Profiling results browser for Xdebug and Zend Debugger engines
  • PhpUnit test runner is now fully compatible with PhpUnit 3.6
  • CoffeeScript support
  • Significant improvements to FTP/SFTP Sync
  • TFS support and revision graph for GIT
  • Streamlined UI across all operating systems

Read more about what’s new and download PhpStorm 3.0.

Also coming soon: WebStorm 3.0 – a lightweight, smart IDE for JavaScript, HTML and CSS! Expect CoffeeScript, Node.JS and JSLint.

Develop with pleasure!
JetBrains Team

Magento: WYSIWYG-Editor im Backend hinzufügen

14. November 2011 at 17:36

Bei neuen Attributen welche im Admin-Backend konfigurierbar sind, ist es bei Text-Feldern des Öfteren gewünscht ein WYSIWYG-Editor zu aktivieren.
Das geht wie folgt:

// Zu erst die Funktion <em>prepareLayout</em>der Elternklasse überschreiben
/**
 * Loads the wysiwyg editor on demand, if enabled.
 *
 * @return Mage_Adminhtml_Block_Widget_Form
 */
 protected function _prepareLayout() {
 parent::_prepareLayout();
 if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled()) {
 $this->getLayout()->getBlock('head')->setCanLoadTinyMce(true);
 }
 }
// danach die addField Methode des fieldset erweitern mit
 /*       'wysiwyg'   => true,
 'config'    => Mage::getSingleton('cms/wysiwyg_config')->getConfig()
*/
// Das Ergebnis sollte dann wie folgt aussehen:
$fieldset->addField('feld_name_text, 'editor', array(
 'name' => 'feld_name_text',
 'label' => Mage::helper('cms')->__('Name des Feldes'),
 'title' => Mage::helper('cms')->__('Name des Feldes'),
 'wysiwyg'   => true,
 'config'    => Mage::getSingleton('cms/wysiwyg_config')->getConfig()
 ));

Usability Optimierung: Die Produktsuche

4. November 2011 at 11:32

Im Conversion Doktor Blog wurde eine Google Analytics Auswertung einer Shopsuche durch geführt, und Hinweise zur Usability-Optimierung gegeben (z.B. wurde fest gestellt das sehr viele nach „Produktsuche“ suchen d.h. ist es sinnvoll dies als „default text“ im Eingabefeld zu setzen.