Blesta version 6 has been released! Read More.
All posts
Developer Corner 2008-11-04 · Cody · 1 min read

New Standards for Developers

Blesta 2.0 introduces two developer standards: no PHP short tags and XHTML Strict templates, plus template versioning that flags incompatible templates in the admin area.

In an effort to increase future compatability with both browsers and PHP environments we’ve introduced two new standards in the Blesta 2.0 release.

Out with the old, in with the new. PHP short tags are out – That means all PHP code must be enclosed in rather than XHTML Strict is in – All templates (.pdt files) must conform to the XHTML Strict standard (see w3c.org for more informationon on XHTML). What does this mean for me? When submitting templates, modules, gateways, or add-ons be sure to follow the above convention to ensure your contributions will be accepted into a future release of Blesta. If you don’t plan to contribute or distribute your work then of course you need not abide by these standards. Another addition to template creation is the introduction of template versioning. Each template directory will now contain a text file containing the version number (of Blesta) that the associated template files are compatible with. This will allow developers to ensure compatibility with specific versions of Blesta. The backend will still allow older templates to be selected in the Admin area, but will mark each outdated template with “(incompatible)”.

30-day free trial · No credit card · Your server

Read enough. Run it.

Everything on this blog ships in the box. Full product, free for 30 days, on your own server.

Download  6.0.0