U
U
utyv2014-02-09 09:42:52
Dart
utyv, 2014-02-09 09:42:52

DART: Compiler check for consistency between client and server modules

I am a beginner in web development, just trying to keep track of technology development. Dart is interested in the fact that the same typed language is offered for the client and server. I want to understand this for myself. Let's say I call a method on the server from the client. Will the compiler check for the presence of this method, the number, types of parameters and return value? Or such calls are impossible? Or is this task successfully solved by other frameworks?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Pushkarev, 2014-02-09
@utyv

What does the language and compiler have to do with it? RPC is a framework business. Not quite a fool if - check.
Full stack frameworks with the same language on both the server and the client are nothing new. See Meteor.js or Derby.js for example.

O
OnYourLips, 2014-02-09
@OnYourLips

Let's say I call a method on the server from the client.
First you need to figure out how the client requests the server ;)

U
utyv, 2014-02-09
@utyv

Are you implying that this is a very complicated process? I guess. Is this an insurmountable obstacle for the compiler to be able to match the code on the client and on the server? Some wrappers will not help here?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question