Zend Studio code formatter for Zend Framework

Updated: 2013-12-13 – Fixed links!

This is an excellent addition to you tools arsenal if you use Zend Studio and Zend Framework. Kudos to Ivo Jansh for publishing this!

Zend Studio is a great IDE and we use it a lot at Inviqa (in addition to NetBeans, PDT and Vim). One of the nice features is the code formatter that helps develop code according to agreed standards, which is useful to keep projects consistent.

One problem we have with the current versions of Zend Studio is that its default Zend Framework formatter is not consistent with the official Zend Framework coding standard. Luckily, that can be easily fixed. Sandy Pleyte, one of our developers, created a formatting file for Zend Studio that does adhere to the formal standard. There might be a few issues here and there but we’ve found it to work much better than the default one in Zend Studio. Because it might be helpful to others, we’re sharing the formatter file with anyone that’s interested. Download the file and read on for instructions.

 

Instructions

Download the above file to your desktop. Open the Zend Studio formatter preferences, which will give you the following screen:

Click the ‘import’ button and import the file that you’ve downloaded. Voila, your formatter now uses the Zend Framework official coding standards. If you find any issues with this formatter, please let us know in the comments below.

ATK formatter

If you use the ATK business framework, you might also be interested in the following formatter, which is similar to the ZF formatter but adds support for some of ATK’s coding conventions:

Have fun!

via techPortal.

Keeping your HTML valid with Zend Framework, Tidy and Firebug

Ryan Mauger wrote a good article on tidying things behind the scenes, during development, definitely worth a look;

With Zend Framework there is an easy way to ensure that you always create valid HTML in your applications. This involves the use of a simple Front Controller Plugin, and the php Tidy component.

Valid HTML is important for a great many reasons, the most important of which is ensuring consistency across all of your visitors browsers. The first step to making sure that your site appears correctly on all the browsers is to ensure that your HTML is valid. Even if the goons at Microsoft continue to ignore the standards and do their own thing, if you at least ensure your html passes validation, then fixing things for Internet Explo(r|it)er of all its versions is a far easier task, and usually possible with a few simple extra styling rules in your CSS.

via Ryan’s Blog.

Translate Toolkit & Pootle

This entry is part 1 of 1 in the series Translation Tools

I’ve got a whole lot of questions about what tools other than poedit that exists especially for teams, so I’ll start going through and try to review tools available and add them to the new Translation Tools article series.

I hope you’ll find this useful.

The Translate project provides tools to make it easier for you to localize. Tools that work with standards based file formats like PO and XLIFF because you deserve the best. Our goal is to make your life as a localizer easier, help you work faster and keep your work at a high quality.

Virtaal – Standalone CAT Tool

Demonstration of new features in the latest Virtaal release. Virtaal is an open source computer aided translation and localisation tool. You can read more about it at Virtaal. Virtaal aims to be simple to use for first time localisers yet powerful for experienced localisers. Features include translation memory from many sources, sophisticated searching, a simple and powerful navigation interface and more. The developers are aiming to include terminology support in the next release and make it easier to configure the translation memory and terminology plugins.

Pootle web-based translation tool

If you require team based the Pootle web-based translation tool and translation management solution might be what you want.

Check out:  Translate Toolkit & Pootle website.

Your Bookmarklets, On Steroids – Quix

Your Bookmarklets, On Steroids

Quix is an extensible bookmarklet, that allows you to easily access all your bookmarks and bookmarklets, across all your browsers, while maintaining them in only one spot. All you have to do is remember the shortcut for the bookmarklet, so, basically, it’s like a command line for your browser!

Quix comes with an enormous amount of powerful commands built in: check out the video below, or the first steps guide, after that, check out how to integrate it with your browser, and all the commands that are available by default.

via Your Bookmarklets, On Steroids – Quix.