What does “monolithic” mean?

前端 未结 6 2292
抹茶落季
抹茶落季 2021-02-13 00:23

I\'ve seen it in the context of classes. I suspect it means that the class could use being broken down into logical subunits, but I can\'t find a good definition. Could you give

6条回答
  •  清酒与你
    2021-02-13 01:21

    A monolithic architecture is a model of software structure which is created as one piece where all Rails tools (ActionMailer, ActiveJob, ActionCable, etc.) can be gathered together with the code that these tools applies. The tools are not connected with each other but they are also not autonomous.

    If one feature needs changes, it will influence the work of the whole process and other features because they are parts of one process.

    Let’s recall what Ruby on Rails is, what it can offer, its pros and cons. Its most important benefit is that it is easy to work with.

    If you write rails new you immediately get a new application at once, then you can create any REST API you want and use Rails helpers and generators, which makes development even easier.

    If you need to send emails in your Rails app, then use Rails ActionMailer. When you need to do some hard processing, ActiveJob will help you. With Rails 5 you will also be able to use websockets out of the box. Thus, it will be easy to create chats or make your application more interactive.

    In case you use correct DSL syntax, you can use all that and even more immediately. Moreover, you don’t have to know everything about the internal implementation of these tools, consider it’s DSL, and receive the expected result.

提交回复
热议问题