In any web application development, there will be very high dependency on client-side scripts primarily including JavaScript and CSS. The MVC model of Zend Framework provides basic support of controlling the output that is sent across to the browser. The view helper classes in Zend Framework 2 offer maximum control over the content that gets rendered in the client browser.
In this chapter we will focus on building a simple group chat and e-mail component which will make use of various frontend capabilities of Zend Framework 2.0. Some of the important topics covered in this chapter include:
Using external JavaScript libraries in the Zend Framework 2 application
Implementing a simple group chat application using Zend Framework 2 and JavaScript
Using Zend\Mail to send e-mails
Introduction to the Zend Framework event manager