Spring Surf Developer Tools<br />2<br />Dave Draper<br />UI Engineer, Alfresco<br />Twitter: @_DaveDraper<br />
3<br />First, Some Background Information...<br />
Spring Surf Overview <br />4<br /><ul><li>Rapid web-tier view composition – Spring MVC View Resolver
FreeMarker, Groovy, PHP, JSP pages
WebScript, FTL, Groovy, PHP or JSP components
Simple JavaScript, Groovy controllers
Remote API – REST processing
Portlets
WebScripts – standalone REST API tier</li></li></ul><li>Overview<br />5<br /><ul><li>The Development Tools are:
A Set of Eclipse Plug-ins
Part of Spring Surf Project
Intended for use with SpringSource Tool Suite
Use Spring Web Script Runtime APIs
Spring/Maven Driven</li></li></ul><li>Components<br />6<br /><ul><li>Web Script Runtime Plug-in (available from Spring Sur...
Web Script Description XML Wizard/Editor
Web Script Package Description XML Wizard/Editor
Web Script Schema Description XML Wizard/Editor
JavaScript editor extension
FreeMarker editor extension
Spring Web Script/Surf Code Snippets
Spring Surf Template Project
Spring Surf Roo Add-on</li></li></ul><li>7<br />Spring Surf Plug-in<br />
Pre-requisites<br />8<br /><ul><li>Download and install SpringSource Tool Suite
Custom Eclipse implementation for aimed at Spring developers
Includes WTP
Embeds TC server
Install JBoss FreeMarker Editor</li></li></ul><li>Download SpringSource Tool Suite<br />9<br />
Add JBoss Update Site<br />10<br />
Upcoming SlideShare
Loading in …5
×

Spring Surf Development Tools

3,620
-1

Published on

This session will introduce Spring/Alfresco development tools such as WebScript editor, WebScript Documentation plugin, FreeMarker editor, JavaScript editor, Surf Roo addon and Surf Spring template projects. We'll demonstrate how to use these tools to create, build, deploy and test Surf or Webscript-based projects. We'll also have a discussion on the future of Alfresco development tools and the SDK.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,620
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
109
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Spring Surf Development Tools

  1. 1. Spring Surf Developer Tools<br />2<br />Dave Draper<br />UI Engineer, Alfresco<br />Twitter: @_DaveDraper<br />
  2. 2. 3<br />First, Some Background Information...<br />
  3. 3. Spring Surf Overview <br />4<br /><ul><li>Rapid web-tier view composition – Spring MVC View Resolver
  4. 4. FreeMarker, Groovy, PHP, JSP pages
  5. 5. WebScript, FTL, Groovy, PHP or JSP components
  6. 6. Simple JavaScript, Groovy controllers
  7. 7. Remote API – REST processing
  8. 8. Portlets
  9. 9. WebScripts – standalone REST API tier</li></li></ul><li>Overview<br />5<br /><ul><li>The Development Tools are:
  10. 10. A Set of Eclipse Plug-ins
  11. 11. Part of Spring Surf Project
  12. 12. Intended for use with SpringSource Tool Suite
  13. 13. Use Spring Web Script Runtime APIs
  14. 14. Spring/Maven Driven</li></li></ul><li>Components<br />6<br /><ul><li>Web Script Runtime Plug-in (available from Spring Surf Update Site)
  15. 15. Web Script Description XML Wizard/Editor
  16. 16. Web Script Package Description XML Wizard/Editor
  17. 17. Web Script Schema Description XML Wizard/Editor
  18. 18. JavaScript editor extension
  19. 19. FreeMarker editor extension
  20. 20. Spring Web Script/Surf Code Snippets
  21. 21. Spring Surf Template Project
  22. 22. Spring Surf Roo Add-on</li></li></ul><li>7<br />Spring Surf Plug-in<br />
  23. 23. Pre-requisites<br />8<br /><ul><li>Download and install SpringSource Tool Suite
  24. 24. Custom Eclipse implementation for aimed at Spring developers
  25. 25. Includes WTP
  26. 26. Embeds TC server
  27. 27. Install JBoss FreeMarker Editor</li></li></ul><li>Download SpringSource Tool Suite<br />9<br />
  28. 28. Add JBoss Update Site<br />10<br />
  29. 29. Add FreeMarker IDE Plug-in<br />11<br />
  30. 30. Add SpringSurf update site<br />12<br />
  31. 31. Add SpringSurf plug-in<br />13<br />
  32. 32. Web Script Runtime Plug-in<br />14<br /><ul><li>Declares dependencies on the other Spring Surf Development Tool Plug-ins
  33. 33. Provide Required Libraries and Spring Application Context XML
  34. 34. Custom Editors Use Same Runtime APIs</li></li></ul><li>Web Script Description XML Wizard/Editor<br />15<br /><ul><li>Create/Edit Web Script Description XML
  35. 35. Links for Creating/Editing
  36. 36. View Templates
  37. 37. Controller Template
  38. 38. Configuration File
  39. 39. Message Properties etc.
  40. 40. Real-time Validation
  41. 41. Option for Controlling Local Web Script Loading
  42. 42. Multiple Editor Options
  43. 43. Custom Visual Editor
  44. 44. Schema Based Tree Editor
  45. 45. Source Editor</li></li></ul><li>Web Script Package XML Wizard/Editor<br />16<br /><ul><li>Create/Edit Web Script Package Description XML
  46. 46. Group Web Scripts into Java Style Packages
  47. 47. For Documentation Only
  48. 48. Spring Surf Documentation Maven Plug-in
  49. 49. Real-time Validation
  50. 50. Multiple Editor Options
  51. 51. Custom Visual Editor
  52. 52. Schema Based Tree Editor
  53. 53. Source Editor</li></li></ul><li>Web Script Schema XML Wizard/Editor<br />17<br /><ul><li>Create/Edit Web Script Schema XML
  54. 54. Provide Format Definitions and Samples for
  55. 55. Request Messages
  56. 56. Response Messages
  57. 57. Request Parameters
  58. 58. For Documentation Only
  59. 59. Spring Surf Documentation Maven Plug-in
  60. 60. Real-time Validation
  61. 61. Multiple Editor Options
  62. 62. Custom Visual Editor
  63. 63. Schema Based Tree Editor
  64. 64. Source Editor</li></li></ul><li>JavaScript Editor Extension<br />18<br /><ul><li>Extension of Web Tools Platform (WTP) JavaScript Development Tools (JSDT) Plug-in
  65. 65. Provides Code Completion for Spring Surf functions/properties
  66. 66. Provide JSDoc for Spring Surf JavaScript Library
  67. 67. Generated by Spring Surf Documentation Plug-in
  68. 68. Use Custom Java Annotations for Code Samples and Documentation</li></li></ul><li>Adding Spring Surf JavaScript Library<br />19<br />
  69. 69. Code Snippets<br />20<br /><ul><li>Extension of Eclipse/WTP Code Snippet View
  70. 70. Spring Surf Code Snippets
  71. 71. Generated by Spring Surf Documentation Maven Plug-in
  72. 72. Developers Provide Code Snippets using Custom Java Annotations </li></li></ul><li>FreeMarker Editor Extension<br />21<br /><ul><li>Based on JBoss FreeMarker IDE
  73. 73. Custom Code Completion Assistant
  74. 74. Context Parameters from Web Script Runtime APIs
  75. 75. Root Objects, Object Methods and Method Parameters
  76. 76. Custom Java Annotations </li></li></ul><li>22<br />Spring Surf Template Project<br />
  77. 77. Download SpringSurf Plug-in<br />23<br />
  78. 78. Spring Surf Template Project<br />24<br /><ul><li>Generate Sample Project for Spring Surf
  79. 79. Come with Sample Pages, Templates, Modules etc.
  80. 80. Use Jetty Plug-in for Testing
  81. 81. SVN location: spring-surf-devtoolsspring-surf-eclipse-extensionsspring-surf-sts-templates
  82. 82. Extends com.springsource.sts.core.resources defining a URL from which to download the Spring Surf template.</li></li></ul><li>25<br />Spring Roo Add-On<br />
  83. 83. What is Spring Roo?<br />26<br /><ul><li>Command line tool aimed at developers creating enterprise applications based on Spring Framework
  84. 84. Uses AspectJ ITD to assist development without affecting primary Java files edited by the user
  85. 85. Code completion to save typing
  86. 86. Context sensitive commands
  87. 87. Developer guidance through “hint” command
  88. 88. Monitors file changes and updates Aspects accordingly</li></li></ul><li>Install SpringSurf Roo Add-on<br />27<br />
  89. 89. Spring Surf Roo Add-on<br />28<br /><ul><li>Add Spring Surf to a New or Existing Spring Project
  90. 90. Easy to Develop, Test and Deploy
  91. 91. Manage All Assets of Spring Surf Project
  92. 92. Pages
  93. 93. Templates
  94. 94. Components
  95. 95. Add-ons etc.</li></li></ul><li>Demo and Q&A<br />29<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×