Message from JavaScript discussions

March 2017

— A docfrag is literally the same principles as react's virtual dom, even


I'll try to explain with situations which I face daily, we use Symfony in our company and we have created custom form types in Symfony using Twig and AngularJS, these form types are basically reusable components which do a lot of work from helping in generation of views to ajax requests. We just write one line of code to do all this stuff.

— And comes with js

— Nice, I love component based systems like that

— So basically here scalability and reusability comes at cost of speed ( not that much though ) but it saves us ( devs) a lot of hours in which we can do other works

Message permanent page

— Disagree, compute is cheap

— And "performance is everything" and posting PHP snippets a few messages later is kinda... yeah, no

— Php7 is quite performant

— The product I work upon is mainly built in PHP Symfony but there are certain components which we have built in NodeJS because they require real time data flow, similarly we have one module made in C# - to interact with some .NET services , some objective C for iOS and yeah lots of JS - AngularJS as well as vanilla JavaScript including some PrototypeJS ( mainly old code), ExtJS, JqGrid, jQuery and yeah some VBA also for excel reports

Message permanent page

— We might migrate to it soon or later

— Holy hell lmao

— Why not just write js in .NET instead of node at that point