RSS

Posts Tagged ‘PHP’

Smarty 3 extension for Zend Framework

Sunday, May 29th, 2011

Smarty 3 extension is easy to integrate and with full compatibility of view and layout templates which supports all standard features like modules and view rendering in ajax, json, xml. All helpers with Smarty 3 are working nicely without any intervention.

Features:

  • Layout and view rendering by standard rules
  • Static template path for each module
  • All helper support including ajax, json, xml contexts

[...]

Conditional-CSS

Tuesday, April 5th, 2011

Conditional-CSS was developed out of the desire to overcome CSS rendering bugs in a wide range of browsers, ensuring as many visitors as possible see your site’s design correctly. The core idea is based on the method of Conditional Comments found in Internet Explorer, extended to include other browsers, and to move the conditional statements inline with your CSS definitions.

Conditional-CSS isn’t really all that interested in which browser the user is using, but rather what rendering engine the user’s browser utilises. This is why Conditional-CSS uses ‘Gecko’ rather than the well known Firefox as one of it’s browser conditions. Likewise for Safari ‘Webkit’ is used. This allows other browsers using the same rendering engines to receive the same targeted CSS. An exception to this rule is made for IE (rather than using ‘Trident’) since this is what the IE conditional comments use and Trident isn’t particuarly well known. Similarly for Opera, since only the Opera browser uses it’s Presto rendering engine, ‘Opera’ is used.

It should be noted that if all browsers were to correctly implement the CSS specifications released by the W3C there would be no need for Conditional-CSS. However, CSS bugs are a fact of life for web-developers and are often extremely frustrating. Conditional-CSS offers us a simple solution to overcome these problems.

[...]

Ruby on Rails vs. PHP

Wednesday, January 26th, 2011

Critical vulnerability identified in PHP

Tuesday, January 25th, 2011

A critical vulnerability in the PHP engine has just been identified. This exploit is significant because most PHP applications on impacted systems are remotely exploitable to a very simple denial of service attack. Zend has released a security hotfix to address this vulnerability (see below).

Due to the way the PHP runtime handles internal conversion of floating point numbers, it is possible for a remote attacker to bring down a web application simply by adding a specific parameter to a query string in their web browser (click here for more information).

This vulnerability is present on all versions of PHP including PHP 4.x and 5.x, on all Intel-based 32-bit PHP builds.

Platform Vulnerability
Windows YES
Linux (using 32-bit PHP build) YES
Linux (using 64-bit PHP build) NO
Mac OS NO
IBM i NO

Zend Server and Zend Server CE users should immediately apply the security hotfix.

Which CMS should I use?

Monday, January 24th, 2011

Your sites look great, your CMS should too.

Not only does concrete5 break out of the “big form” model of managing content, it gives you a framework to use that keeps things nice. jQuery is built right in whenever you need it. You’ll find yourself enjoying your CMS’s interface – not fighting with it.

More about it here: http://www.concrete5.org/documentation/general-topics/