Quick Upload

Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer.To install it, go here
Post to Twitter Post to Twitter
Share on Facebook
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons
« Prev Comments 1 - 6 of 6 Next »
Add a comment If you have a SlideShare account, login to comment; otherwise comment as a guest.

    YAPC::NA 2007 - Epic Perl Coding

    from joshua.mcadams, 2 years ago Add as contact

    3176 views | 6 comments | 2 favorites | 2 embeds (Stats)

    Desc: A quick tour of the EPIC programming plugin within Eclipse.

    Embed customize close
     

    More Info

    This slideshow is Public

    Views: 3176 Comments: 6 Favorites: 2 Downloads: 152

    View Details: 3066 on Slideshare 110 from embeds
    Most viewed embeds (Top 5): More
    Flagged as inappropriate Flag as inappropriate

    Flag as inappropriate

    Select your reason for flagging this slideshow as inappropriate.

    If needed, use the feedback form to let us know more details.

    Slideshow Transcript

    1. Slide 1: EPIC Perl Coding YAPC::NA 2007 Houston, TX Josh McAdams
    2. Slide 2: Quick Audience Poll How do you edit your Perl code?
    3. Slide 3: Sweeping Generalizations Ask just about any Perl programmer what he or she uses to edit Perl and you'll get any one of a hand-full of typical answers: - vi (the editor of the beast vi vi vi) - emacs (rms didn't get rms for no reason) - BBEdit - some random windows text editor - Notepad - UltraEdit basically, it all boils down to...
    4. Slide 4: [ This Slide Intentionally Left Blank]
    5. Slide 5: Text Editors Most of these environments are extremely powerful and can get the job done, but they have a problem... ... they can be intimidating
    6. Slide 6: √ √
    7. Slide 7: IDEs Yes, most Perl programmers imagine the worst, but a decent IDE really isn't bad to have in your toolkit. There are a few IDEs out there: - The Open Perl IDE - Komodo - Enginsit's Perl Editor - Affrus - Eclipse
    8. Slide 8: Eclipse Eclipse isn't just a Java IDE, it's actually a pluggable application framework... And one of those plugins happens to be EPIC, an Eclipse plugin for Perl integration.
    9. Slide 9: EPIC What is EPIC? - an Eclipse plugin that customizes the IDE for Perl development What does it do for me? - syntax highlighting - edit-time syntax checking - code assistants - quick references to perldoc - outline of used modules and subroutines - in-editor source formatting (perltidy) - HTML export - code templates - RegExp plugin - Perl debugger integration (even for web development)
    10. Slide 10: EPIC – The IDE
    11. Slide 11: EPIC – Syntax Highlighting Syntax Highlighting
    12. Slide 12: EPIC – Syntax Checking Syntax Checking
    13. Slide 13: EPIC – Code Assistant Coding Assistant
    14. Slide 14: EPIC - Perldoc Perldoc Integration
    15. Slide 15: EPIC – Perldoc Search Perldoc Search
    16. Slide 16: EPIC - Outlines Source Code Outlines
    17. Slide 17: EPIC – Perl Tidy Perl Tidy Integration
    18. Slide 18: EPIC – HTML Export HTML Export
    19. Slide 19: EPIC – HTML Export
    20. Slide 20: EPIC – Code Templates Code Templates
    21. Slide 21: EPIC - RegExp Regular Expression Evaluation
    22. Slide 22: EPIC - RegExp Interactive Regular Expression Evalutaion
    23. Slide 23: EPIC - Debugging Debugger Integration
    24. Slide 24: EPIC – Code Folding Code folding
    25. Slide 25: EPIC – Toggle Comments Comment Toggling
    26. Slide 26: EPIC – Toggle Comments TODO Lists
    27. Slide 27: EPIC – Refactor
    28. Slide 28: EPIC – Refactor Select the code to refactor and choose to 'Extract Subroutine'
    29. Slide 29: EPIC – Refactor Give the new sub a name
    30. Slide 30: EPIC – Refactor Watch as a sub is magically created for you
    31. Slide 31: EPIC – Refactor But it's not that smart
    32. Slide 32: EPIC – Refactor Still, an easy fix
    33. Slide 33: Understanding Eclipse - Eclipse thinks in workspaces, projects, views, and perspectives - A workspace is just a location of your code on the disk - A project is a group of files that logically fit together, sort of like a Perl distribution - A view is just a window in the interface that provides some sort of functionality... an editor, and outline, etc. - A perspective is a grouping of views that help you effectively do the task at hand... debugging, code editing, etc.
    34. Slide 34: When To Use Epic - Epic thinks in projects, it is part of a Java IDE, it can be slow to load and a little overkill for smaller projects. - Epic/Eclipse is really good at helping you manage large projects with multiple files and other resources. - Eclipse can be integrated with SVN, database browsers, and many other tools that can consolidate all of your project tools into one interface.
    35. Slide 35: Resources Eclipse http://www.eclipse.org/ EPIC http://e-p-i-c.sourceforge.net/ Build Perl applications with Eclipse http://www.ibm.com/developerworks/edu/os-dw-os-perlecl-i.html How to debug Perl apps with Eclipse http://www.ibm.com/developerworks/edu/os-dw-os-perlecl-i.html