Featured Post

[PL] Święto pracy i 10 rocznica obecności Polski w Unii Europejskie

Mamy dziś Święto Pracy lub Międzynarodowy Dzień Solidarności Ludzi Pracy, popularnie zwany 1 Maja – międzynarodowe święto klasy robotniczej, obchodzone od 1890 roku corocznie 1 maja. W Polsce Święto Pracy jest świętem państwowym od 1950 roku. W tym roku zbiegły nam się daty i obchodzimy...

Read More

Integrating FirePHP with Zend Framework 2

Posted by Tomasz Kuter | Posted in Programming, Web development | Posted on 22-03-2013

Tags: , , , , , , , , , , , , ,

1

In this post I will show you how to easily integrate FirePHP – Mozilla Firefox extension with Zend Framework 2. FirePHP enables you to log to your Firebug Console using a simple PHP method call. All data is sent via response headers and will not interfere with the content on your page. FirePHP is ideally suited for AJAX development where clean JSON and XML responses are required.

General information

At the beginning some basic notes:

So download server side version and unpack the archive.
Find the FirePHPCore inside and copy it to /vendor/firephp directory.

At this step you should have FirePHP.class.php in the /vendor/firephp/FirePHPCore/.

Now rename FirePHP.class.php to FirePHP.php.

Once you successfully installed FirePHP extension in Mozilla Firefox you can get to next step – setting up the Zend\Log in our tutorial application.

Mozilla Firefox addons

Posted by Tomasz Kuter | Posted in Internet browsing, Web development | Posted on 15-03-2013

Tags: , , ,

0

Many of you probably use Mozilla Firefox, I can’t imagine that you haven’t heard about that browser at all. What I want to speak about is Add-ons, by big A, because add-ons themselves are the biggest feature and power of the Firefox.

I will focus on the two kind of add-ons:

  • Must have – as I describe add-ons, which normal Firefox user should have,
  • and web development add-ons, which every Web Developer should use in his/her work.

Must have extensions

First of all, I would like to mention about Adblock Plus, which of I was talking in older post. IF you won’t like to see insistent ads – just install Adblock Plus. Very helpful is also Element Hiding Helper for Adblock Plus.

Next one is Tab Mix Plus, which has the biggest number of options relating to tabs and session. If you would like for instance open new pages in new window from the address bar or search bar (not loosing currently opened page) – just install this extension.

Last one of the normal add-ons is Better Privacy. If you want to keep your presence in Internet more anonymous – it is perfect choice for you.

Full list of my must have add-ons you will find at the end of this post.

Web Developer extensions

Second list of extensions is Web Developer add-ons.

I will encourage all people concerned on creating web sites to use following extensions:

  • Web Developer – many useful features helping web developers,
  • Yslow – great tool released by Yahoo for profiling and optimising websites to speed up the page loading,
  • Page Speed – another website profiler created by Google,
  • Firebug – a must to have extension for web developers and webmasters,
  • FirePHP – if you are PHP developer – you will start using it and will never know why you haven’t been doing it before!
  • SenSEO – helpful if you would like to make some SEO optimisation of the websites you are involved with,
  • HttpFox – advanced tool for HTTP requests investigation.

The list of all add-ons I am using you can find below: