Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What enyo
Message
De
09/12/2012 22:35:42
 
 
À
07/12/2012 23:06:05
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01558600
Message ID:
01559175
Vues:
86
>>>I don't like the idea of working with multi-languages HTML, CSS , javascript, some sort of middle like python, perl, and a web server. ... So if javascript is going to be the language for the near future then why not use it for all the layers. Node eliminates web server, backbone provides the model, and enyo the UI.
>>
>>Exactly why I started to follow node about 2.5 years ago and pointed that stuff out here about 2 years ago...
>>JS is IMO not as nice/clean as Python, but a common language in all layers trumps that - again IMO.
>
>And even for ASP .NET development, the incentive to master JS is great.
>
>Going through John Papa's CodeCamp stuff I hade an "aha" moment looking at his MVVM when I realized the models and view models were js files, not cs and there is really very little C# code in the whole thing. Makes sense, of course, as the UI is HTML/jqueryUI, binding is knockout and he uses qunit for testing, ninject for IOC etc. but I am still new to this and suddenly it hit me that an ASP .NET web api site could rely almost entirely on things other than C#.

Yeah, but I still agree with most DBA hard hats that validating table data HAS to be done at the db level,
at least if the data is important. As the perf nut in me also sympathizes with having client side validation,
this currently means still double code - having SQL server execute SPROC calling out via Dotnet into JS
might be not considered "enterprize level"...

>My point being that as soon as I looked away from the model of Microsoft enterprise synchronous network desktop applications and started looking at web development two things became obvious :
>
>WPF was not the way to go ( Sivlerlight site is now gone ) as IMO (and I think the opinion of MS right now ) HTML5 / jquery just does it better (and on more platforms) that WPF/xaml .

I am still unconvinced that the MS single direction of layer communication,
which is IMO the crucial difference of MVVM (although it shoud be spelled V-VM-M)
compared to MVC is not the better architecture even for web design.

>Javascript is not just a must but a blessing and a lot of fun. Worth every minute I put into learning it with great community and resource available.

yupp. we all to often forget the warts vfp for instance has from its heritage...

in the last years JS and python implementations are NOT back ports of Java libraries any more,
and the brevity and clearness possible with interpreted/dynamic typed code is a blessing when debugging.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform