Monthly Archives: January 2010

Using Zend Framework validators – Zend_Validate_Db_RecordExists

What are validators? In very very breve these are methods which can validate some data, usually user input, against some specific rules. Imagine there’s a web form that is always checked for empty fields or some fields that may contain … Continue reading

Posted in zend framework | Tagged , , , , , , , , , , , , , | Leave a comment

CSS default position value

position:absolute? Recently I was working on a problem where some DOM elements inherited the absolute position from their ancestors. Well this is pretty rare, but however it happens from time to time. If you’re wandering, as I was, how to … Continue reading

Posted in css | Tagged , , | Leave a comment

YouTube and Vimeo goes HTML5 with video tag usage! Catch them up!

What better example than that coming both from YouTube and Vimeo. Although video tag is not supported except under Safari and Chrome, that’s the future everyone’s going to embed sooner or later. And if these “big players” are going that … Continue reading

Posted in web development | Tagged , , , , , , , , , , , , , , | Leave a comment

Zend_Date – make it work and benefit with locales

Although the documentation of Zend Framework is one of the most well structured documentation I’ve ever read it happened to me to stuck into it. And that happened exactly when I tried to use the date component of ZF – … Continue reading

Posted in zend framework | Tagged , , , , , , , , , , , | Leave a comment

Array merge in JavaScript

What makes array to merge in JavaScript? Actually there aren’t so many array functions in JavaScript. As you know you can join, sort, etc. which methods are pretty basic. What I’d like to do is something similar to PHPs’ array_merge … Continue reading

Posted in javascript, micro tutorial | Tagged , , , , , , , | 1 Comment