Your SlideShare is downloading. ×
Zend Studio Tips and Tricks
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Zend Studio Tips and Tricks

9,769
views

Published on

Published in: Technology, Business

0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
9,769
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
171
Comments
0
Likes
10
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 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
  • 2. Zend Studio Tips and Tricks
    By Roy Ganor
    Eclipse PDT (PHP) & ATF (Ajax) Project Lead
    Zend Studio Project Lead
  • 3. Mastering your tools is as important as mastering your code
  • 4. Project Management
    Source Editing
    Release Engineering Tools
    Short Keys
  • 5. Short cuts are here!

    ==
    ctrl
    shift
    ==

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

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



    alt
    alt
    alt
    A


  • 9. +
    =
    +
    =
    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
  • 10. Source Editing
  • 11. Code assist hints
  • 12. Code assist CamelCase
  • 13. Code assist – Magic functions
  • 14. Refactoring – Extract variable/method
    +
    +
    =
    Select a valid expression
    Extract Variable

    Alt
    L

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

    ctrl
    ctrl
    G
    H
    alt
  • 16. Use mark occurrences
    Variables, methods and classes
    Inherited elements
    Exit paths
    Include statements
    Write vs. Read
  • 17. CVS/SVN – Show annotation (blame mode)
    Right click on the left-side annotation bar and select “Show Annotations”
  • 18. Project Management
  • 19. Project Management Tips
    Separate back-end, front-end and tests projects
    Exclude irrelevant resources from “build” folders
    Use working Sets
  • 20. Use you own Formatter
  • 21. Task Repository Connectors
    Bugzilla
    Mantis
    Trac
    Attlasian
    Tasktop
  • 22. Build Tools (RelEng)
  • 23. 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>
  • 24. Zend Studio Builders
    Automate code generation, templates and other stuff!
  • 25. 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
  • 26. 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/