Learning Alfresco Web Scripts

Learn a powerful way to successfully implement unique integration solutions with Alfresco
Preview in Mapt

Learning Alfresco Web Scripts

Ramesh Chauhan

1 customer reviews
Learn a powerful way to successfully implement unique integration solutions with Alfresco

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.60
RRP $17.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$12.60
$29.99
$29.99 p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning Alfresco Web Scripts Book Cover
Learning Alfresco Web Scripts
$ 17.99
$ 12.60
Alfresco One 5.x Developer's Guide - Second Edition Book Cover
Alfresco One 5.x Developer's Guide - Second Edition
$ 35.99
$ 25.20
Buy 2 for $30.10
Save $23.88
Add to Cart

Book Details

ISBN 139781784390600
Paperback182 pages

Book Description

Alfresco web scripts is a key feature of the Alfresco enterprise content management system that enables other applications to interact with the Alfresco repository in a secure way. This book will help you understand everything you need to know about web scripts so that you can practically apply them to your own projects.

You will begin by learning the basics of Alfresco web scripts, giving you a clear idea about how web scripts are a useful solution to your business problems. Moving on, you will delve into the powerful web script framework and then get a complete walk-through of all the components required to build web scripts. Later in this book, you will discover various ways to execute web scripts. You will learn about useful JavaScript APIs in Alfresco that you can leverage when building business solutions with web scripts. Moving further, you will learn about deployment, debugging, and troubleshooting web scripts, and find instructions to develop web scripts in a Maven project that will help you learn how to build web scripts in a real development environment.

Table of Contents

Chapter 1: Getting Familiar with Web Scripts
Understanding web scripts
Reasons to use web scripts
Understanding when to use a web script
Understanding where web scripts can be used
Understanding how web scripts work
Types of web scripts
Summary
Chapter 2: It's Time for the First Web Script
Creating your first web script in Alfresco
Understanding the web script URI
Adding arguments to a web script
Extending the first web script to use the controller
Behind the scenes of web script execution
Important things for any web script
Summary
Chapter 3: Understanding the Web Script Framework
Execution flow of web scripts
Components of the web script framework
Deployment architecture
Summary
Chapter 4: Building Blocks of Web Scripts
The description document – it's a must!
Controller implementation – not mandatory!
Response templates – yes, they are required!
I18N for a web script – it's optional
Configuration document – it's optional
Naming conventions – the most important thing
Summary
Chapter 5: Invoking Web Scripts
Invoking a web script from a web browser
Executing a web script using web browser plugins
Executing a web script from standalone Java program
Calling web scripts from Spring-based services
Invoking a web script from Alfresco Share
Calling a web script from JSR-168 portals and the JSF page
Dealing with client limitations
Summary
Chapter 6: Creating Java-backed Web Scripts
Use case scenario
Web script functionality at a high level
Getting ready
Creating a description document
Creating a response template
Creating a Java controller
Configuring the controller for the web script
Deploying the web script
Testing the web script
DeclarativeWebScript versus AbstractWebScript
Using controllers smartly
Summary
Chapter 7: Understanding JavaScript-based Web Scripts in Detail
Understanding what you can do with the JavaScript API
JavaScript APIs in Alfresco
A must-know ScriptNode API
Code examples
Creating your own root object
Summary
Chapter 8: Deployment, Debugging, and Troubleshooting Web Scripts
Deployment options
Debugging web scripts
Troubleshooting pointers
Web scripts on a production server
Summary
Chapter 9: Mavenizing Web Scripts
Setting up your environment
Creating the default project structure for AMP
Generating AMP from the default project
Setting up a development environment with Eclipse
Understanding the default project structure
Extending your default project to create web scripts
Applying AMP to the Alfresco WAR for testing
Summary
Chapter 10: Extending the Web Script Framework
Custom implementation of the web script runtime
The custom implementation of a web script container
Custom authenticator implementation
Custom script processor implementation
Custom template processor implementation
Customizing formats
Summary

What You Will Learn

  • Implement web scripts in Alfresco and learn about their fundamentals
  • Understand the end-to-end execution flow with core details and get an insight into the robust web script framework
  • Gain extensive knowledge about the building components of web scripts
  • Explore different options to invoke Alfresco web scripts
  • Leverage the power of useful JavaScript APIs in web script implementation
  • Understand various deployment options, debugging techniques, and troubleshooting pointers
  • Learn about extension capabilities to extend the web script framework

Authors

Table of Contents

Chapter 1: Getting Familiar with Web Scripts
Understanding web scripts
Reasons to use web scripts
Understanding when to use a web script
Understanding where web scripts can be used
Understanding how web scripts work
Types of web scripts
Summary
Chapter 2: It's Time for the First Web Script
Creating your first web script in Alfresco
Understanding the web script URI
Adding arguments to a web script
Extending the first web script to use the controller
Behind the scenes of web script execution
Important things for any web script
Summary
Chapter 3: Understanding the Web Script Framework
Execution flow of web scripts
Components of the web script framework
Deployment architecture
Summary
Chapter 4: Building Blocks of Web Scripts
The description document – it's a must!
Controller implementation – not mandatory!
Response templates – yes, they are required!
I18N for a web script – it's optional
Configuration document – it's optional
Naming conventions – the most important thing
Summary
Chapter 5: Invoking Web Scripts
Invoking a web script from a web browser
Executing a web script using web browser plugins
Executing a web script from standalone Java program
Calling web scripts from Spring-based services
Invoking a web script from Alfresco Share
Calling a web script from JSR-168 portals and the JSF page
Dealing with client limitations
Summary
Chapter 6: Creating Java-backed Web Scripts
Use case scenario
Web script functionality at a high level
Getting ready
Creating a description document
Creating a response template
Creating a Java controller
Configuring the controller for the web script
Deploying the web script
Testing the web script
DeclarativeWebScript versus AbstractWebScript
Using controllers smartly
Summary
Chapter 7: Understanding JavaScript-based Web Scripts in Detail
Understanding what you can do with the JavaScript API
JavaScript APIs in Alfresco
A must-know ScriptNode API
Code examples
Creating your own root object
Summary
Chapter 8: Deployment, Debugging, and Troubleshooting Web Scripts
Deployment options
Debugging web scripts
Troubleshooting pointers
Web scripts on a production server
Summary
Chapter 9: Mavenizing Web Scripts
Setting up your environment
Creating the default project structure for AMP
Generating AMP from the default project
Setting up a development environment with Eclipse
Understanding the default project structure
Extending your default project to create web scripts
Applying AMP to the Alfresco WAR for testing
Summary
Chapter 10: Extending the Web Script Framework
Custom implementation of the web script runtime
The custom implementation of a web script container
Custom authenticator implementation
Custom script processor implementation
Custom template processor implementation
Customizing formats
Summary

Book Details

ISBN 139781784390600
Paperback182 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Alfresco One 5.x Developer's Guide - Second Edition Book Cover
Alfresco One 5.x Developer's Guide - Second Edition
$ 35.99
$ 25.20
Alfresco Developer Guide Book Cover
Alfresco Developer Guide
$ 35.99
$ 25.20
Alfresco Share Book Cover
Alfresco Share
$ 29.99
$ 21.00
Unreal Engine 4 AI Programming Essentials Book Cover
Unreal Engine 4 AI Programming Essentials
$ 27.99
$ 19.60
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Unreal Engine Physics Essentials Book Cover
Unreal Engine Physics Essentials
$ 31.99
$ 22.40