What will be the future web programming architecture.
Let us see the current trend first,
So Mostly current web sites operating on Server - Client architecture in which client (e.g. browser) requests to the server and server respond with HTML format. Now a days most of the websites are using REST calls to get data from server in deep client and server both have their own frameworks (e.g. client side - angular js, knockout js, server side - JEE - java, ROR, Cakephp - PHP.). So seperating as different pieces utilizing the server and clients properly which means not giving more load to particular side (good balance).
Current technologies are good enough in terms of performance, scalability e.t.c. But still we need to invest more on hardware to handle requests, but in client side we can improve more, we may reduce the server work and give it to client since each user will have a client whereas there will be only one server(in simple case) serving requests.
Nodejs (javascript can write server code) is a booming technology which may invent more ways for the future,
What will be the future?
Well it is good to go with improving client side frameworks. I am thinking of having a middle component between server and client. is that possible? if so how we can design it? lets see,
Middle component can be in client side, which will share most of the server work, and allowing a request to hit server only on persistence related stuffs where as middle component will see the sessions, business and other stuffs. Challenging task here is to hiding the middle component source from the user. So we should find a way for it. Node js can help to achieve it.
So when we achieve above architecture the server load will be reduced tremendously, no need to upgrade the server hardwares since users going to share more memory.. :-)
Lets look forward for (Client-Middle component) - Server architecture may be. :-)
Let us see the current trend first,
So Mostly current web sites operating on Server - Client architecture in which client (e.g. browser) requests to the server and server respond with HTML format. Now a days most of the websites are using REST calls to get data from server in deep client and server both have their own frameworks (e.g. client side - angular js, knockout js, server side - JEE - java, ROR, Cakephp - PHP.). So seperating as different pieces utilizing the server and clients properly which means not giving more load to particular side (good balance).
Current technologies are good enough in terms of performance, scalability e.t.c. But still we need to invest more on hardware to handle requests, but in client side we can improve more, we may reduce the server work and give it to client since each user will have a client whereas there will be only one server(in simple case) serving requests.
Nodejs (javascript can write server code) is a booming technology which may invent more ways for the future,
What will be the future?
Well it is good to go with improving client side frameworks. I am thinking of having a middle component between server and client. is that possible? if so how we can design it? lets see,
Middle component can be in client side, which will share most of the server work, and allowing a request to hit server only on persistence related stuffs where as middle component will see the sessions, business and other stuffs. Challenging task here is to hiding the middle component source from the user. So we should find a way for it. Node js can help to achieve it.
So when we achieve above architecture the server load will be reduced tremendously, no need to upgrade the server hardwares since users going to share more memory.. :-)
Lets look forward for (Client-Middle component) - Server architecture may be. :-)