Articles tagged 'php'

Zend Framework + Whoops (php errror for cool kids)

Posted by Peter
tags: php zend framework

In Zend Framework you can easily set a controller and action for error handling. In fact there is always default set for you. There is also default template. But what if you’d like to use something more sophisticated, let’s say.. nicer looking or better...

Zend Framework 1 and Composer

Posted by Peter
tags: php zend framework

Recently I found out, that Zend Framework 2 fully supports Composer - gem like package manager for PHP. But I couldn’t find a way to use it with Zend Framework 1 because of it’s default ZendLoaderAutoloader behavior. I really wanted to use it so I...

Zend Framework: checking if user is logged in

Posted by Peter
tags: php

In most of applications user should be authenticated in order to access it (or maybe some parts, like admin panel). Again, in most cases it will be some kind of mechanism performing authentication against database or some kind of other storage.


Zend Framework: options config file

Posted by Peter
tags: php zend framework

Zend Framework series #1

How to use options from additional config ini file? Pretty easy actually :)

  1. create new file in application\configs directory. Name it something like extra_parameters.ini

  2. you can place here any type of options and I mean...

Konwersja statycznej strony HTML do Wordpress

Posted by Peter
tags: php strony www

Coraz częściej pojawia się potrzeba konwersji działającej, statycznej strony napisanej w czystym HTML'u lub za pomocą prostych skryptów PHP, do postaci bardziej skomplikowanej, ale dającej dużo większe możliwości. Mam tutaj na myśli systemy CMS ( Content...

Instalacja Symfony Framework - Debian

Posted by Peter
tags: debian linux php symfony

Postanowiłem spróbować szczęścia z Symfony na moim serwerze z systemem Debian Linux, ale okazało się, że to nie jest takie proste. Stąd pomysł, żeby to opisać dla potomnych :)

Założenie: używam Symfony w wersji 1.2 oraz ORM Doctrine, a nie Propel

We are using cookies to provide statistics that help us give you the best experience of our site. By continuing to use the site you are agreeing to our use of cookies.