Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crownpeak-dxm-angular-sdk

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crownpeak-dxm-angular-sdk

Crownpeak Digital Experience Management (DXM)Software Development Kit (SDK) for Angular has been constructed to assist the Single Page App developer in developing client-side applications that leverage DXM for content management purposes.

  • 4.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Crownpeak Logo

Crownpeak Digital Experience Management (DXM) Software Development Kit (SDK) for Angular

Crownpeak Digital Experience Management (DXM) Software Development Kit (SDK) for Angular has been constructed to assist the Single Page App developer in developing client-side applications that leverage DXM for content management purposes.

For all usage instructions, see https://github.com/Crownpeak/DXM-Angular-SDK

Benefits

  • Runtime libraries to handle communication with either Dynamic (DXM Dynamic Content API) or Static (On-disk JSON payload) Data Sources

    As a development team runs their build process, the underlying Angular Application will be minified and likely packed into a set of browser-compatible libraries (e.g., ES5). We expect any DXM NPM Packages also to be compressed in this manner. To facilitate communication between the Angular Application and content managed within DXM, a runtime NPM Package is provided. The purpose of this package is:

    • Read application configuration detail from a global environment file (e.g., Dynamic Content API endpoint and credentials, static content disk location, etc.);
    • Making data models available to the Angular Application, which a developer can map against
      • Dynamic Data - Asynchronously processing data from the DXM Dynamic Content API, using the Search G2 Raw JSON endpoint; and
      • Static Data - Loading JSON payload data directly from local storage.
  • DXM Content-Type Scaffolding

    Developers will continue to work with their Continuous Integration / Delivery and source control tooling to create a Angular application. However, the purpose of the DXM Content-Type Scaffolding build step is to convert the Angular Components in a single direction (Angular > DXM), into the necessary configuration to support CMS operations. At present, the DXM Component Library includes the capability to auto-generate Templates (input.aspx, output.aspx, post_input.aspx) based upon a moustache-style syntax (decorating of editable properties). It is not intended that we re-design this process, as it is fully supported within DXM, and customer-battle-tested - therefore, in order to create Template configuration, the build step:

    • Converts Angular Components into Crownpeak Components by using the existing Component Builder Process, via the CMS Access API (DXM's RESTful Content Manipulation API), and then existing "post_save" process;
    • Creates Templates for each Angular Page (One of the DXM Angular Component Types) by using the existing Template Builder Process, again via the CMS Access API and existing "post_save" process; and
    • Creates a new Model for the Angular Page Content-Type, via the CMS Access API, so that authors can create multiple versions of a structured Page or Component, without needing to run an entire development/test cycle.

Version History

VersionDateChanges
2.0.02020JUN30Initial release.
2.1.02020JUL28New 'init', 'patch' and 'scaffold' options, improved output, lots of bug fixes.
2.1.12020JUL29Updated crownpeak-dxm-sdk-core version.
2.2.02020SEP03Add support for indexed fields and cp-scaffold. Bug fixes.
2.3.02020OCT01Preserve paths for uploads, support uploads from pages and wrappers. Bug fixes.
2.4.02020OCT09Improved uploading and relinking, new page and component creation settings, new --only option. Bug fixes.
3.0.02020NOV06Change to asynchronous data loading, drag and drop zone governance, multi-file component support. Bug fixes.
3.1.02021JAN04Add cp-scaffold for pages, ignore non-Crownpeak components, string replacements via .cpscaffold.json.
3.2.02021JAN07Add cp-scaffold for wrappers, option to include metadata on pages, $file macro in CMS_STATIC_CONTENT_LOCATION.
3.2.12021JAN08Extra macro option using {file} in CMS_STATIC_CONTENT_LOCATION.
3.3.02021JAN13Add cmsDisableDragDrop option to mark components unsuitable for Drag and Drop.
3.4.02021MAR15Bug fixes.
3.5.02021OCT15Template Builder supports default template files, bug fixes.
3.5.12021OCT27Bug fix for error when updating a model inside a project branch.
4.0.02022JAN21Update package.json to allow newer versions of Angular to be used. Thanks to @PMabMI for the assistance.
4.1.02023-07-10Bump DXM SDK Core version to remove vulnerable dependencies.

FAQs

Package last updated on 10 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc