Today I have found an interesting code snippet with changing layout of radio buttons using only css. Snippet is available on codepen. All code and view is available on the codepen. However I put a code snippets here in case
Leverage Browser Caching – .htaccess solution
Fetching resources over the network is both slow and expensive: the download may require multiple roundtrips between the client and server, which delays processing and may block rendering of page content, and also incurs data costs for the visitor. All
AngularJS – custom currency formatting
AngularJS have a bunch of filters which allows us to format data for our needs. However we would like to have more flexibility sometimes. In one of my last projects I need to have flexible formatting for currency values. I
Multilevel numbering for ordered lists
Usually we use quite plain structure of content on the website. Sometimes we have to point out some paragraphs on the website. If the structure is not complicated we can use unordered lists ul or ordered lists ol. Let’s think
Zend Framework 2: DB queries with multiple or/and conditions
Database queries usually are quite simple, but sometimes we have to build more complex queries. Let’s have an example We do have a search form where user can select one or many colours of product and one or many sizes.
PHP 7 Upgrade – free e-book
PHP7 will be released soon and many of us would like to get more knowledge about new version. Also it would be good to start prepare your PHP-based applications to work with the new version. Davey Shafik wrote an e-book
Vertical alignment of content inside div
If you have a dynamic content on your page, sometimes is the case to align this content vertically in the div container. As you know, this could be painful. However with this short CSS styling you can reach this goal
Hide element on click outside or Esc press
Today I will present short code snippet in jQuery which will can be used to hide element on website by clicking outside of it. This snippet could be used ie. to present any information in popoup which should be visible
Zend Framework 2 – implementation of session authentication timeouts
Zend Framework 2 has implemented session mechanism which works quite well, but there are few missing features. One of this features are good handling of session timeout extension. The case User logs in at 10:00 AM. Authentication feature (based on
sgCounter – jQuery plugin which supports length control in form fields
sgCounter is a tiny jQuery plugin which allows live control of your text fields in form. This plugin works with input text fields and textarea fields, which contains appropriate attributes set. It is also a visual friendly, because information about