Learning Alfresco Web Scripts Год издания: 2014 Автор: Ramesh Chauhan Издательство: Packt Publishing ISBN: 9781784390600 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 182 Описание: 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.
Примеры страниц
Оглавление
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 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 3: Understanding the Web Script Framework Execution flow of web scripts Components of the web script framework Deployment architecture Summary 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 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 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 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 8: Deployment, Debugging, and Troubleshooting Web Scripts Deployment options Debugging web scripts Troubleshooting pointers Web scripts on a production server Summary 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 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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum