Why i hate frameworks (why hate the frame!) (Transfer)

xiaoxiao2021-04-10  598

Why i hate frameworks (why hate the frame!) (Transfer)

Author: Benji Smith Original Link: Why I Hate Frameworks I am in the construction of a Java-based web application (yes, you must be based on Java, but I don't want to discuss the reasons). In this process, I assessed a series of CMS application container frames that mostly have J2EE portals that use MVC architectures compatible with JSR, based on roles. However, after doing dozens hours, I almost wanted my eyes almost. First, assume that I decided to be a condiment shelf. I have done some small woodworking, so I know that I need the following things: some wood and basic tools, including tape measure, saw, level and hammer. If I want to make a house, not just a seasoning rack, I still need a tape measure, azitable, a level, and a hammer (and other things). So, I ran to a hardware store and ask a salesman where I can find a hammer. "Hammer?" He said: "Now no one is going to buy a hammer. This is already outdated." I am surprised that such a development, so he asked him why. "Well, the problem is there are too many hammers. Hammer, pull hammer, ball hammer, etc. You bought one, and then I found out what to do? You have to get next time Buy alone. Therefore, most people actually need a hammer that can handle all the hit hitting that may encounter in their lives. "" Well, this sound is quite good. So where I can find this What is a universal hammer? "" No, we are no longer sold. "" "" Really? I think you just said that the general hammer is the future trend. "" In fact, if you produce one A hammer that can handle all things, but it is not very efficient to handle anything. With a top hammer to pull the nails very hard. And, you have to kill your predecessor, there is nothing more than one It's more suitable for the ball hammer. "" This is true. If no one will buy this universal hammer, and you no longer sell vintage hammers, then what kind of hammer do you sell? "" On, we don't sell hammers. "" So ... "" According to our research, people need to do the common hammer. It is best to do different work with different hammers. So, now sell the hammer factory, it can generate any What you need. What you need is just to recruit employees for the hammer factory, start the machine, buy raw materials, pay public businesses, so you can always get the hammer you need at any time. "" But I really don't want to buy one Hammer factory ... "" Detail. We don't sell the hammer factory. "" But you just said ... "" We found that most people don't need a whole hammer factory. For example, some people are impossible Ball hammer. (Maybe they don't have the former girlfriend. Or they use ice cone to solve them.) So a fact that some people can produce a variety of hammers are meaningful. "" Ye, this actual More. "So, we start selling a map of the hammer factory so that our customers can build their own hammer factories, the self-designs only generate the hammers they actually need." "Let me guess. You are no longer Sales these. "" Yes, it is true. In fact, people will not build a factory for a few hammers. As I often say, let the experts of the construction plant will build the factory. "" I am Approving. "" "Yes. So we stop selling these schematic, transfer to build a factory in the construction of a hammer factory. The factory for each construction hammer factory is built by top experts in this area, so you don't need to worry about the construction plant. Details. You still have the benefits of custom hammer factories, making your own hammer according to your own specific hammer design.

转载请注明原文地址:https://www.9cbs.com/read-133478.html

New Post(0)