Archive for the ‘Frameworks’ Category

Custom Error Pages in Zend Framework

Any WEB application has to deal with situation when it has to replace the content of the page with content of the custom error page. In order to improve user experience it’s very important to give user meaningful error pages for each type of error. By default error handler in Zend Framwork handles limited number of errors. Approach and solution described here in my opinion allow to handle easily any unique case.

(more…)

Read the rest of this entry »

Benchmarking Applications and Frameworks

Slides from ZendCon 2011
(more…)

Read the rest of this entry »

Zend Framework: Storing Session in Database

Storing Session in Database is one of the ways to handle session data in the environment with multiple web servers. Even so the documentation about Zend_Session_SaveHandler_DbTable and Zend_Application_Resource_Session is available you still have to know a little bit more in order to use them. I ‘m going to reveal this little thing. Please let me know in comments if this post was helpful.
(more…)

Read the rest of this entry »

Creating Custom Grid in Blueprint CSS Framework

Blueprint is a CSS framework, which gives a front-end developer an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing. It uses Ruby-on-Rails to generate custom CSS files. That’s it. If you don’t like default grid you can create your own. In order to make your life easier I prepared step by step instruction how to create custom grid in CSS files using Blueprint CSS Framework. This is for windows users only. :P
(more…)

Read the rest of this entry »

Set maxlength on textarea tag

HTML tag textarea doesn’t have attribute maxlength. However, using JQuery we can setup limitation on number characters in text area
(more…)

Read the rest of this entry »

Zend Framework: Getting result set from Stored Procedure

(more…)

Read the rest of this entry »