Zend_Validate

Thomas Weidner’s Blog: Translation resources

One of most common questions about Zend Framework I hear is availability of Zend_Validate translations. Developers wonder why there is no single resource of all Zend_Validate error messages. Well, there is now. Thomas Weidner is working on creating such resource.

So I created translation resources for Zend_Validate’s error messages. For now you can find them within the Incubator. Look into /incubator/resources/translate/en/Zend_Validate.php. Use the Array Adapter to load them. You can already find pre-translated messages for english (of course) and german.

Although it is still unofficial, it should be already very helpful for everyone working on developing applications supporting multiple languages.

Thomas Weidner’s Blog: CreditCard validation

Thomas Weidner informed on his blog about new Zend_Validate component.

Zend_Validate_CreditCard is a component which can validate creditcards. When you are an expert ZF user then you may probably note that there was already a Zend_Validate_Ccnum validator.

New validator is much more flexible. It supports not only offline validation of multiple institutes, but also lets you plugin in your own validator. This way you can add online validation support or any other validation rules.

New filters and validators

Zend Framework 1.10 development is moving forward. Last week Thomas Weidner published on his blog news about filters and validators added in Zend Framework 1.10:

Sounds like some of us can throw away our own code and switch to new, official filters and validators. Keep working hard Zend Framework team and soon we won’t have anything to do except for using Zend_Tool and running tests.

Thomas Weidner’s Blog: Validating Emails Part2

In his recent post about validating e-mails Thomas Weidners shows that he did not put final dot yet. He has added few interesting features to e-mails validation class of Zend Framework.

Now with ZF 1.10 you can do a deep nested detection. This means that not only the MX record, but also the A, AAAA and A6 records are used to detect a mail server. These records can be used by a mail server as replacement for the MX record.

Read about other enhancements on Thomas Weidner’s blog.

by Wojciech Szela on September 14, 2009 in News, No Comments »
tags: ,