Thomas Widner contributed another one Zend Framework component. This time it’s a boolean filter.
…another one of my new components has been moved to core… Zend_Filter_Boolean. You say that you don’t need this filter? You can simply cast to boolean? Let me describe you why you are wrong.
With this very flexible one is able to automatically filter boolean input data, with casting or without. The filter is very flexible and powerful, providing support for cases like yes/no/don’t know and localized natural language input.
Thomas Weidner contributed to Zend Framework new currency view helper.
Today the last missing sheep of my new Zend_Currency implementation has been moved to core. It’s the view helper for currencies which was missing. Zend_View_Helper_Currency. Together with the new Zend_Currency implementation it simplifies rendering for all using currencies within their application.
Zend_Currency component has been completely rewritten in Zend Framework 1.10. Thomas Weidner, author of new implementation, writes on his blog about new Zend_Currency features and gives few practical examples of component’s usage.
Zend_Currency is now able not only to render a currency but you can also calculate currency values with it. Several methods have been added to support you by this task. (…) As mentioned before Zend_Currency adds a new feature exchanging. This means that it allows to use Exchange Services. The idea behind is that there are several available online exchange services which can convert a currency into another. By using such a service Zend_Currency is able to convert currencies when needed.
Read the full story and see how new Zend_Currency component can help you in development of financial, e-commerce and similar applications.
Thomas Weidner contributed small but very important change to Zend_Validate_NotEmpty – compatibility with PHP’s empty() function.
Today I added a completly new implementation for the “not empty” validator.Zend_Validate_NotEmpty worked in past only the “framework” way. It detected whitespaces as empty and excluded ‘0′. This collidates with how PHP’s empty() works.
It looks like not much, but should make use of this validator more natural and will definitely limit a number of stupid bugs in everyone’s applications (remember PHP4 and PHP5 inconsistencies?).
Zend Framework’s barcodes validator has been recently re-engineered by Thomas Weidner.
You think it did already exist? Yes, and no. Let’s clearify a little bit.
The old implementation of Zend_Validate_Barcode did not work properly. It was fixed to EAN13 and UPCA and very limited.
I reworked it completly, added new features and a easy API.
It is now a base component for Zend_Barcode, a new component which provides you with the ability to print barcodes.
New validator brings not only API changes towards greater flexibility, but also 12 new standards and improved validation.