Alfresco One 5.x Developer's Guide - Second Edition.
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2017.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: The Alfresco Platform
- Alfresco in the real world
- Basic document management
- Web content management
- Content authoring tools
- Separation of presentation from content
- Systematic publication or deployment
- Alfresco WCM example
- Custom content-centric applications
- Example used throughout this book
- Alfresco architecture
- High-level architecture
- Add-ons
- Open source components
- Major standards and protocols supported
- Customizing Alfresco
- Basic customization
- Dashlets
- Custom site configuration
- Rules and actions
- Simple workflow
- Advanced customization
- Examples of advanced customizations
- Extend the content model
- Perform automatic operations on content
- Customize Alfresco Share
- Create a RESTful API
- Streamline complex business processes with advanced workflows
- Integrate with other systems
- Dusting off your toolbox
- Understanding Alfresco's editions
- Significant feature differences
- What's used in this book
- Summary
- Chapter 2: Getting Started with Alfresco
- Introduction to the Alfresco SDK
- Maven archetypes
- Install prerequisites
- Spring Loaded
- JDK
- Maven
- Install STS
- Create your first application
- Rapid application development
- Traditional approach
- Install Alfresco
- Download Alfresco
- Create your virtual machine
- Deploy your modules
- Check that your modules are installed
- Extending Alfresco
- Understanding the extension mechanism
- Standard Java web application files
- Framework files
- Spring configuration files
- Alfresco configuration files
- Solution-specific files
- Avoid Modifying Alfresco Code and Configuration
- Troubleshooting
- Log4j.
- Step-by-step
- debugging from within Eclipse
- Node browser
- Starting over
- Summary
- Chapter 3: Working with Content Models
- Defining SomeCo's content model
- Step-by-step
- starting the custom content model with custom types
- Types
- Properties and property types
- Constraints
- Step-by-step
- adding properties to types
- Step-by-step
- relating types with associations
- Associations
- Step-by-step
- adding aspects to the content model
- Aspects
- Step-by-step
- finishing up the model
- Manage property indexing
- Modeling summary
- Custom behavior
- Modeling best practices
- Out-of-the-box models
- Configuring the UI
- Step-by-step
- configure Share forms
- Step-by-step
- adding types and aspects to Alfresco Share dropdowns
- Step-by-step
- externalizing display labels
- Setting up additional locales
- Step-by-step
- adding properties and types to advanced search
- Working with content programmatically
- Step-by-step
- creating content with JavaScript
- Knowing when to save documents
- Using JavaScript for batch manipulation
- Writing content to the content property
- Creating content with CMIS
- Step-by-step
- run CmisClientClass to create content
- Creating associations
- Searching for content
- Deleting content
- Model manager
- Summary
- Chapter 4: Handling Content Automatically with Actions, Behaviors, Transformers, and Extractors
- Encapsulating content operations in actions
- Step-by-step
- creating a basic action
- Hiding the action from end users
- Creating actions that require user-specified parameters
- Step-by-step
- creating an action configurable in Alfresco Share
- Specifying parameters when code executes an action
- Binding logic to custom types with behaviors
- Step-by-step
- writing a simple behavior in Java
- Binding to multiple types/aspects
- Frequency.
- Figuring out to which policies to bind
- Step-by-step
- writing a simple behavior in JavaScript
- Binding behavior to child types
- Step-by-step
- writing a user ratings calculator
- Step-by-step
- testing the new rating behavior
- Handling deleted ratings
- Extracting metadata from files
- Customizing metadata extractors
- Step-by-step
- customizing the metadata mapping
- Overriding the default mapping
- Leveraging out-of-the-box metadata extractors
- Transforming content from one format to another
- Step-by-step
- writing a custom transformer
- Summary
- Chapter 5: Customizing Alfresco Share
- Knowing when to customize Alfresco Share and when to write your own
- Adding new menu items
- Step-by-step
- adding a simple menu item
- Adding new action items
- Step-by-step
- adding an action item to set the web flag
- Restricting the action item by permission
- Writing action evaluators to show/hide UI actions
- Step-by-step
- evaluating whether or not to show the set web flag actions
- Changing how Share renders forms
- Step-by-step
- using a text area field
- Step-by-step
- changing the Status field on the Details page to display as a Stoplight indicator
- Overriding and customizing components
- How to use indicators
- Step-by-step
- creating indicators for the status indicator
- How to create metadata template
- Step-by-step
- create a metadata template for Operations document
- Creating custom dialogs
- Step-by-step
- creating a dialog to publish Whitepapers
- Creating custom dashlets
- Step-by-step
- creating a dashlet listing Whitepapers
- Step-by-step
- adding filters to your Dashlet
- Create custom pages
- Step-by-step
- create a new page to list all Webable documents
- Summary
- Chapter 6: Creating an Angular Application
- Understanding the framework
- Components
- Prepare your environments.
- Step-by-step
- creating the new virtual machine
- Creating your first JavaScript application
- Step-by-step
- develop your first custom UI using the JavaScript API
- Creating your first Angular web application
- Step-by-step
- installing all prerequisites
- Step-by-step
- creating your first Angular application
- Step-by-step
- running the Alfresco demo shell
- Summary
- Chapter 7: Exposing Content through a RESTful API with Web Scripts
- Introducing the Web Script Framework
- Step-by-step
- Hello World web script
- What just happened?
- Following the Model-View-Controller pattern
- Adding controller logic
- Configuring the Web Script Framework
- Specifying the HTTP method
- Specifying arguments
- Specifying the response format
- Deploying web scripts
- Building solutions with the Web Script Framework
- Planning the SomeCo whitepapers and ratings API
- Retrieving data with web scripts
- Step-by-step
- writing a web script to list whitepapers
- Debugging
- Fast facts
- Organizing web scripts
- Overriding web scripts
- Choosing a URL
- Choosing between the repository and the classpath
- Step-by-step
- retrieving the rating for a whitepaper
- Specifying optional arguments
- Handling errors
- Writing Java-backed web scripts
- Step-by-step
- writing a Java-backed web script to handle ratings posts
- Using the correct ID for Web Script Beans
- Using both Java and JavaScript for controller logic
- Wiring a web script to UI widgets
- Step-by-step
- using a widget to post ratings
- Implementing the delete ratings link
- Adding the web script calls to SomeCo's whitepaper web page
- Making other types of content rateable
- Dealing with the cross-domain scripting limitation
- Handling form data
- Step-by-step
- implementing a form-based Hello World
- Step-by-step
- using file upload in a multipart request.
- Advanced web scripts
- Dealing with web script authentication
- Controlling web script cache
- Summary
- Chapter 8: Advanced Workflow
- What is a workflow?
- Workflow options
- Roll your own
- Standalone engines
- Embedded workflow engines
- Creating process definitions
- Step-by-step
- creating a Hello World process definition
- Using the Activiti graphical process designer
- Step-by-Step
- using Activiti process designer to create processes
- Tokens
- Node types
- Versioning process definitions
- Using alternative deployment methods
- Wiring a process to the Alfresco UI
- Step-by-step
- grabbing the Hello World argument from the user
- Understanding workflow-specific content models
- Assigning tasks to users and groups
- Step-by-step
- creating the initial Whitepaper submission workflow
- Controlling what actions can be taken from the Task Management dialog
- Enabling the Workflow Initiator to Select Users and Groups
- Step-by-step
- use dynamic user assignment
- Adding Logic to Workflows with Listeners and Process Variables
- Storing Data in Process Variables
- Step-by-step
- adding logic to the Whitepaper submission workflow
- Getting access to the content in the workflow
- Using multi-instances
- Using the Activiti API
- Step-by-step
- implementing third-party review
- Making the third-party review more robust
- Using timers
- Step-by-step
- adding a timer to the third-party review
- Debugging workflows
- Comparing Alfresco workflow options
- Summary
- Chapter 9: Amazing Extensions
- Configure and use the search manager
- Configure and use the Smart Folders
- Step-by-step
- create your own Smart Folder template
- Alfresco mobile
- Step-by-step
- import and run the Alfresco Sample UI
- Step-by-step
- create SomeCo mobile application
- Summary
- Chapter 10: Security.