Component Based Rails Application 模块化的Rails_微服务以外的另一种选择

952e5637ec4deec77c3079f510a251f3?s=47 Madao
October 17, 2018

Component Based Rails Application 模块化的Rails_微服务以外的另一种选择

Ruby Summit 2018

952e5637ec4deec77c3079f510a251f3?s=128

Madao

October 17, 2018
Tweet

Transcript

  1. 10.

    回忆⼀一下常规单体开发的历程 Controller Model Views Controller Model Views ontroller Model Views

    Controller Model Views Controller Model Views Controller Model Views Controller Model Views Controller Model Views Controller Model Views Controller Model Views Controller Model Views Controller Model Views
  2. 32.

    单体应⽤用 View View View View View View View View Controller

    Controller Controller Controller Model Model Model Routes Gemfile
  3. 33.

    单体应⽤用 View View View View View View View View Controller

    Controller Controller Controller Model Model Model Routes Gemfile Routes Gemfile Engine
  4. 36.
  5. 37.
  6. 38.

    M V C M V C V C M V

    C M V C M V C M V C Engines GEMS S1 S2 S3 S4
  7. 41.

    真的有这样的做的公司/项⽬目吗? https://www.joinroot.com/ ROOT 65,000多⾏行行Ruby / Rails应⽤用程序代码 135,000多⾏行行测试代码 37 个 Engine

    22 个Gem 30+ ⼯工程师 https://powerhrg.com 491910 ⾏行行代码 超过30个 Component https://github.com/spree/spree
  8. 47.

    FAQ