Aptana Studio Beginner''''s Guide pdf

298 6,031 0
  • Loading ...
    Loading ...
    Loading ...

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Tài liệu liên quan

Thông tin tài liệu

Ngày đăng: 07/03/2014, 06:20

www.it-ebooks.infoAptana Studio Beginner's GuideDevelop web applicaons eecvely with the Aptana Studio 3 IDEThomas Deuling BIRMINGHAM - MUMBAIwww.it-ebooks.infoAptana Studio Beginner's GuideCopyright © 2013 Packt PublishingAll rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmied in any form or by any means, without the prior wrien permission of the publisher, except in the case of brief quotaons embedded in crical arcles or reviews.Every eort has been made in the preparaon of this book to ensure the accuracy of the informaon presented. However, the informaon contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.Packt Publishing has endeavored to provide trademark informaon about all of the companies and products menoned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this informaon.First published: January 2013Producon Reference: 1180113Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.ISBN 978-1-84951-824-6www.packtpub.comCover Image by Junaid Shah (junaidshah111@gmail.com)www.it-ebooks.infoCreditsAuthorThomas DeulingReviewersGabriel BuckleyZeeshan ChoudharyRohit P. KhareDaniel RoscaSco M. SpearAcquision EditorUsha IyerLead Technical EditorSusmita PandaTechnical EditorsKir PujariNitee SheyCopy EditorsBrandt D'MelloInsiya MorbiwalaAditya NairAlda PaivaLaxmi SubramanianRuta WaghmareProject CoordinatorLeena PurkaitProofreadersElinor Perry-SmithLindsey ThomasIndexerMonica Ajmera MehtaProducon Coordinator Conidon MirandaCover WorkConidon Mirandawww.it-ebooks.infoAbout the AuthorThomas Deuling is a web applicaons developer with over 5 years experience in developing large web applicaons with open source technologies. He started by programming small web applicaons and websites for dierent agencies. Currently, he is self employed and has just founded his own company called coding.ms (www.coding.ms). He has managed many large web projects in the past, even developing a whole ERP/CRM system for a large internaonal company. In short, Thomas lives web development.He is also the author of a German book, Warenwirtscha und Webapplikaonen auf Basis von OpenLaszlo, VDM Publishing, which deals with enterprise resource planning and web applicaons based on OpenLaszlo.Firstly, the Appcelerator team deserves much of my gratude for their me and eort, especially Ingo Muschenetz. I would like to thank Packt Publishing for giving me the opportunity to write this book, and for the immeasurable support provided to me throughout this project. Last but most denitely not least, I would like to thank my family for their on-going encouragement and understanding.www.it-ebooks.infoAbout the ReviewersRohit P. Khare has around 10 years experience in programming. He specializes in .NET technology, but also has a passion for PHP and Ruby on Rails. For most open-source projects, he uses Aptana Studio as the preferred IDE.He is working as a Tech Lead in a company where he handles the web applicaons division. Prior to this, he worked with dierent companies specializing in the retail domain, and he has also worked as a soware consultant with a few key government organizaons.Sco M. Spear owns and operates Webmasters by Design LLC, a web design and development business. He has earned his Bachelor of Science degree in Computer Management Informaon Systems and a Masters degree in Business Administraon, and has over a decade of web-design, development, and hosng experience. He has experience in a variety of elds, including specializaon in dynamic website design and development using technologies such as PHP, MySQL, CSS, Ajax, jQuery, and ZendFramework. Addionally, he had experience working with Photoshop, Dreamweaver, WordPress, and Joomla!.I would like to thank my wife for being there to help me succeed through all of my challenges and opportunies. She is my best friend, my biggest supporter, and the love of my life. Thank you, Heather!www.it-ebooks.infowww.PacktPub.comSupport les, eBooks, discount offers and moreYou might want to visit www.PacktPub.com for support les and downloads related to your book. Did you know that Packt oers eBook versions of every book published, with PDF and ePub les available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.At www.PacktPub.com, you can also read a collecon of free technical arcles, sign up for a range of free newsleers and receive exclusive discounts and oers on Packt books and eBooks.TMhttp://PacktLib.PacktPub.com Do you need instant soluons to your IT quesons? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's enre library of books. Why Subscribe?  Fully searchable across every book published by Packt  Copy and paste, print and bookmark content  On demand and accessible via web browserFree Access for Packt account holdersIf you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine enrely free books. Simply use your login credenals for immediate access.www.it-ebooks.infoTable of ContentsPreface 1Chapter 1: Geng Started 7System requirements 7Downloading and installing Aptana Studio 8Time for acon – downloading and installing Aptana Studio on Linux 8Time for acon – downloading and installing Aptana Studio on Windows 10Time for acon – downloading and installing Aptana Studio on Mac 14How to increase memory for Java 15Time for acon – increasing Java memory 16Upgrading the system 17How to install third-party plugins 20Time for acon – installing a third-party plugin 21Uninstalling Aptana 26Summary 27Chapter 2: Basics and How to Use Perspecves and Views 29Time for acon – changing the color theme 30Time for acon – conguring the tab behavior 31Denions 32Navigaon 33Toolbar 33Perspecves 35Perspecve menu 36Editors 38Views 38Statusbar 39Customizing perspecves 41Creang a customized perspecve 44Arrange perspecve views 44www.it-ebooks.infoTable of Contents[ ii ]Time for acon – arranging views 45Time for acon – adding new views 46Customizing selecon menus 47Time for acon – customizing the View selecon menus 48Time for acon – customizing the new submenu 49Command Groups Availability 50Time for acon – adding and removing command groups availability 50Toolbar visibility 51Time for acon – customizing the toolbar 51Menu visibility 52Time for acon – customizing the menu 52Saving a perspecve 52Time for acon – saving a perspecve 52Perspecve preferences 53Deleng a perspecve 53Time for acon – deleng a perspecve 54Marking a default perspecve 54Time for acon – marking a default perspecve 55The most frequently used views 55App Explorer view 56Project explorer view 57Properes view 58Outline view 59Searching and replacing 60Search dialog 60Search view 62Search preferences 63Replacing matches 64Customizing Aptana Studio 3 65Summary 66Chapter 3: Working with Workspaces and Projects 67Workspace 68Current workspace 69Creang workspaces 69Time for acon – creang a new workspace 69Imporng and exporng preferences 70Time for acon – exporng Aptana Studio preferences 70Time for acon – imporng Aptana Studio preferences 71Switching between dierent workspaces 72www.it-ebooks.infoTable of Contents[ iii ]Time for acon – switching to another workspace 73Deleng unnecessary workspaces 74Time for acon – deleng a workspace 74Workspace preferences 75Time for acon – prompng the selecon of a workspace on startup 75Working with projects 76Project nature 76Creang a new project 77Time for acon – using the Promote to Project funcon 80Imporng an exisng project 81Time for acon – imporng an exisng folder as a new project 81Time for acon – imporng exisng projects into the workspace 83Deleng an exisng project 85Time for acon – deleng a project 85Changing a project's nature 85Time for acon – changing a project's nature 86Closing or opening a project 87Time for acon – closing a project 87Time for acon – excluding a project from the index 88Creang a new le in a project 88Time for acon – creang a new project le 88Summary 90Chapter 4: Debugging JavaScript 91The Debug perspecve 91Installing the JavaScript debugger 92Time for acon – installing Aptana Debugger for Firefox 92Conguring the debugger 93Time for acon – creang a debug conguraon 94Debugging JavaScript 96Time for acon – debugging JavaScript 96Console view 98Time for acon – working with the Console view 99Using breakpoints 101Time for acon – adding a breakpoint 102Time for acon – disabling a breakpoint 103Time for acon – seng a hit count on a breakpoint 104Time for acon – inspecng variables at a breakpoint and changing their values 105Studio AJAX monitor 106Time for acon – uninstalling the Aptana Debugger Extension 107www.it-ebooks.info[...]... that we can start Aptana Studio without typing the complete path on the command line sudo ln -s /opt /Aptana\ Studio\ 3/AptanaStudio3 /usr/bin/ AptanaStudio3 5 Finally, you have to change the owner and/or group of your installation files; this will allow Aptana Studio to modify its files and carry out updates sudo chown thomas:thomas /Aptana\ Studio\ 3 -R 6 Now, you can start Aptana Studio just by executing... command line: AptanaStudio3 What just happened? We installed Aptana Studio on a Linux-based operating system Installing Aptana Studio on Windows is much easier; you just have to follow the Windows Installer [9] www.it-ebooks.info Getting Started Time for action – downloading and installing Aptana Studio on Windows 1 In order to download the current version of Aptana Studio, navigate to the Aptana homepage... installed Aptana Studio on a machine running a Windows operating system [ 13 ] www.it-ebooks.info Getting Started Time for action – downloading and installing Aptana Studio on Mac 1 In order to download the current version of Aptana Studio, navigate to the Aptana homepage at http://www .aptana. com/products /studio3 /download 2 Simply select your system environment on the website and download the Aptana Studio. .. Getting Started Aptana Studio 3 builds on the well-known Java IDE, Eclipse; this means that it's possible to install Aptana Studio as an Eclipse plugin or as a standalone version In this beginner's guide, we will use the standalone version as it is much easier to install and works right away In this chapter we will cover: ‹‹ System requirements ‹‹ Where to get Aptana Studio ‹‹ Installing Aptana Studio on... files e-mailed directly to you Time for action – downloading and installing Aptana Studio on Linux 1 In order to download the current version of Aptana Studio, navigate to the Aptana home page at http://www .aptana. com/products /studio3 /download 2 Simply select your system environment on the website and download the Aptana Studio package to your ~/Downloads folder You can also do this quickly by using... http://download .aptana. com /studio3 /standalone/*version*/ linux /Aptana_ Studio_ 3_Setup_Linux_x86_64_*version*.zip -P ~/ Downloads [8] www.it-ebooks.info Chapter 1 3 After downloading the Aptana Studio package, we only need to extract it For this, we use the unzip command, which also redirects the extracted files to the /opt folder sudo unzip /Aptana_ Studio_ 3_Setup_Linux_x86_64_*version*.zip -d / opt/ Why install Aptana. .. Aptana Studio into your Applications folder What just happened? We installed Aptana Studio on a Mac operating system After the first start, Aptana Studio looks like the following screenshot: [ 14 ] www.it-ebooks.info Chapter 1 How to increase memory for Java Because Aptana Studio is based on Java, ensure that you allow Java to allocate the required amount of memory In the default configuration of Aptana. .. first Aptana Studio update How do you determine the installed version of Aptana Studio? To determine the installed version of Aptana Studio, just navigate to Help | About Aptana Studio 3 If you also need to know the version of your plugins and any more information, just click on Installation Details But during the daily project work, we generally don't have the time to think about updates Therefore, Aptana. .. Aptana Studio and installing and updating plugins Now that we are running Aptana Studio for the first time, we want to check if there are any updates available For this, we just navigate to Help | Check for Updates in the main menu [ 17 ] www.it-ebooks.info Getting Started If you get the the following message, maybe your system user has opened Aptana Studio without the permission to change Aptana Studio. .. change Aptana Studio files: Ensure that the user that starts Aptana Studio has the required permissions to be able to update the Aptana Studio files! The following command, which we have already seen in this chapter, adjusts the required permissions: sudo chown thomas:thomas /opt /Aptana\ Studio\ 3 -R If the user has the required permission, Aptana Studio checks all of the available update sites that have . installing Aptana Studio 8Time for acon – downloading and installing Aptana Studio on Linux 8Time for acon – downloading and installing Aptana Studio on. www.it-ebooks.info Aptana Studio Beginner's Guide Develop web applicaons eecvely with the Aptana Studio 3 IDEThomas Deuling BIRMINGHAM
- Xem thêm -

Xem thêm: Aptana Studio Beginner''''s Guide pdf, Aptana Studio Beginner''''s Guide pdf, Aptana Studio Beginner''''s Guide pdf, Time for action – profiling code performance by using console.profile(), Time for action – changing the workspace directory in config.ini

Mục lục

Xem thêm