Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Modern day Javascript Development

Modern day Javascript Development

Scheduled Pinned Locked Moved The Lounge
javascripttoolshtmlbeta-testinghelp
33 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Marc Clifton

    BillWoodruff wrote:

    you may not be getting enlightened, either.

    Enlightenment is achieved when you realize that you're not insane, the rest of the world is. ;) Marc

    V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

    B Offline
    B Offline
    BillWoodruff
    wrote on last edited by
    #10

    At this point in my life, I find the idea of enlightenment less than illuminating ... And yet, the fireflies, and the stars, seem to say that nothing needs to be said ... if I surrender to silence. :rose:

    «There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

    1 Reply Last reply
    0
    • R raddevus

      These feelings of being overwhelmed by the plethora of JS libraries are normal and will pass. :) They pass because you will learn to ignore a lot of the noise. I think the main thing to keep in mind is :

      Quote:

      Developers need to make conscious decisions about the frameworks they depend on

      With JS frameworks, we often find that someone has just piled on another library. Also, many newbie devs learn some JS think it is enough and then want JS everywhere (ala Node). That is the old, "If all I got is a hammer..." mentality. JS Waxy Build-up Some of the JS waxy build-up does actually make sense. Keep in mind we need a library for : UI (controls etc) : Bootstrap DOM Manipulation : jQuery Code Organization / MVC / Classic OOP : Angular, Backbone, etc. Anti-Desktop Days You just don't see those libraries (as much) if you're a Windows dev because they are automatically added for you. Really take a look at the designer code to your winforms some time. Or take a close look at what you get from user32.dll sometime. You get a lot of stuff in there that is built-in. MVC Framework :Separation of Concerns The reason we choose another JS framework is to get some separation of concerns like we get in AngularJS. This is a way of organizing your code. However, you can get that from ASP.NET MVC and when you choose ASP.NET MVC you will get all the other things (bootstrap, jQuery, etc) also. Plus you get the Razor view engine which renders your code to nice HTML on the user end. And that's my final question which I think ifyou really think about it, it may drive you toward an answer. Why not just simply choose ASP.NET MVC dev via Visual Studio Community 2015? I mean you get pretty much everything you need from client side to server side and the server code is the nice C# that you have come to love (I know I have). Yes, it does mean you have to understand Bootstrap, a bit of javascript (jquery) and C# and HTML but you can learn them relatively easily and do just about everything you want. I just don't know why the matter hasn't been settled and ASP.NET MVC hasn't been considered the big winner. And I've done quite a bit of Angular and various other JS. Take a look at my articles where I do some pure JS. Great discussion.:thumbsup:

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #11

      Very eloquent reply; perhaps we are all slaves building the Tower of Babel from what settles out of the dust from the clashes of the industry titans struggling for world-web-domination: Google, Microsoft, Apple; the least common denominator residue ... like JavaScript ... that they tolerate (like Swiss neutrality ?) no matter how technically flawed. thanks, Bill

      «There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

      R 1 Reply Last reply
      0
      • B BillWoodruff

        Very eloquent reply; perhaps we are all slaves building the Tower of Babel from what settles out of the dust from the clashes of the industry titans struggling for world-web-domination: Google, Microsoft, Apple; the least common denominator residue ... like JavaScript ... that they tolerate (like Swiss neutrality ?) no matter how technically flawed. thanks, Bill

        «There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

        R Offline
        R Offline
        raddevus
        wrote on last edited by
        #12

        Thanks for reading and replying. That is an interesting take on it too...that JavaScript is a neutral land away from the corporate strongholds. I never thought of it that way before. Interesting.

        1 Reply Last reply
        0
        • M Marc Clifton

          I was thinking, now where did I stash the link to that when I was reading the rant on JS. Glad you posted it, saved me the trouble! ;) Elm looks interesting, why use Elm rather than TypeScript? Marc

          V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          J Offline
          J Offline
          Jon McKee
          wrote on last edited by
          #13

          It depends on your project I'd say. Typescript is definitely an improvement over JS imo and you get the bonus of having a mature language. Elm isn't as mature so may not be suitable for some projects but it offers speed[^], pure functions, immutable data, and simple HTML5 integration via the elm-lang/html[^] package. Plus the language is designed to support basically an MVC pattern they call the "Model, Update, and View" pattern. All of this kinda meshes together to make a nicely decoupled, error-resistant, and easily extendable code-base. There are two good responses here[^] from companies which are using Elm for production. Disclaimer: I'm no Elm expert. Just someone that enjoys what Elm offers. It feels simple and intuitive to use once you get the hang of it while not sacrificing power. Also, markdown support[^].

          1 Reply Last reply
          0
          • V virang_21

            One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

            Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

            B Offline
            B Offline
            Bob Nadler
            wrote on last edited by
            #14

            Don't worry, you're fine. Only an insane person would not feel the pain and frustration of working with JavaScript these days. Everyone talks about how wonderful the democratization of open source is because it has allowed a flood of participation. On the whole, I think the benefits have far outweighed the negatives. Unfortunately, JavaScript is the poster child for that double-edged sword and is suffering under the weight of its own success. My favorite example is also NPM bloat and how fragile it is. Change one dependency and you're likely to fall into a world of hurt. Always remember, nothing is free, especially OSS.

            Bob on Medical Device Software [^]

            1 Reply Last reply
            0
            • M Marc Clifton

              I've found that there's no particular reason to drink the CoolAid that everyone else seems to be downing by the gallon. Unfortunately, it doesn't make one very employable when you can't put 15 different frameworks on your resume. Frankly, it's not just Javascript, but the whole industry, that has gone insane, IMO. If I were to retire at 65, I have 11 years left of this stuff, at the end of which I should have an honorary PhD because the BS keeps getting Piled Higher and Deeper. And it's also not just the arena of languages, frameworks, tools, etc. It's the work environment, the management styles, the corporate culture which also disgusts me. Marc

              V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

              L Offline
              L Offline
              Leo56
              wrote on last edited by
              #15

              Amen to the comment on manager styles and corporate 'culture', Marc. As with JavaScript frameworks, it's all down to obfuscation - if you haven't initiated/attended enough interminable (and essentially pointless) meetings (and topped the bullshit bingo count) then you haven't covered your ar~e with enough bs to deflect to some poor sucker lower in the food chain when the brown stuff does hit the fan. :doh:

              1 Reply Last reply
              0
              • V virang_21

                One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                H Offline
                H Offline
                Herbie Mountjoy
                wrote on last edited by
                #16

                I couldn't agree more. It's ridiculous.

                We're philosophical about power outages here. A.C. come, A.C. go.

                1 Reply Last reply
                0
                • V virang_21

                  One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                  Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                  R Offline
                  R Offline
                  Rockdeveloper16
                  wrote on last edited by
                  #17

                  Yeah, I felt the same too:) My strategy here is to have a deep knowledge and master plain Javascript before learning any of these libraries. Javascript is different than some other languages like C#, Java...at first I hated Javascript because I always felt like struggling, but now I love it. Once you master it and learn how things work under the hood (prototypal inheritance, first class functions, closures...) you probably can use plain Javascript for the most of your your code or even create your own JS libraries. Just my two cents:)

                  1 Reply Last reply
                  0
                  • V virang_21

                    One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                    Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                    E Offline
                    E Offline
                    Ekki13
                    wrote on last edited by
                    #18

                    and after going thru all of this, the end boss (browser compatibility) is waiting for you pure madness, killing time and nerves, and no-one pays for this except for the devs

                    1 Reply Last reply
                    0
                    • V virang_21

                      One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                      Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                      K Offline
                      K Offline
                      kubiiik
                      wrote on last edited by
                      #19

                      You are not the only one.. I feel the same. Maybe that's some kind of test..

                      1 Reply Last reply
                      0
                      • V virang_21

                        One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                        Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                        T Offline
                        T Offline
                        tvenier
                        wrote on last edited by
                        #20

                        Why don't you use a simple JS? You don't even need jQuery! Nothing is better than a simple "document.getElementById".

                        1 Reply Last reply
                        0
                        • V virang_21

                          One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                          Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #21

                          It's all quite easy, really. You simply start by installing the thing so you can calibrate the other thing. After that it's simply a matter of starting the whatchamacallit so you can use the doohickey. Of course you should think about updating the parameters so you can jingle the mumble. You may need the yackity depending on your smackity. Now start up the bibbity giving it a babbity and you will find it just works. Any questions? :D

                          Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                          1 Reply Last reply
                          0
                          • V virang_21

                            One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                            Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                            H Offline
                            H Offline
                            Hans Saurer
                            wrote on last edited by
                            #22

                            You did not mention ECMAScript 6 so far. That's where the trouble starts finally. There are lots and lots of syntactic sugar where my favorite online book says: This is equivalent to... You don't have to use this yourself but if you read someone elses code and you meet things like ...myObject or ´${ROOT_URL}/foo' there is no workaround. You have to once again to look up this strange phrase.

                            1 Reply Last reply
                            0
                            • R raddevus

                              These feelings of being overwhelmed by the plethora of JS libraries are normal and will pass. :) They pass because you will learn to ignore a lot of the noise. I think the main thing to keep in mind is :

                              Quote:

                              Developers need to make conscious decisions about the frameworks they depend on

                              With JS frameworks, we often find that someone has just piled on another library. Also, many newbie devs learn some JS think it is enough and then want JS everywhere (ala Node). That is the old, "If all I got is a hammer..." mentality. JS Waxy Build-up Some of the JS waxy build-up does actually make sense. Keep in mind we need a library for : UI (controls etc) : Bootstrap DOM Manipulation : jQuery Code Organization / MVC / Classic OOP : Angular, Backbone, etc. Anti-Desktop Days You just don't see those libraries (as much) if you're a Windows dev because they are automatically added for you. Really take a look at the designer code to your winforms some time. Or take a close look at what you get from user32.dll sometime. You get a lot of stuff in there that is built-in. MVC Framework :Separation of Concerns The reason we choose another JS framework is to get some separation of concerns like we get in AngularJS. This is a way of organizing your code. However, you can get that from ASP.NET MVC and when you choose ASP.NET MVC you will get all the other things (bootstrap, jQuery, etc) also. Plus you get the Razor view engine which renders your code to nice HTML on the user end. And that's my final question which I think ifyou really think about it, it may drive you toward an answer. Why not just simply choose ASP.NET MVC dev via Visual Studio Community 2015? I mean you get pretty much everything you need from client side to server side and the server code is the nice C# that you have come to love (I know I have). Yes, it does mean you have to understand Bootstrap, a bit of javascript (jquery) and C# and HTML but you can learn them relatively easily and do just about everything you want. I just don't know why the matter hasn't been settled and ASP.NET MVC hasn't been considered the big winner. And I've done quite a bit of Angular and various other JS. Take a look at my articles where I do some pure JS. Great discussion.:thumbsup:

                              J Offline
                              J Offline
                              Jeroen_R
                              wrote on last edited by
                              #23

                              Why not asp.mvc? Well, basically because of Razor. It's not a standard. And the fact that it's still windows only, while a lot of web development is done on Linux and Mac.

                              M R 2 Replies Last reply
                              0
                              • V virang_21

                                One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                                Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                                J Offline
                                J Offline
                                Jeroen_R
                                wrote on last edited by
                                #24

                                The current state of JS is that it's in flux. Very much so. There are historical reasons for that. But most of those things don't matter for your daily work. They are set-and-forget things. Why I’m Thankful for JS Fatigue. I know you’re sick of those words, but this is different.[^]

                                1 Reply Last reply
                                0
                                • V virang_21

                                  One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                                  Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                                  R Offline
                                  R Offline
                                  richp669
                                  wrote on last edited by
                                  #25

                                  I, like many I suspect, have moved away from JS as there seems to be no direction to the ways of doing things. I have been a corporate dev for the last 20+ years and have realized that when developing for a company (any middle sized to large company) the constancy and quality of the code matters. This relates to what devs are allowed to use and bringing in external libraries/code too. I have worked in tightly regulated industries in the past (and probably the future too) when the only thing that is not regulated is the (re) use of other peoples code (which cannot be verified as bug free, consistency nor fir-for-purpose) and this has had me in fierce arguments with many technical and non-technical people. I get to the point that I cannot say that the software I deliver is bug free as I cannot (and will not) guarantee that dependencies are likewise. Moving away from JS just means that there are (currently) fewer options, but that is rapidly changing. Don't get me wrong, as like any dev worth their salt, I am inherently lazy. I don't want to reinvent the wheel (or MVC or EF or WPF or HTML_, but when the quality is compromised by use some else'es home project (which may or may not be flaky) in your 24/7 systems that's the end. I really don't have time to vet all the code that people bring in to the system, and the maintenance nightmare (and possibly regulatory constraints). It gets worse when your build systems are designed to update external code (ie unverified) when a build is done. You can write all the tests in the world to mitigate this behavior, but so long as an external dev doesn't break existing functionality (for good or bad) you will never know if those external modules are leaking (sensitive) data or not. :mad: :((

                                  1 Reply Last reply
                                  0
                                  • V virang_21

                                    One day I entered the world of modern day javascript development and oh my god, what I saw is a perfect plot to drive any sane developer to become a mental zombie on the edge of killing himself and reborn and be killed again by weapon of mass destruction created by these modern day javascript frameworks. It made me first laugh and then cry and then cry some more. All the way I was asking myself why. As a developer how can you put up with something like this. I know there are lot of smart people making lot of smart tools but this is just insane. My journey began as I was trying to learn angular but before that I had to understand all those javascript jargon (which is acceptable to learn any language ) but there are bundlers, task runners, ployfills , hot module loading, linting, module loaders, minification, uglify etc. etc. Then there is grunt,gulp,systemjs,webpack, npm ,node, es6, typescript. Gone are the days when you just put a script tag in your html to your javascript and Jquery files and you are good to go. Number one issue with most of the javascript frameworks are lack of tooling support and framework itself rely on unfinished modules or modules that are still in beta and yet framework claims that it is production ready. Also it feels like, to do a simple thing you have to install this or that module. I guess everyone is relying on someone else to provide that bit of function you can write in few lines of code but no you have to install this or that using npm. Angular's quick start install few hundred modules ( WTF !) . What good is a framework if it needs to rely on so many other modules ? You look at some of the configurations you need to create to make everything work with each other is just ridiculous. Every project on the Internet has different setup using pinch of this and pinch of that. It feels like you are at an international food festival where they use same basic ingredients but what they cook is up to them and everyone has their own flavor. A lot of people are praising these frameworks which makes me wonder either I am too dumb to understand all these or they are afraid that if they say this is insane they will be cast out of community or wake up from their beautiful dream. I have not given up yet but please tell me I am not going insane !

                                    Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.

                                    S Offline
                                    S Offline
                                    Steve Naidamast
                                    wrote on last edited by
                                    #26

                                    You are learning Grass-Hopper... :) I have been writing about these issues in the Microsoft Community for years and everyone has seemingly gone their own way. Yet others have sounded the alarms over this very issue as well. The industry has created a "Tower of Babel" for the sake of expediency and the illusion of productivity to satisfy insane deadlines created by incompetent management. We have the Internet to blame also as it allows everyone to pile their own two-cents in without any restraint. Now we have a community that is quite a mess... And the productivity yields are hardly any better than years ago when things were much simpler to create. Of course today the emphasis is on the coolest tools to use with the latest jargon and not the creation of quality applications. And how could anyone create quality applications with so many tools that have not really been tested thoroughly for their own levels of quality. We should all simply go back to ASP.NT WebForms as the issues that MVC and JavaScript claimed to resolve have only created new ones...

                                    Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                                    1 Reply Last reply
                                    0
                                    • J Jeroen_R

                                      Why not asp.mvc? Well, basically because of Razor. It's not a standard. And the fact that it's still windows only, while a lot of web development is done on Linux and Mac.

                                      M Offline
                                      M Offline
                                      Member 3051919
                                      wrote on last edited by
                                      #27

                                      With .net core you have asp.net mvc on on linux and mac. With a rel. decent IDE (VS 2015/17 Code). MS is really pushing that. One of many examples:

                                      J 1 Reply Last reply
                                      0
                                      • J Jeroen_R

                                        Why not asp.mvc? Well, basically because of Razor. It's not a standard. And the fact that it's still windows only, while a lot of web development is done on Linux and Mac.

                                        R Offline
                                        R Offline
                                        raddevus
                                        wrote on last edited by
                                        #28

                                        Jeroen_R wrote:

                                        And the fact that it's still windows only, while a lot of web development is done on Linux and Mac.

                                        That's a very good point and I don't disagree with you. It's interesting to me that people are doing dev work on non-Windows platforms simply because the Windows tooling was so strong for a number of years for desktop when desktop kind of was all there was. Also, Razor is non-standard but it's a fairly nice rendering engine and it's all backend. Is there some comparable backend rendering engine on Linux? Maybe Java Spring type of thing or something? Just curious. Also, I wonder what % of devs on non-windows platforms is? I suppose Linux and Mac together is at least 50%, right? Interesting.

                                        J 1 Reply Last reply
                                        0
                                        • R raddevus

                                          Jeroen_R wrote:

                                          And the fact that it's still windows only, while a lot of web development is done on Linux and Mac.

                                          That's a very good point and I don't disagree with you. It's interesting to me that people are doing dev work on non-Windows platforms simply because the Windows tooling was so strong for a number of years for desktop when desktop kind of was all there was. Also, Razor is non-standard but it's a fairly nice rendering engine and it's all backend. Is there some comparable backend rendering engine on Linux? Maybe Java Spring type of thing or something? Just curious. Also, I wonder what % of devs on non-windows platforms is? I suppose Linux and Mac together is at least 50%, right? Interesting.

                                          J Offline
                                          J Offline
                                          Jeroen_R
                                          wrote on last edited by
                                          #29

                                          Razor is nice, when you're using C# (or VB) as your backend language. But, nowadays, a lot of backend development is done in Node (JS) or in one of the JVM languages. And there are still a lot of Python (django), Ruby (Rails) and php sites too. Also, I don't think razor supports GraphQL, which might just be the next step for backend protocol. When I go to angular conferences here in Europe, I estimate that slightly more than 50% is on Mac. When I see pictures from the states, it's more like 80%

                                          R 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups