-
Notifications
You must be signed in to change notification settings - Fork 6
Bridje Web
Bridje Web can be used with maven from central repository.
<dependencies>
....
<dependency>
<groupId>org.bridje</groupId>
<artifactId>bridje-web</artifactId>
<version>${bridje.version}</version>
</dependency>
....
</dependencies>
The technologies and philosophies for creating applications for the web and for the cloud are nowadays very diverse and claiming the "best way" to do so is a little pretentious and irrelevant, Bridje Web offers a way to create web applications, Although there are those who argue that HTML, CSS and Javascript should not be abstracted is a fact that many BackEnd programmers do not know in depth the technologies of the client, even those who if they master these technologies often prefer to deal with the FrontEnd or the BackEnd one to the time.
Bridje Web provides a two common approaches to creating web applications, which are reflected in the following principles.
- The application logic must be on the server. This means not writing code that involves the business logic in client languages like Javascript.
- Client technologies should be used only to provide an enhanced user experience, that is
- Dealing with the correct and elegant visualization of information.
- Handle correctly and facilitate as much as possible the input of information.
- Add visual effects and advanced controls such as graphics, etc.
- Establish a correct and efficient communication with the server.
- Anyone who develops the business logic of the application does not need to worry about the details of the client's technologies, the visualization mechanisms must be effectively abstracted to increase productivity.
- The server must have all the resources to handle in a simple and efficient way with the handling of any URL that is presented, either
- Using filters placed directly to handle all HTTP requests.
- Using expressions that dictate exactly the type of URL that a given method is layers handle.
Although the advantages and disadvantages of this philosophy can be debated widely, it is evident that these precepts are not at all wrong. Separation, abstraction and reuse are undoubtedly practical that are very much in line with the development of software in general and with object-oriented development in particular.
The creation of a UISuite is usually a long and complex process, which requires understanding several techniques and mechanisms that provide the framework in addition to the template languages used. Bridje Web exclusively uses Freemarker. The process of creating a suite of components is as follows.