Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

EclipseCon France 2016: Eclipse Speaks PHP

240 views

Published on

Have you wondered what tools Eclipse can provide for PHP developers? Join this session for an overview of the PHP Development Tools (PDT) project and the ecosystem around it. You will learn how to get started developing PHP code with Eclipse and get a taste of the main features provided by PDT. We will also look at the rich ecosystems of community plugins, both free and commercial, which can make your Eclipse IDE a complete PHP development environment.

Published in: Software
  • Be the first to comment

EclipseCon France 2016: Eclipse Speaks PHP

  1. 1. Eclipse Speaks PHP Kaloyan Raev 8 June 2016
  2. 2. 2 Who am I • Eclipse user for 13 years • Eclipse contributor for 10 years • Currently active in the PDT, DLTK and Andmore projects • Zend Studio Team Lead – Zend Studio is a professional PHP IDE based on Eclipse PDT
  3. 3. Some History
  4. 4. 4 Chronology • 2001 – Zend releases the very first version of the Zend IDE – Based on Java, but not on Eclipse • 2006 – Zend and IBM create the EclipsePDT project – PHP 4 and PHP 5 support • 2008 – Zend Studio 6 – first release based on Eclipse • 2012 – PHP 5.4 support • 2013 – PHP 5.5 support • 2014 – PHP EPP package resurrected, PHP 5.6 support • 2015 – Initial PHP 7 support • 2016 – PDT 4.0 Neon – Complete PHP 7 support
  5. 5. Features
  6. 6. 6 Architecture * Diagram from the Project Proposal,but still relevant
  7. 7. 7 Syntax Highlighting
  8. 8. 8 Content Assist
  9. 9. 9 Code Formatter
  10. 10. 10 Refactoring
  11. 11. 11 Code Templates
  12. 12. 12 Code Navigation
  13. 13. 13 PHP Debugging
  14. 14. 14 Syntax Validation
  15. 15. New in Neon
  16. 16. 16 PHP 7 support • Uniform Variable Syntax • Anonymous Classes • Scalar Type Hints • Return Type Declarations • Spaceship Operator • Null Coalesce Operator • Group Use Statements • Generator Delegation
  17. 17. 17 New, faster PHP indexer • Based on Apache Lucene • 3x faster indexing process • 3x less space on file system • Faster code assist, code navigation, validation, search, etc. • Scales better on multi-core CPUs
  18. 18. 18 More performance improvements • More responsive code editor – Code assist and code navigation no more freeze the UI if indexing is in progress • Improved performance on big (>40k lines) arrays • Improved smart indentation performance • Improved Code Assist performance for files with many assignments • General performance improvements for PHPDoc generation
  19. 19. 19 PHP editor • Massive amount of changes • Just a small selection follows
  20. 20. 20 PHP editor Improved syntax highlighting
  21. 21. 21 PHP editor Code assist dialog • Function / method return types • Resizing the dialog is remembered between calls • Colored labels
  22. 22. 22 PHP editor Code assist inside PHPDoc
  23. 23. 23 PHP editor Quick fixes and quick assists
  24. 24. 24 Debugging • General improvements for both Xdebug and Zend Debugger • Improved OS X support • Fixed debugging with Xdebug thru SSH tunnel • PHP Exception breakpoints (Xdebug)
  25. 25. 25 Smart import
  26. 26. 26 And more... Details in New & Noteworthy pages: • PDT 3.6 (Mars.1): https://wiki.eclipse.org/PDT/NewIn36 • PDT 3.7 (Mars.2): https://wiki.eclipse.org/PDT/NewIn37 • PDT 4.0 (Neon): https://wiki.eclipse.org/PDT/NewIn40 • > 300 bugs fixed
  27. 27. Ecosystem
  28. 28. 28 PDT Extension group • Communitycollaboration group • Plugins extending or integrating with PDT • Open source projects, not hosted at Eclipse.org • Web site / p2 repo: http://p2.pdt-extensions.org/
  29. 29. 29 PDT Extensions PHPUnit
  30. 30. 30 PDT Extensions PHP CodeSniffer
  31. 31. 31 PDT Extensions Symfony
  32. 32. 32 PDT Extensions Composer
  33. 33. 33 PDT Extensions Magento
  34. 34. 34 Zend Studio • Professional IDE based on Eclipse PDT • Complete installation package • Can be installed as a plugin too • Commercialproduct • Professional support • Web site: www.zend.com/en/products/studio
  35. 35. 35 Zend Studio Semantic Analysis
  36. 36. 36 Zend Studio Profiling
  37. 37. 37 Zend Studio Zend Server integration
  38. 38. 38 Zend Studio Zend Framework / Apigility
  39. 39. How to Get It
  40. 40. 40 EPP package https://www.eclipse.org/downloads/
  41. 41. 41 Eclipse Installer
  42. 42. 42 Eclipse Marketplace
  43. 43. 43 Simultaneous Release repository
  44. 44. 44 p2 repositories • Latest release: http://download.eclipse.org/tools/pdt/updates/latest • Latest nightly build: http://download.eclipse.org/tools/pdt/updates/latest-nightly
  45. 45. Current Status
  46. 46. 46 Releases
  47. 47. 47 Download stats (since Mars) • EPP package: – Mars: 403,639 – Mars.1: 284,314 – Mars.2: 138,618 • Eclipse Marketplace: 26,404 • Total: 852,975
  48. 48. 48 Who is involved • Project Lead: Dawid Pakula • 5 active committers – 3 Zenders (Michal, Bartlomiej, Kaloyan) – 2 individuals (Dawid, Thierry) • 33 historical committers • More details: https://projects.eclipse.org/projects/tools.pdt/who
  49. 49. Future
  50. 50. 50 Oxygene plans • Continue delivering new feature release for every SimRel update – i.e. PDT 4.1 for Neon.1, PDT 4.2 for Neon.2, … • Continue improving the editor • Continue improving the debugger • Improve the integration with JSDT 2.0 • Composer integration • Improve beginner's experience
  51. 51. Thank you! Reach us at pdt-dev@eclipse.org

×