0%

Book Description

Develop web applications effectively with Aptana Studio 3 IDE

  • Learn how easy it is to install Aptana Studio 3 and tailor it perfectly to your needs
  • Dive into important aspects with Aptana Studio 3 such as workspaces and projects
  • Work with Aptana Studio in a large distributed Team

In Detail

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.

"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.

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.

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.

In addition, you will be taught how to work on remote servers or manage your source code with Git and SVN.

Finally, you will have a fully configured IDE and be equipped with the knowledge about how to work and manage large web-projects.

Table of Contents

  1. Aptana Studio Beginner's Guide
    1. Table of Contents
    2. Aptana Studio Beginner's Guide
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Getting Started
      1. System requirements
      2. Downloading and installing Aptana Studio
      3. Time for action – downloading and installing Aptana Studio on Linux
        1. What just happened?
      4. Time for action – downloading and installing Aptana Studio on Windows
        1. What just happened?
      5. Time for action – downloading and installing Aptana Studio on Mac
        1. What just happened?
        2. How to increase memory for Java
      6. Time for action – increasing Java memory
        1. What just happened?
      7. Upgrading the system
      8. How to install third-party plugins
      9. Time for action – installing a third-party plugin
        1. What just happened?
      10. Uninstalling Aptana
        1. Pop quiz – test your installation knowledge
      11. Summary
    9. 2. Basics and How to Use Perspectives and Views
      1. Time for action – changing the color theme
        1. What just happened?
      2. Time for action – configuring the tab behavior
        1. What just happened?
      3. Definitions
        1. Navigation
        2. Toolbar
        3. Perspectives
        4. Perspective menu
        5. Editors
        6. Views
        7. Statusbar
      4. Customizing perspectives
        1. Creating a customized perspective
        2. Arrange perspective views
      5. Time for action – arranging views
        1. What just happened?
      6. Time for action – adding new views
        1. What just happened?
        2. Customizing selection menus
      7. Time for action – customizing the View selection menus
        1. What just happened?
      8. Time for action – customizing the new submenu
        1. What just happened?
        2. Command Groups Availability
      9. Time for action – adding and removing command groups availability
        1. What just happened?
        2. Toolbar visibility
      10. Time for action – customizing the toolbar
        1. What just happened?
        2. Menu visibility
      11. Time for action – customizing the menu
        1. Saving a perspective
      12. Time for action – saving a perspective
        1. Perspective preferences
        2. Deleting a perspective
      13. Time for action – deleting a perspective
        1. Marking a default perspective
      14. Time for action – marking a default perspective
        1. What just happened?
      15. The most frequently used views
        1. App Explorer view
        2. Project explorer view
        3. Properties view
        4. Outline view
      16. Searching and replacing
        1. Search dialog
        2. Search view
        3. Search preferences
        4. Replacing matches
      17. Customizing Aptana Studio 3
        1. Have a go hero – configuring Aptana Studio
        2. Pop quiz – testing your newly acquired Workspace knowledge
      18. Summary
    10. 3. Working with Workspaces and Projects
      1. Workspace
        1. Current workspace
        2. Creating workspaces
      2. Time for action – creating a new workspace
        1. What just happened?
        2. Importing and exporting preferences
      3. Time for action – exporting Aptana Studio preferences
        1. What just happened?
      4. Time for action – importing Aptana Studio preferences
        1. What just happened?
        2. Switching between different workspaces
      5. Time for action – switching to another workspace
        1. What just happened?
        2. Deleting unnecessary workspaces
      6. Time for action – deleting a workspace
        1. What just happened?
        2. Workspace preferences
      7. Time for action – prompting the selection of a workspace on startup
        1. What just happened?
        2. Pop quiz – testing your newly acquired Projects knowledge
      8. Working with projects
        1. Project nature
        2. Creating a new project
      9. Time for action – using the Promote to Project function
        1. What just happened?
        2. Importing an existing project
      10. Time for action – importing an existing folder as a new project
        1. What just happened?
      11. Time for action – importing existing projects into the workspace
        1. What just happened?
        2. Deleting an existing project
      12. Time for action – deleting a project
        1. What just happened?
        2. Changing a project's nature
      13. Time for action – changing a project's nature
        1. What just happened?
        2. Closing or opening a project
      14. Time for action – closing a project
      15. Time for action – excluding a project from the index
        1. Creating a new file in a project
      16. Time for action – creating a new project file
        1. What just happened?
        2. Have a go hero – create your own workspace with at least two different projects
        3. Pop quiz
      17. Summary
    11. 4. Debugging JavaScript
      1. The Debug perspective
        1. Installing the JavaScript debugger
      2. Time for action – installing Aptana Debugger for Firefox
        1. What just happened?
      3. Configuring the debugger
      4. Time for action – creating a debug configuration
        1. What just happened?
      5. Debugging JavaScript
      6. Time for action – debugging JavaScript
        1. What just happened?
      7. Console view
      8. Time for action – working with the Console view
        1. What just happened?
      9. Using breakpoints
      10. Time for action – adding a breakpoint
        1. What just happened?
      11. Time for action – disabling a breakpoint
        1. What just happened?
      12. Time for action – setting a hit count on a breakpoint
        1. What just happened?
      13. Time for action – inspecting variables at a breakpoint and changing their values
        1. What just happened?
      14. Studio AJAX monitor
      15. Time for action – uninstalling the Aptana Debugger Extension
        1. What just happened?
      16. Uninstalling the debugger
      17. Time for action – uninstalling the Aptana Debugger Extension
        1. What just happened?
        2. Have a go hero – selecting a JavaScript file which you didn't code yourself and inspect the functionality by using the debugger
        3. Pop quiz
      18. Summary
    12. 5. Code Documentation and Content Assist
      1. ScriptDoc
        1. JavaScript file comment
        2. JavaScript property comment
      2. JavaScript function comment
      3. Time for action – displaying a function comment
        1. What just happened?
      4. The Content Assist feature
      5. Time for action – using the Content Assist feature
        1. What just happened?
        2. Browser capabilities
      6. Time for action – changing the user agents used by the Content Assist feature
        1. What just happened?
        2. Have a go hero – documenting a project that contains JavaScript code
        3. Pop quiz
      7. Summary
    13. 6. Inspecting Code with Firebug
      1. What is Firebug
      2. Time for action – installing Firebug
        1. What just happened?
      3. Time for action – enabling and configuring Firebug
        1. What just happened?
      4. Inspecting HTML code
      5. Time for action – inspecting HTML code
        1. What just happened?
      6. Time for action – using the mouse selector for editing HTML
        1. What just happened?
      7. Inspecting the CSS code
      8. Time for action – editing the CSS code by using the HTML module
        1. What just happened?
      9. Time for action – editing the CSS code by using the CSS module
        1. What just happened?
      10. Using the Firebug console
      11. Time for action – using the Firebug console
        1. What just happened?
      12. Profiling code performance
      13. Time for action – profiling code performance by using console.time()
        1. What just happened?
      14. Time for action – profiling code performance by using console.profile()
        1. What just happened?
        2. Have a go hero – inspecting a website in detail
        3. Pop quiz
      15. Summary
    14. 7. Using JavaScript Libraries
      1. Requirements for including a JavaScript library
      2. Using jQuery
      3. Time for action – installing the jQuery bundle
        1. What just happened?
      4. Time for action – integrating jQuery
        1. What just happened?
      5. Using Dojo Toolkit
      6. Time for action – integrating the Dojo Toolkit
        1. What just happened?
      7. Using ExtJS
      8. Time for action – integrating ExtJS
        1. What just happened?
        2. Have a go hero – integrating a JavaScript library into a current project of your own
        3. Pop quiz
      9. Summary
    15. 8. Remotely Working with FTP
      1. The Remote view
      2. Time for action – creating an FTP connection
        1. What just happened?
      3. Time for action – modifying an FTP connection
        1. What just happened?
        2. Deleting an FTP connection
        3. Using the Web Deployment Wizard
      4. Time for action – connecting a project with a remote server
        1. What just happened?
        2. Using the Connection Manager
      5. Time for action – opening the Connection Manager and creating a new connection
        1. What just happened?
        2. Modifying an existing connection within the Connection Manager
        3. Deleting an existing connection within the Connection Manager
        4. Exporting and importing FTP settings
      6. Time for action – exporting FTP settings
        1. What just happened?
      7. Time for action – importing FTP settings
        1. What just happened?
        2. Have a go hero – connecting a remote project with a local project
        3. Pop quiz
      8. Summary
    16. 9. Collaborative Work with SVN and Git
      1. Working with SVN
      2. Time for action – adding an SVN Repository
        1. What just happened?
        2. Checking out an SVN Repository
      3. Time for action – checking out an SVN Repository
        1. What just happened?
        2. File states
        3. Committing an SVN Repository
      4. Time for action – updating and committing an SVN Repository
        1. What just happened?
        2. Updating an SVN Repository
      5. Time for action – using the SVN history and comparing files
        1. What just happened?
        2. Have a go hero – checking out an SVN Repository and working with it
        3. Pop quiz – testing your newly acquired SVN knowledge
      6. Working with Git
      7. Time for action – cloning a remote Git Repository
        1. What just happened?
        2. Creating a Git Repository
      8. Time for action – creating a new local Git Repository for a new or existing project
        1. What just happened?
      9. Time for action – working with a new local Git Repository
        1. What just happened?
        2. Pulling and pushing Git remote projects
      10. Time for action – pulling and pushing Git remote projects
        1. What just happened?
        2. Have a go hero – checking out a Git Repository
        3. Pop quiz– testing your newly acquired Git knowledge
      11. Summary
    17. 10. PHP Projects
      1. Creating and configuring PHP projects
      2. Time for action – creating a PHP project
        1. What just happened?
      3. Configuring a PHP project
      4. Time for action – configuring a PHP project
        1. What just happened?
      5. Using PHPDoc within PHP Projects
      6. Using the predefined PHPDoc Comments
      7. Time for action – using PHPDoc Comments from the PHP Bundle
        1. What just happened?
      8. Aptana Studio's PHP Bundle PHPDoc Comment snippets
      9. Using PHP libraries
      10. Time for action – using external libraries
        1. What just happened?
      11. Configuring project-specific libraries
      12. Time for action – configuring project-specific libraries
        1. What just happened?
      13. Using and configuring the code formatter
      14. Time for action – using and configuring the PHP code formatter
        1. What just happened?
        2. Have a go hero – configuring your own PHP project
        3. Pop quiz
      15. Summary
    18. 11. Optimizing Work and Increasing Collaboration
      1. Creating a syntax highlight theme
      2. Time for action – creating a syntax highlight theme
        1. What just happened?
      3. Sharing or restoring your configurations
      4. Time for action – importing and exporting syntax highlight themes
        1. What just happened?
      5. Time for action – importing and exporting code formatter profiles
        1. What just happened?
      6. Sharing Aptana Studio preferences
      7. Working with bookmarks
      8. Time for action – setting a bookmark
        1. What just happened?
        2. The bookmark view
      9. Time for action – configuring the bookmark view
        1. What just happened?
      10. SVN commit comment templates
      11. Time for action – creating SVN commit comment templates
        1. What just happened?
      12. Working with tasks
      13. Time for action – configuring the tasks and managing the task tags
        1. What just happened?
      14. Creating tasks
      15. Time for action – creating a task over the line numbers
        1. What just happened?
      16. Time for action – creating a task using a comment
        1. What just happened?
        2. Have a go hero – try out what you have learned
        3. Pop quiz
      17. Summary
    19. 12. Troubleshooting
      1. What to do when problems occur
        1. Systems help
        2. Do you have a problem?
        3. Which version of Aptana Studio have you installed
      2. Time for action – displaying installation details
        1. Running the diagnostic test
        2. Viewing and clearing the logfile
      3. Time for action – viewing and clearing the logfile
        1. What just happened?
      4. Forums
      5. Reporting a bug
      6. Time for action – reporting a bug
        1. What just happened?
      7. Fixing a moved workspace directory
      8. Time for action – changing the workspace directory in config.ini
        1. What just happened?
        2. Have a go hero – collecting information about Aptana Studio
        3. Pop quiz
      9. Summary
    20. Pop Quiz Answers
      1. Chapter 1, Getting Started
        1. Pop quiz – test your installation knowledge
      2. Chapter 2, Basics and How to Use Perspectives and Views
        1. Pop quiz
      3. Chapter 3, Working with Workspaces and Projects
        1. Pop quiz – testing your newly acquired Workspace knowledge
        2. Pop quiz – testing your newly acquired Projects knowledge
      4. Chapter 4, Debugging JavaScript
        1. Pop quiz
      5. Chapter 5, Code Documentation and Content Assist
        1. Pop quiz
      6. Chapter 6, Inspecting Code with Firebug
        1. Pop quiz
      7. Chapter 7, Using JavaScript Libraries
        1. Pop quiz
      8. Chapter 8, Remotely Working with FTP
        1. Pop quiz
      9. Chapter 9, Collaborative Work with SVN and Git
        1. Pop quiz – testing your newly acquired SVN knowledge
        2. Pop quiz – testing your newly acquired Git knowledge
      10. Chapter 10, PHP Projects
        1. Pop quiz
      11. Chapter 11, Optimizing Work and Increasing Collaboration
        1. Pop quiz
      12. Chapter 12, Troubleshooting
        1. Pop quiz
    21. Index
3.144.252.201