Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Component Based Rails Application 模块化的Rails_微服务...

Madao
October 17, 2018

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

Ruby Summit 2018

Madao

October 17, 2018
Tweet

Other Decks in Technology

Transcript

  1. 回忆⼀一下常规单体开发的历程 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. 单体应⽤用 View View View View View View View View Controller

    Controller Controller Controller Model Model Model Routes Gemfile
  3. 单体应⽤用 View View View View View View View View Controller

    Controller Controller Controller Model Model Model Routes Gemfile Routes Gemfile Engine
  4. 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
  5. 真的有这样的做的公司/项⽬目吗? 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
  6. FAQ