- 官方链接:https://sap.github.io/spartacus-docs/event-service/#page-titleThe Spartacus event service provides a stream of events that you can consume without a tight integration to specific components or... 官方链接:https://sap.github.io/spartacus-docs/event-service/#page-titleThe Spartacus event service provides a stream of events that you can consume without a tight integration to specific components or...
- 做 Web 开发的程序员,无论使用 SAP UI5,还是 Angular,React,Vue,每天都离不开 Chrome / Firefox 开发者工具。Jerry 2018 年的时候,曾经写过一篇关于 Chrome 开发者工具的文章:Jerry 和您聊聊 Chrome 开发者工具。这些开发者工具虽然好用,但是当 Web 应用在移动设备上运行时,想直接在手机浏览器上查看其使用 console... 做 Web 开发的程序员,无论使用 SAP UI5,还是 Angular,React,Vue,每天都离不开 Chrome / Firefox 开发者工具。Jerry 2018 年的时候,曾经写过一篇关于 Chrome 开发者工具的文章:Jerry 和您聊聊 Chrome 开发者工具。这些开发者工具虽然好用,但是当 Web 应用在移动设备上运行时,想直接在手机浏览器上查看其使用 console...
- Jerry 在从事 SAP Commerce Cloud 前台 Angular 开发时,脑子里始终记挂着自己曾经习得的 SAP UI5 开发技术。我刻意要求自己将 SAP UI5 和 Angular 各方面做对比,只希望自己能在这两个前端开发框架上,都有一定的技术积累。最近遇到 SAP 电商云前台开发的一个问题,涉及到 CombineLatest 这个操作符的用法,所以有了这篇文章。在 SA... Jerry 在从事 SAP Commerce Cloud 前台 Angular 开发时,脑子里始终记挂着自己曾经习得的 SAP UI5 开发技术。我刻意要求自己将 SAP UI5 和 Angular 各方面做对比,只希望自己能在这两个前端开发框架上,都有一定的技术积累。最近遇到 SAP 电商云前台开发的一个问题,涉及到 CombineLatest 这个操作符的用法,所以有了这篇文章。在 SA...
- 任务:分析 SAP UI5 root XML 视图的加载逻辑。鼠标放到 initiator 这一列上,找到调用栈的 UIComponent.js 的 createContent 方法:可以看到,这里的逻辑是,从 manifest.json 里解析出 root view 定义,然后实例化该视图。我们再来看看另一个 root 视图加载失败的 SAP UI5 应用:Access to XMLHtt... 任务:分析 SAP UI5 root XML 视图的加载逻辑。鼠标放到 initiator 这一列上,找到调用栈的 UIComponent.js 的 createContent 方法:可以看到,这里的逻辑是,从 manifest.json 里解析出 root view 定义,然后实例化该视图。我们再来看看另一个 root 视图加载失败的 SAP UI5 应用:Access to XMLHtt...
- 登录 SAP Kyma 控制台,创建一个新的 function:实现方式选择 nodejs:自动生成一个同名的 service. 点击 service 面板右下角的 Expose service 按钮,创建一个新的 API rule,将 function 暴露给 internet:选中 function,点击 expose function,创建 API rules:维护 api rule ... 登录 SAP Kyma 控制台,创建一个新的 function:实现方式选择 nodejs:自动生成一个同名的 service. 点击 service 面板右下角的 Expose service 按钮,创建一个新的 API rule,将 function 暴露给 internet:选中 function,点击 expose function,创建 API rules:维护 api rule ...
- 实现效果如下图所示:app view 的实现代码:// @ts-nochecksap.ui.jsview("jerrylist.view.App", { getControllerName: function () { return "jerrylist.view.App"; }, createContent: function (oController) { // to avoi... 实现效果如下图所示:app view 的实现代码:// @ts-nochecksap.ui.jsview("jerrylist.view.App", { getControllerName: function () { return "jerrylist.view.App"; }, createContent: function (oController) { // to avoi...
- 一 启动nomad访问web界面现在,您将快速探索Nomad web界面。如果您到达本教程的顺序不一致,请完成此集合中的前面步骤,或者运行nomad agent -dev -bind 0.0.0.0 -log-level=INFO 二 访问UI只要Nomad在运行,Nomad UI也在运行。它与Nomad HTTP API位于相同的地址和端口,位于/UI命名空间下。运行Nomad dev代... 一 启动nomad访问web界面现在,您将快速探索Nomad web界面。如果您到达本教程的顺序不一致,请完成此集合中的前面步骤,或者运行nomad agent -dev -bind 0.0.0.0 -log-level=INFO 二 访问UI只要Nomad在运行,Nomad UI也在运行。它与Nomad HTTP API位于相同的地址和端口,位于/UI命名空间下。运行Nomad dev代...
- https://sap.github.io/spartacus-docs/extending-checkoutThe checkout feature in Spartacus is CMS-driven, which means every page in the checkout flow is based on CMS pages, slots and components.Spart... https://sap.github.io/spartacus-docs/extending-checkoutThe checkout feature in Spartacus is CMS-driven, which means every page in the checkout flow is based on CMS pages, slots and components.Spart...
- CombineLatest 的使用场景:This operator is best used when you have multiple, long-lived observables that rely on each other for some calculation or determination.当有多个长时间存活的 Observable,且依赖彼此,共同完成某些计算逻辑时,适... CombineLatest 的使用场景:This operator is best used when you have multiple, long-lived observables that rely on each other for some calculation or determination.当有多个长时间存活的 Observable,且依赖彼此,共同完成某些计算逻辑时,适...
- subscribeToArray 函数体的逻辑:它的实质是一个函数:该函数接收一个 array 作为输入参数,遍历这个 array,将其每个元素,作为另一个匿名函数执行的一部分。该匿名函数体内,将 array 的元素作为 subscriber 订阅函数的输入:对上述代码进行一点增强:<html><script>const subscribeToArray = (array) => (subs... subscribeToArray 函数体的逻辑:它的实质是一个函数:该函数接收一个 array 作为输入参数,遍历这个 array,将其每个元素,作为另一个匿名函数执行的一部分。该匿名函数体内,将 array 的元素作为 subscriber 订阅函数的输入:对上述代码进行一点增强:<html><script>const subscribeToArray = (array) => (subs...
- 测试代码:fromEvent(this.test, 'click').pipe(map( event => event.timeStamp), mapTo(1)).subscribe((event) => console.log(event));pipe 操作的两个输入操作:输入参数为数组,包含两个元素:使用原始的 Observable 作为输入,执行这两个操作:数组的 reduce 是一个... 测试代码:fromEvent(this.test, 'click').pipe(map( event => event.timeStamp), mapTo(1)).subscribe((event) => console.log(event));pipe 操作的两个输入操作:输入参数为数组,包含两个元素:使用原始的 Observable 作为输入,执行这两个操作:数组的 reduce 是一个...
- 使用一个例子来研究 map 操作符的工作原理。推荐阅读本文之前,先浏览这篇文章RxJs fromEvent 工作原理分析以了解相关知识。源代码:import { Component, OnInit, Inject } from '@angular/core';import { fromEvent, combineLatest } from 'rxjs';import { mapTo, sta... 使用一个例子来研究 map 操作符的工作原理。推荐阅读本文之前,先浏览这篇文章RxJs fromEvent 工作原理分析以了解相关知识。源代码:import { Component, OnInit, Inject } from '@angular/core';import { fromEvent, combineLatest } from 'rxjs';import { mapTo, sta...
- https://sap.github.io/spartacus-docs/reference-app-structure/该概念在 SAP Spartacus 3.1 版本引入。这个 Reference App Structure 是 SAP 推荐客户在搭建自己的 Spartacus Storefront 时所用的参考。Spartacus 包含若干可以 lazy load 的 feature... https://sap.github.io/spartacus-docs/reference-app-structure/该概念在 SAP Spartacus 3.1 版本引入。这个 Reference App Structure 是 SAP 推荐客户在搭建自己的 Spartacus Storefront 时所用的参考。Spartacus 包含若干可以 lazy load 的 feature...
- 在 module 实现里,务必导入下列 module:import { ReactiveFormsModule } from '@angular/forms';template 实现代码:<input type="text" [formControl]="jerryFormControl"><div>{{ response }}</div>其中 formControl Directive,绑... 在 module 实现里,务必导入下列 module:import { ReactiveFormsModule } from '@angular/forms';template 实现代码:<input type="text" [formControl]="jerryFormControl"><div>{{ response }}</div>其中 formControl Directive,绑...
- 假设有这样一个需求:我们需要增强 HTML 里原生的 input 标签,让其达到,随着用户输入字符时,其颜色自动切换的效果。这是一个典型的可以使用 Angular Directive 实现的需求。每个 Directive 都有一个 host 元素。Decorator that marks a DOM property as a host-binding property and suppli... 假设有这样一个需求:我们需要增强 HTML 里原生的 input 标签,让其达到,随着用户输入字符时,其颜色自动切换的效果。这是一个典型的可以使用 Angular Directive 实现的需求。每个 Directive 都有一个 host 元素。Decorator that marks a DOM property as a host-binding property and suppli...
上滑加载中
推荐直播
-
Skill 构建 × 智能创作:基于华为云码道的 AI 内容生产提效方案2026/03/25 周三 19:00-20:00
余伟,华为云软件研发工程师/万邵业(万少),华为云HCDE开发者专家
本次直播带来两大实战:华为云码道 Skill-Creator 手把手搭建专属知识库 Skill;如何用码道提效 OpenClaw 小说文本,打造从大纲到成稿的 AI 原创小说全链路。技术干货 + OPC创作思路,一次讲透!
回顾中 -
码道新技能,AI 新生产力——从自动视频生成到开源项目解析2026/04/08 周三 19:00-21:00
童得力-华为云开发者生态运营总监/何文强-无人机企业AI提效负责人
本次华为云码道 Skill 实战活动,聚焦两大 AI 开发场景:通过实战教学,带你打造 AI 编程自动生成视频 Skill,并实现对 GitHub 热门开源项目的智能知识抽取,手把手掌握 Skill 开发全流程,用 AI 提升研发效率与内容生产力。
回顾中 -
华为云码道:零代码股票智能决策平台全功能实战2026/04/18 周六 10:00-12:00
秦拳德-中软国际教育卓越研究院研究员、华为云金牌讲师、云原生技术专家
利用Tushare接口获取实时行情数据,采用Transformer算法进行时序预测与涨跌分析,并集成DeepSeek API提供智能解读。同时,项目深度结合华为云CodeArts(码道)的代码智能体能力,实现代码一键推送至云端代码仓库,建立起高效、可协作的团队开发新范式。开发者可快速上手,从零打造功能完整的个股筛选、智能分析与风险管控产品。
回顾中
热门标签