Web Scripts, Surf and CMIS [A Developer's Intro to Alfresco, Part 3. By Jeff Potts]
by Alfresco Software on Apr 14, 2009
- 6,503 views
\Web Scripts, Surf, & CMIS ...
\Web Scripts, Surf, & CMIS
What is the Web Scripts framework?
Alfresco’s REST API can be thought of in three chunks
Alfresco URLs used by Explorer and Share (tagging, comments, blogs, discussions, etc.)
CMIS URLs used for generic node operations, queries, and repository traversal
Custom URLs
Web Script Framework used to declare a URL, bind it to logic, provide views
Model-View-Controller pattern
Controller implemented in JavaScript or Java
Views implemented in FreeMarker
Deployed to the repository or the classpath
What is CMIS?
Draft OASIS specification, not a ratified standard yet
Alfresco, IBM, Microsoft, Oracle, FileNet support
Alfresco rolled out an early implementation of the draft spec as well as a unit test suite
Two parts
Interoperability through standard SOAP and RESTful bindings
SQL-based query language for rich content repositories
RESTful responses returned as extended ATOM
Think of it as a language-independent, repository-independent API for content management
CRUD functions for nodes
Check-in/check-out
Associations
Policies
Queries
Repository traversal
What is SURf?
Web application development framework built on web scripts
Essentially web scripts++
Page definition
Declarative handshakes to HTTP end points
Page, page type, and object dispatching
Includes built-in hooks for talking to Alfresco and loading objects from the repository
Surf's two-tier architecture:
- presentation tier... model objects, spring, freemarker, etc.)
- repository tier (web scripts, repository, CMIS, Social UI, content graph, etc.)
Demo
Much more to explore:
Alfresco Explorer Client Customization
Behaviors
Metadata Extractors
Transformers
Advanced Workflow (JBoss jBPM)
Permissions
Authentication against LDAP
Web Services API
AMPs
Import/Export
Web Content Management
Sandboxes
Web Forms
Deployment
More information and resources:
Alfresco Developer Guide
http://www.packtpub.com/alfresco-developer-guide/book
Alfresco Content Community
http://share.alfresco.com
Alfresco Forums
http://forums.alfresco.com
Alfresco Wiki
http://wiki.alfresco.com
Alfresco Blogroll
http://blogs.alfresco.com/planet/
ECM Architect
http://ecmarchitect.com
Optaros Home Page
http://www.optaros.com
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Microsoft PowerPoint
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 4
- Downloads
- 348
- Comments
- 2
- Embed Views
- Views on SlideShare
- 6,453
- Total Views
- 6,503
1–2 of 2 previous next