Notes
  • 速记
  • 前端面试
  • HTML / CSS
    • HTML
    • CSS
    • CSS Modules
      • CSS Modules
        • CSS Modules Usage
      • Stylus
      • Nunjucks
  • Javascript
    • 正则表达式
    • 代理(Proxy)和反射(Reflection)
    • 类型转换
    • 按位操作
    • 数据可视化
    • 数据采集
      • 无(全)埋点
      • 模块曝光事件
    • package
      • axios
    • Event Loop
    • React
      • React热身
      • VDOM和DOM-diff
    • Vue
    • Omi
    • MVVM
    • 百度小程序
    • AST抽象语法树
    • ServiceWorker
    • WebSocket
  • NodeJS
    • Assert 断言
    • chai.js 断言库
    • Node Global Obj And Var
    • CLI Writed By Nodejs
    • Framework
      • Hapi Js Framework
    • Electrode JS
      • Electrode Platform
      • Electrode Question
    • Redux
      • Redux Basic Usage
      • Middleware And Asynchronous
      • React-Redux 的用法
    • NPM
      • package.json
      • semver
    • Webpack
      • 编写插件
    • 同构渲染
    • 调用DLL
  • 服务端
    • Inotify
    • Linux
    • Nginx
      • Nginx简介
      • Nginx原理、安装预配置
    • TCP/IP 协议
    • HTTP 协议
      • 基础概念篇
      • 协议详解篇
    • Process
      • 阻塞与非阻塞
      • 进程与线程优性能
  • 数据库
    • GraphQL
  • 移动端
  • 微信小程序
    • 微信小程序安装(linux)
    • 小程序第三方框架
  • 开发工具
    • 开发工具安装
    • Vim Command Collection
    • Git
      • Git Rule
      • Git Submodule
      • gitignore
    • Lerna
    • Ubuntu开发环境安装
  • 运维测试
    • Docker
      • Docker Synopsis
      • docker.sock
    • Nightwatch
    • Jest
  • 算法/数学/架构
    • 设计模式
    • 架构设计经验分享
    • 前端架构
    • 基本数据结构
    • 函数式编程
  • 软件工程
    • 软件生命周期
Powered by GitBook
On this page
  • What is Electrode
  • Why use Electrode
  • Requirements
  • What are Archetypes
  • Stand alone Modules
  • Powerful Electrode Tools
  • Electrode 提供了什么
  • Node Framework
  • Lerna
  • 前端

Was this helpful?

  1. NodeJS
  2. Electrode JS

Electrode Platform

precondition:universal React/Node.js application

What is Electrode

Electrode is a platform for building large scale Universal React web applications with a standardized structure that follows best practices and has modern technologies baked in. Electrode focuses on performance, component reusability, and simple deployment to multiple cloud providers—so you can focus on what makes your app unique.

Why use Electrode

If you're writing a universal React/Node.js application, then Electrode is for you!

  • Universal JavaScript

    focus on Universal JavaScript

    SEO Reusability Maintainability

  • Code/UI Reuse

  • Server Side Rendering(SSR) Performance

  • Fast Startup and Deployment

  • Three Pillars

Requirements

What are Archetypes

Archetypes are npm modules that contain the typical standard stuff you would have to add to every new project you create. They encapsulate boilerplates for centralizing your project configurations, workflows, and dependencies.

Stand alone Modules

  • Confippet

  • Above The Fold Rendering

  • Server Side Render Caching + Profiling

  • Stateless CSRF Validation

  • Redux Router Engine

Powerful Electrode Tools

  • Electrify

  • Electrode Explorer

  • Bundle Analyzer

Electrode 提供了什么

  • 一个易用的工作流,从而更加专注于代码,而不是环境。

  • Alone Modules Functionality

  • Powerful Electrode Tools

Node Framework

  • electrode-server

  • hapi

    已配置为中心,配置优于编码,业务逻辑和传输层进行分离;内置用于构建waeb和service应用的庞大的插件(验证、鉴权、和其他基础设施)

  • express

Lerna

Lerna 是用来优化托管在git\npm上的多package代码库的工作流的一个管理工具,可以让你在主项目下管理多个子项目,从而解决了多个包相互依赖,且发布时需要手动维护多个包的问题。

前端

  • React

  • semantic-ui-react

  • redux(flux的实现)

  • react-router

  • ...

同时使用react 的controler-view模式,只用来保存状态,然后将其转发给子组件。一定程度上提高component view 层的重用性。

xenv-config webpack-config-composer

PreviousElectrode JSNextElectrode Question

Last updated 5 years ago

Was this helpful?