Spring Surf Development Tools

  • 3,346 views
Uploaded 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 …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,346
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
106
Comments
0
Likes
0

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