Getting started with PHP templating

Recently in Smashing Magazine I published the article about templating in the PHP:

In this article, we’ll cover how to separate the view of your PHP application from its other components. We’ll look at why using such an architecture is useful and what tools we can use to accomplish this. Here’s what we’ll cover:

  1. Learn some basic MVC concepts,
  2. Review some popular templating libraries,
  3. Play around with a small custom-made view class.
  4. Explore the basics of using the Twig library.

Click here to read the article.

Sample code for the article is available as a mercurial repository.

How to sue fraudulent internet auction seller (and win)

I invite all Polish-speaking visitors to check out my new website www.pozew-cywilny.pl (civil action/lawsuit under the Polish civil law), where I put my tips on how to sue fraudulent internet auction seller and win your money back (with interest). This tutorial is based on my true, successful story and features examples of official documents, ideas for investigation, etc.