Book Image

Aptana Studio Beginner's Guide

By : Thomas Deuling
Book Image

Aptana Studio Beginner's Guide

By: Thomas Deuling

Overview of this book

<p>Aptana Studio 3 is a powerful web development IDE based on the Eclipse platform and provides many innovative technologies and features for developing effective, modern hi-standard web-applications. Aptana has been around since 2008 and it provides language support for HTML, CSS, JavaScript, Ruby, Rails, PHP, Python, and many others by using plugins.<br /><br />"Aptana Studio Beginner's Guide" is packed with the author’s experience of several years developing with Aptana Studio. It's not just a powerful guide, it's a practical, hands-on introduction to Aptana Studio as a whole. If you want to harness Aptana Studio to enhance your web-development productivity, then read this book.<br /><br />You will start by setting up your own installation of Aptana Studio, and will be guided step-by-step through the various stages of developing with Aptana Studio.<br /><br />You will learn how to manage all your work in workspaces and projects, and how you can optimize your projects depending on the nature of the project.<br /><br />In addition, you will be taught how to work on remote servers or manage your source code with Git and SVN.<br /><br />Finally, you will have a fully configured IDE and be equipped with the knowledge about how to work and manage large web-projects.</p>
Table of Contents (20 chapters)
Aptana Studio Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Profiling code performance


While developing goes forward and your web application gets larger and larger, the performance might slow down more and more. This results from the increasing amount of JavaScript code that must be executed by the browser.

This is the best moment to think about optimizing your code. Therefore, you have to profile many parts of your source code in order to find out which functions or code blocks are the largest performance eaters.

Firebug provides you with some useful functionalities that you can use to localize these performance eaters.

A simple way to find out how good the performance of a single code block or function is to wrap it into a time and timeEnd function. How we do this exactly will be discussed in the following section.