Recently, I want to build a web project and prepare to use velocity + sevlet. I found that there are still few related materials on the Internet. It should be because of the old technology. There are not many users. No matter what technology we use as an enterprise, we only need to solve the problem. The velocity framework is a template framework, which is convenient to implement the MVC mode.
The first thing to declare is that this web project is not big. I only have one developer, but it cannot be ruled out that I will join new users in the future. Therefore, to facilitate maintenance, we can help new users quickly get started, I have to make something standardized to makeCodeClearer. It is easier to create a new feature.
My idea is to create an engine that can handle most of the operations on this framework. There is no need for developers to change things too much. The most important thing for the MVC Architecture of WEB projects is the controller. People who learn struts will find that they spend most of their energy learning its xml configuration. So I want to remove this process through a defined rule. Enables developers to focus more on models and allows designers to focus more on views.
This project is also a reconstruction project. In the previous version, the structure was not designed at the beginning, which made it very difficult to maintain and develop the project. I hope the reconstruction can solve this problem. At the same time. I also hope to facilitate the expansion of this framework in the future.
Recently, I 've been wondering how to remove the time cost for developers to learn cantroller. I have thought a lot and have not yet formed a written specification. Now I want to sort out my own ideas, set this specification.
Refer to the struts and Ruby on Rails modes. I want to make this framework a similar something. But in the beginning, we should give it a nice name, called vatana. I am personally creative. I am sorry for the other frameworks I have absorbed. I used them directly.
Vatana_1.0.
1. Basically, this version is embedded with a velocity template. My goal is to solve the Controller issue of URL redirection, so it will not take too much time on the view and model. The model uses the most basic technology sevlet, and velocity is view.
2. Do not consider expanding or introducing other frameworks for the moment. However, in the near future, I hope that vanata can encapsulate sevlet so that developers can pay more attention to the model.
The first product of vatana is the project I want to do. For enterprise applications, there are too many complicated business logic to be concerned about. For example, URL jump and interface beautification are rarely done. I believe that velocity is a very suitable view framework, and I also believe that sevlet can solve all the problems. As for the reason, you need to understand that whatever framework sevlet is the basis of Java Web development,
//////////////////////////////////
The name of vatana is not good. I want to change the name