Gary

Stay Hungry Stay Foolish

在Hexo博客的Next主题中,如果遇到阅读全文没有auto_excerpt的问题,这通常是因为在新版本的Next主题中,auto_excerpt功能已被移除。为了解决这个问题,你可以采取以下步骤:

一、安装hexo-excerpt插件

由于Next主题的新版本不再支持auto_excerpt,你可以通过安装hexo-excerpt插件来替代这一功能。在Hexo博客的网站根目录下,打开命令行工具,运行以下命令来安装插件:

1
npm install hexo-excerpt --save

二、配置站点和主题

阅读全文 »

AMIS(Application Maker for Interactive Scene)
https://developer.baidu.com/article/detail.html?id=3001177

AMIS(Application Maker for Interactive
Scene)是百度开源的一个前端低代码框架。低代码开发是一种新型软件开发方式,通过图形界面拖拉拽的方式实现应用程序的快速构建,旨在提高开发效率、缩短开发周期、降低开发成本。AMIS作为前端领域的低代码框架,具有设计精良、易于集成和扩展的特点,代表了国内前端开源低代码领域的最高水平。

一、AMIS的主要特性

JSON语法:AMIS采用JSON语法格式,通过简单的配置即可实现复杂的前端页面。这使得非专业开发人员也能轻松上手,快速构建应用程序。
成熟组件:AMIS内置了大量开箱即用的成熟组件,如表格、表单、弹窗、布局等,这些组件都是后台管理软件常用的组件。通过这些组件,开发者可以快速搭建出各种功能丰富的界面。
在线测试:AMIS提供了在线测试功能,开发者可以在开发过程中实时查看页面效果,方便调试和优化。
在线文档:AMIS提供了丰富的在线文档,包括使用教程、API文档、组件说明等,方便开发者学习和使用。
二、AMIS的应用场景

AMIS适用于各种需要快速构建前端界面的场景,尤其适用于后台管理系统的开发。通过AMIS,开发者可以快速搭建出增删改查(CRUD)页面、列表页面、表单页面等各种常见页面。同时,由于AMIS的设计是通用设计,它并不局限于特定的使用场景,可以根据需要进行扩展和定制。

阅读全文 »

Amis, a low-code front-end framework open-sourced by Baidu, offers an efficient approach to page development, particularly suited for projects requiring rapid iteration. This framework revolutionizes the traditional front-end development process by empowering developers to generate complex pages through simple JSON configurations rather than extensive coding.

Key Features of Amis:

  1. Low-Code Development:

    • Amis allows developers to swiftly build backend management pages by merely configuring JSON files, significantly reducing the workload associated with front-end development. This feature enables even non-technical users to create functional pages with minimal training.
  2. Rich Component Library:

    • Amis boasts a comprehensive component library comprising over 130+ reusable UI components, including forms, tables, charts, rich text editors, file uploaders, calendars, and more. This extensive library caters to a wide range of development needs, facilitating the creation of visually appealing and feature-rich interfaces.
  3. High Efficiency and Flexibility:

    • By leveraging JSON configurations, Amis streamlines the development process, enabling rapid page construction and iteration. Moreover, it supports custom component development, allowing for a hybrid approach combining low-code configuration with traditional coding, ensuring both efficiency and flexibility.
  4. Dynamic Rendering and Integration:

    • Amis dynamically generates pages based on user permissions and data states, providing robust control over access and content presentation. It also integrates seamlessly with various backend services, facilitating data fetching and form submission through JSON-defined APIs.
  5. Extensive Application:

    • Amis has been widely adopted within Baidu, having created tens of thousands of pages across various departments and projects. Its versatility has been proven in diverse scenarios, ranging from content moderation to machine management, and from data analysis to model training.
  6. Easy Maintenance:

    • The use of JSON configurations for page definition enhances code readability and maintainability. This makes it easier for developers to update and manage existing pages, reducing long-term maintenance costs.
  7. Cross-Platform Compatibility:

    • Amis’s configuration-based approach ensures that a single set of configurations can be adapted for use on multiple platforms, including web and mobile, simplifying the development process for multi-channel applications.

How It Works:

Amis translates JSON configurations into corresponding React components. The type property in the JSON determines the component to be rendered, while other properties are passed as props to the component, facilitating dynamic and responsive page generation.

阅读全文 »

My last post no the github hexo repository was at 2019-11-14 18:59:37, Maybe I need to resatrt this Blog.
From today I will use this bolog to record lerning note,such as langue learning and development exprircen and other things.

My last post on the GitHub Hexo repository was at 2019-11-14 18:59:37. Maybe I need to restart this blog.
From today, I will use this blog to record learning notes, such as language learning, development experiences, and other things.

0%