Speeding up Drupal

Does Drupal feel sluggish? You probably feel the toll when logged in.

Test your site with a speedtest like Pingdom. It gives you a feel for how visitors will experience the site, speedwise.

If your admin section is feeling slow, try this:

Tags:

PhpStorm, Xdebug and zf2 on Ubuntu

After using Eclipse for over three years now, I've switched to PhpStorm. The ease of use and the small amout of time it took me te get the components from the title to work together makes this a no-brainer for me.

The version in de Ubuntu Packages was running a year behind, so I decided to install Xdebug from a git clone and build it from there.

Browser testing with browserstack

Browserstack lets you use a virtual machine with any browser you could ever need. A must have for every front-end developer. There is a free trial, check it out!

http://www.browserstack.com/

Styling the search box

This is a nice article about styling a search box. From time to time front-end developers all have get it done, this is a nice list of css styling options we can use.

http://www.kirupa.com/html5/creating_an_awesome_search_box.htm

Tags:

Ubuntu on a Mac

Without a dedicated Ubuntu workstation, I am using a MacBook Pro with VMware to do most of the serious development. I finally figured out the keyboard mapping (and I would like to keep them handy for future use). The mapping can be set in "System settings" -> "Keyboard Layout Options".

- Open "Alt/Win key behaviour" enable "Ctrl key is mapped to Win Keys"
- Open "Ctrl Key position" enable "Left Ctrl as Meta"
 

Drupal code snippets in wysiwyg editor

After searching for a way to do code snippets in wysiwyg/tinymce, I had to go for wysiwyg/ckeditor/geshi. The ckeditor had to be 3.x (4+ would not work with wysiwyg).

The Drupal modules needed:

The dev version of wysiwyg: http://drupal.org/project/Wysiwyg

The geshi filter module: http://drupal.org/project/geshifilter

The wysiwyg button: http://drupal.org/project/wysiwyg_geshi_button

Tags:

Suckerfish CSS Drop Down Menus in Drupal

Dropdown menus in Drupal the way I do it. By using the menu_block I am more flexible in how to display the menu. By using block_class I can reuse the css code without having to worry about the id drupal generates for the block.

Step 1. Install menu_block and block_class.

Step 2. Goto /admin/blocks and create a menu_block item with expanded children, a block classname "menublockmainmenu" and place where you like.

Step 3. Add css code.

Tags:

PHP Benelux 2013 in Antwerpen

My third visit to the PHP Benelux conference and it's always done way too soon.

I still have to work through the notes I made. A great conference!

Zend Framework dip

For a couple of days I was wondering if ZF2 wasn't needlessly over complicated. I read a quote from someone asking Matthew Weier O'Phinney if he thought Zend Framework 2 was over engineerd (Matthew's answer: No!).

So I started listing what I wanted in a framework and it did not take long for me to realise that ZF2 had all of that.

The feature I missed in ZF were customizable routes, this is a great feature. The rest might take some getting used to.

ZF2 first glance

Well, today it had to be done... digging into ZF2. It's nice to see the 5.3.x namespaces being used, I have not dared to use them myself, but ZF2 will give me the push I need. The zf commandline tool is something that will be missed. The tutorial for ZF2 is finished, that is a nice stepping stone to get going: http://zf2.readthedocs.org/en/release-2.0.2/index.html.

ZF2 will replace ZF1 as my starting point for web applications from now on.

Pages

Subscribe to Broen.nl RSS