Socorro/SocorroUI

From MozillaWiki
Jump to: navigation, search

Socorro UI is the front end of Socorro, the Crash Statistics software used for Mozilla projects. It is written in PHP using the KohanaPHP framework; specifically it uses the outdated Kohana version 2.3.4.

Site Overview

Installation

Follow the Socorro installation docs in order to get your back-end and database installed and up and running. Once those steps have been completed, you may proceed by installing the Socorro UI.

Code

See the Socorro Code Repository for details and how to commit code to the Socorro project.

These documents are specific to code practices for Socorro UI:

Unit tests are not used in Socorro UI. We do, however, rely on Selenium tests for front end testing.

Future

We've put a lot of effort into rounding out the UI side of Socorro, which has included placing a good bit of logic into our PHP front end. We are currently using Kohana v.2.3.4 and at this time do not plan to upgrade to either Kohana 2.4 or 3.x. Instead of putting efforts into the UI, we plan to place all of our efforts around creating a stable backend infrastructure and increasing the functionality and availability of the Socorro middleware layer.

In the future, we're going to be focused on taking most of the logic out of the front end and putting it into the Socorro middleware layer. First, this will allow us to build a very lightweight UI which we can use to replace our existing UI. Secondly, it will allow engineers to make web service calls to fetch and manipulate data that is specific to their needs. And finally, external add-on developers will be able to find out what is making their plugins crash by making custom calls to the middleware layer.