Sharing Top Content from the Angular-sphere.

Generating an app with Angular CLI and preparing it for use with ADF 2.0.0

  • Adding Dependencies and Resources to the App Add Libraries Add moment to manage date and time in JavaScript Add Miscellaneous Libraries that ADF is Dependent on Install all Dependencies Check that no duplicate libs are included Import the ADF Core Module into the Application Configure the ADF App with the location of ACS and…
  • Here are some of these components: – – And for integrating with Alfresco Process Services (APS) you have the following components: – – There are also a number of generic components that are used with both ACS and APS: – – These ADF components don’t talk directly to the ACS and…
  • So let’s username/password in both services, which means we need to set up a new user in ACS: – – Alfresco Application Development Framework (ADF) uses the Node.js JavaScript runtime and the npm package manager.
  • To verify whether your installation completed successfully, you can run ng version: – – Now that you have Angular CLI installed, let’s use it to create a new application that we can prepare for ADF development.
  • You can also list the directory to see what’s there: – – Behind the scenes, the following happens: – – Let’s quickly run through and explain what most of these directories and files mean: – – It is preferred to work with the Angular application from a JavaScript IDE such as Visual Studio…

Introduction 

Adding Dependencies and Resources to the App Add Libraries Add moment to manage date and time in JavaScript Add Miscellaneous Libraries that ADF is Dependent on Install all Dependencies Check that no duplicate libs are included Import the ADF Core Module into the Application Configure the ADF App with the location of ACS and APS Logging into ACS and APS Adding the ADF Login component to the App Making the Login component available to the App Adding the Alfresco Login component to the App component template Testing the App with the Login component

This article is a deep dive into how an ADF application is configured, built, and run. Specifically for ADF version 2.0.0. It’s very much a one-time-only type of read that you would do in the beginning of your first ADF project. It will mostly likely benefit you a lot in the long run to know what’s in this article. When you are on top of the stuff in this article you would most likely use generators, or clone a GitHub project, when starting a new ADF project.

This article is part of series of articles covering ADF 2.0:

In this section we will look at what ADF really is.

The Alfresco Application Development Framework, referred to as ADF, is built on top of the Angular 5 JavaScript framework. You can think of ADF as a library of Alfresco web components that can be used to build a content…

Generating an app with Angular CLI and preparing it for use with ADF 2.0.0

Comments are closed, but trackbacks and pingbacks are open.