Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 2 Application Framework : Browser JavaScript

Browser JavaScript
As Sugar is a Web-based application, executing custom logic on the client-side (e.g., validating data before posting it back to the server) requires writing JavaScript. This section outlines the JavaScript constructs available to the developer.
In order to improve application performance, Sugar's production JavaScript files are compressed with the JSMin library. This process reduces JavaScript file sizes, thereby reducing download times. The originally formatted JavaScript files are in the /jssource directory. It is a best practice to make any JavaScript code changes in the /jssource/src_files folders and then use the “Rebuild JS Compressed Files” option in Admin->Repair.

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License