
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Amaple 是专为单页web应用而设计的基于页面模块化的JavaScript框架,它可使开发者快速开发单页web应用。Amaple其实由 “A maple”(一片枫叶) 组合而成,它就像Web前端大森林中的一片枝叶,在享受这片森林呵护的同时也为森林增添一丝色彩,因此,Amaple选择了拥抱这片大森林,它的插件功能除了可使用自身规范的插件外,还支持所有 AMD(点击了解详情)和 IIFE(点击了解详情)规范的第三方js库,在rollup、webpack、browserify等模块打包工具流行的今天,这也意味着lodash、socket.io等几乎所有的第三方js库都可以与Amaple协同运作,同时也支持旧式的IIFE格式js库。此外,Amaple还拥有 高级虚拟DOM功能、模块化、MVVM及原生Web化设计 等特性,即使初级前端开发也能顺利掌握和使用,这也充分体现了Amaple “体验优先” 的设计理念。
| IE | Chrome | Firefox | Safari | Andriod | IOS |
|---|---|---|---|---|---|
| v 9.0 ~ | v 26.0~ | v 7.0~ | v 8.0~ | ALL | ALL |
nodejs构建工具的开发者也能编写模块化的js代码,当然对于熟悉nodejs构建工具的中高端开发者,你也完全可以使用webpack、babel、scss/less等工具辅助开发。onclick属性绑定点击事件,使用href属性进行跳转页面,使用<form>设置action属性提交表单,只是它们是浏览器无刷新的跳转,甚至可以创建像 ShadowDOM 那样的组件,在组件内使用特定子元素,看起来就像<video>和<source>、<select>和<option>的关系一样。此框架的使用者可不需了解nodejs构建工具,但必须已掌握html、js和css的基础知识。
普通开发模式适合对Nodejs构建工具不熟悉的初级开发者使用, Amaple 自身的代码模块化管理将会使你摆脱代码缠绕的困扰。此外,Web单页应用需使用 http协议进行模块的请求与跳转,为解决这个问题,我们特地提供了可快速启动一个本地Web服务器的,具有一定文件结构的 Amaple 开发包,开发者只需下载并按以下操作即可完成启动。
src目录下进行开发,将对应类型的代码文件保存到对应文件夹。【注意】1、开发者每次打开的启动程序来启动本地Web服务器,等到开发完成后直接将
src目录下的代码拷贝到生产环境即可; 2、windows 8以上用户 运行启动程序时请右键 以管理员身份运行 打开,否则可能会导致环境变量错误的问题; 3、开发包并不是必须的,如果开发者使用带有本地Web服务器的IDE进行开发,也可自行搭建项目,此时可通过 https://unpkg.com/amaple 获取最新版本的Amaple.js文件。
对于熟悉Nodejs构建工具的中高端开发者,可使用npm安装 Amaple 。
npm install amaple --save
Nodejs环境下的构建教程即将推出,敬请期待...
阅读教程时需特别关注代码中的注释文字,它一般是这个功能的具体使用方法。
如果你对 Amaple 有任何评价、建议或问题,可通过以下方式提交,我们将会在最快的速度进行回复。
FAQs
Amaple is a Experiential JavaScript single page application framework.
We found that amaple demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.