Summary
In this chapter, we've learned a lot about the client-side API, including how to prevent major performance degradation due to client-side scripts looking up data on the server synchronously. Instead, we learned how and when to use GlideAjax and asynchronous lookups; and when not to use them (such as in onSubmit
client scripts)! We also learned about how to interact with forms using the GlideForm (g_form
), and the user object using the GlideUser (g_user
) object.