Perfection in the imperfect and film photography

In Japanese philosophy wabi-sabi it is said that nothing in this world is perfect. This worldview nurtures aesthetics, imperfection and authenticity, believing that only through these concepts you…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




DOM manipulation over REST

Is it possible to change the way of thinking of web applications?

Many years ago the trend it was to realize standalone application software , after was started the run to the MVC server web application and today we are attending to the era of the single-page-application.

Is it possible to follow other ways? Or more easily, exists other ways?

We start with an assumption: today the network rate and the power of the servers infrastructure is more increased than 10–15 years ago and about 10 years ago was started the ideas to move all the code and the runtime processing from server to the client (birth of the SPA applications).

But today is still necessary for this approach?

I’m maturing an idea to change the approach of realization of the web applications.

Let’s go!

Today many application are structured like SPA or monolithic:

In these architectures, if we try to focus on where and when the DOM manipulation takes place, we can describe two scenarios:

Many years ago the network connections were too slow, the CPUs of the desktops or laptops was too small and the power was only into the web servers: the server, that executed the monolithic application, had the thankless task to manipulate the DOM to prepare the HTML code of the web pages and serve the requests of the clients.

After the CPUs of desktop and laptops were fastly increased, but the network connection not was boosted up like CPUs: the trend was to reduce the packet exchanged on the network and move the logic on the client.

I’ll try to explain to you my idea.

The DOR application (DOM Over REST application) will be a new type to think and design the web application.

The idea of the DOR application was born to permit the realization of web application based on component realized and managed on server-side, but assembled and viewed on client-side using a common framework.

These approaches will be so based on five main concepts:

In the next picture I have tried to represent how the DOR architecture needs to be realized:

DOR architecture and layers

To realize this architecture I have created a Java Spring Boot project and I’m trying to realize the Javascript and the Java framework

Now I have generated a simple page with two nested components to try to present the HTML and the CSS Style.

This idea is in an embryonic state: I’m thinking and working to realize the framework at the same time.

There are many topics that I have in mind to drill down, like:

I’ll try to drill down one or more topics in the next stories, but every your advice is welcome…

Thank you for your time!

Add a comment

Related posts:

Forgiveness

What does it mean to forgive? When do you know if it’s right to forgive someone? Are you weak if you constantly ‘turn the other cheek’? And if you do, then where do you draw the line? These are some…

Failure is Not the End

I think failure haunts everyone. It defines us; it shapes our lives; it makes us better. Some people look at failure as a roadblock, a stop sign to not go down that path anymore. I like to think of…

Cambridge Franchise Holdings on the Keys to Franchise Success

Cambridge Franchise Holdings, based out of Bartlett, Tennessee, recognizes the challenges present in managing restaurants across several states. In order to achieve success across such a wide…