• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Zend Studio Tips and Tricks
 

Zend Studio Tips and Tricks

on

  • 12,092 views

 

Statistics

Views

Total Views
12,092
Views on SlideShare
11,990
Embed Views
102

Actions

Likes
9
Downloads
166
Comments
0

6 Embeds 102

http://www.slideshare.net 64
http://maxzloy.com 33
http://www.php-talks.com 2
http://translate.googleusercontent.com 1
http://phptalks.localhost 1
http://www.thewebhatesme.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

Zend Studio Tips and Tricks Zend Studio Tips and Tricks Presentation Transcript

  • Prerequisites (Hidden)
    Install Zend Studio + Server
    Run Keyboard Jedi
    Connect to a ZF account as tasks repository
    Load the Zend Framework project into the workspace
    1024*768
  • Zend Studio Tips and Tricks
    By Roy Ganor
    Eclipse PDT (PHP) & ATF (Ajax) Project Lead
    Zend Studio Project Lead
  • Mastering your tools is as important as mastering your code
  • Project Management
    Source Editing
    Release Engineering Tools
    Short Keys
  • Short cuts are here!

    ==
    ctrl
    shift
    ==

  • Short Cuts
  • +
    =
    +
    =
    +
    =
    Maximize editor/view
    Quick access to workbench
    Switch between editors
    ctrl
    ctrl
    ctrl
    M
    3
    F6
    +
    +
    =
    Available short cuts

    ctrl
    L
  • +
    =
    +
    =
    Quick search
    Delete current line
    D
    ctrl
    ctrl
    K
    +
    +
    =
    +
    /
    =
    +
    /
    =
    Block selection
    Previous/Next editor
    Move line/s



    alt
    alt
    alt
    A


  • +
    =
    +
    =
    Quick outline
    Quick type hierarchy
    O
    T
    ctrl
    ctrl
    +
    +
    =
    +
    +
    =
    +
    +
    =
    +
    +
    =
    Comment Generator
    Open class / interface
    Toggle a breakpoint
    Open function / method




    ctrl
    ctrl
    ctrl
    ctrl
    J
    T
    B
    M
  • Source Editing
  • Code assist hints
  • Code assist CamelCase
  • Code assist – Magic functions
  • Refactoring – Extract variable/method
    +
    +
    =
    Select a valid expression
    Extract Variable

    Alt
    L

  • Code Navigation
    +
    +
    =
    +
    +
    =
    Select a valid class / interface, method / function
    Show references
    Call hierarchy

    ctrl
    ctrl
    G
    H
    alt
  • Use mark occurrences
    Variables, methods and classes
    Inherited elements
    Exit paths
    Include statements
    Write vs. Read
  • CVS/SVN – Show annotation (blame mode)
    Right click on the left-side annotation bar and select “Show Annotations”
  • Project Management
  • Project Management Tips
    Separate back-end, front-end and tests projects
    Exclude irrelevant resources from “build” folders
    Use working Sets
  • Use you own Formatter
  • Task Repository Connectors
    Bugzilla
    Mantis
    Trac
    Attlasian
    Tasktop
  • Build Tools (RelEng)
  • Team Project Set
    File | Import | Team | Team Project Set
    Import shared team resources and repositories
    <?xml version="1.0" encoding="UTF-8"?>
    <psfversion="2.0">
    <provider id="org.eclipse.team.cvs.core.cvsnature">
    <project reference="1.0,:pserver:my.company.repo:/repos,module/project1"/>
    <project reference="1.0,:pserver:my.company.repo:/repos,module/project1"/>
    ...
    <project reference="1.0,:ext:oss.org:/cvsroot/ns,module/project,v200909160005"/>
    <project reference="1.0,:ext:oss.org:/cvsroot/ns,module/project,v200904131653"/>
    ...
    </provider>
    <workingSets...></workingSets>
    <psf>
  • Zend Studio Builders
    Automate code generation, templates and other stuff!
  • Recap
    It’s more than just “tips and tricks”…
    Experienced teams improve their development processes
    by adding custom behavior to their tools
    More than 30 useful tips
    Short Cuts
    Project Management tips
    Source Editing tips
    Release Engineering (Build Tools) tips
  • Q&A
    Roy Ganor – roy@zend.com, @royganor, http://ganoro.blogspot.com/
    Eclipse PDT forums - http://www.eclipse.org/forums/
    Zend Studio forum - http://forums.zend.com/