design - Client/Server are always separated! Or are they? -


How many programmers are there in more community of programmers, such as "How do I backend EXTJS?" Or "How do I integrate Java with Java?", Not understanding the difference between the client and the server. So I started thinking, is there frameworks where the server actually sends something to execute JS or the client? What are the philosophical views around such an approach?

Edit - To clarify:

I am asking, what is possible, I am asking if it has a good strategy or is stuck on it. I'm not asking that client-side languages ​​can run on the server. I'm asking that there are frameworks for the dynamic client side code to serve dynamically.

Many different frameworks do this, when you do ASP.net, you can By looking at the postback call in the client, this is generated by the framework and there is a JavaScript call in the Java world, most JSF frameworks come to a more or a lesser extent on this. Unless you remember the "do not trust the client" rule, I do not see any harm in it so if you are going to validate the field in JavaScript on the client, which prevents you from doing the same check at the end of the server is. I had applied Flex a long time ago, and as part of this I had started the way to create a module that read Hibernate Validation Annotation and automatically prepared the same validation on Action Script but behind me One gets the idea of ​​being able to set the beliefs once and they are checked on the client while saving the round-trip on the server.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -