Featured Post

How to copy many files with certain mask under Linux?

This time I would like to share solution for the problem described in the title of this post: how to copy many files with certain mask under the Linux Operating System. Background Let’s say I have 200 files with following types: <number>_400x300.<extension> – e.g. 534_400x300.jpeg, <number>_300x90.<extension>...

Read More

Responsive web design

Posted by Tomasz Kuter | Posted in Internet browsing, Web design, Web development | Posted on 06-04-2013

Tags: , , , , , , , ,

0

Introduction

Yesterday I was watching nice video about top 5 Web UI Design Trends for 2013. In this video Mike Locke discusses about his Top 5 Favourite Web UI Design Trends for 2013 that web designer should be thinking about incorporating into her or his design work.

The showcast is available at:
http://www.mlwebco.com/2013/03/12/my-top-5-favorite-web-ui-design-trends-for-2013/

He talks about following trends:

  1. Websites with Large Background Images,
  2. One-Page Designs,
  3. Websites with Textures and Patterns,
  4. Responsive Web Design,
  5. Flat UI Design Inspiration.
Width: 320px (e.g. Motorola Flipout)

Width: 320px (e.g. Motorola Flipout)

Responsive Web Design

In this post I would like to focus on responsive web design – actually very popular because of high popularity of smart phones and tablets.

Responsive web design (RWD) is a web design approach aimed at crafting sites to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones).“
from Wikipedia.org.

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.

Writing DQL statements

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

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

0

Today I would like to focus on something, what Doctrine 1.x users know, but it looks a little bit different – Doctrine Query Language (DQL) statements.

In the last tutorial we had had working Album Controller, which was using Doctrine Entity Manager, to get the Album data. Now we will focus on something more advanced – writing SQL alike statements to get some data from the album’s table.

So lets begin…