• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nodejs tips and tricks

#11
(09-12-2018, 04:04 AM)ignitedcms Wrote: Thank you for your reply skunkbad. Sorry for my ignorance, but could you clarify what you mean by Angular, react and vue. I see these as front end frameworks whereas nodejs is mainly backend stuff.

I too am I bit fussy about the way nodejs acquires modules or middleware, actually this was one reason why I always disliked fragmented frameworks where you are assumed to acquire different modules via composer. I guess this is just how nodejs operates, so you are at the mercy of the repo author I guess.

Additionally, I know this might be a bit old school, but I feel quite content with jquery, and a few additional plugins for all my front end work. I didn't fancy investing the time to learn angular etc but I understand it is hot on the skills requirements these days.

These front end frameworks are all available through node, and same with Gulp, Grunt, Webpack, Sass, etc, etc. If you're going to use node on the server only, then I guess what I wrote wouldn't be of use. Personally, I don't have enough experience to see how replacing a typical LAMP stack with node + whatever has any real benefits. I'd be interested to know these benefits if you care to explain. I for one don't see how JS on the server (with 1000+ packages) can be as easy and powerful as PHP, and PHP is super well documented, super stable, and all in one place.

Things have totally changed over the years, and even with Composer it's likely to be pulling in a lot of dependencies that end up in ones app. I just think with everything I've done through npm it is more than a little overwhelming.

I guess the theory is that the way jQuery works is obsolete if you intend to have a sophisticated SPA (single page app). I've made some very complex SPAs with jQuery, and even with the best organization they get a bit messy. My SPAs are nothing compared to the interface of gmail (as an example), and so when I think about doing gmail with jQuery it seems the wrong tool. That's where these new front end frameworks come in. In the case of React, it's also claiming big performance benefits compared to jQuery.

I use jQuery every day, so I can't really bash it, and I'll admit that I'm not a guru level JS dev, and I also am not sure that there are any real advantages of using it for the kind of work I usually do. I'm just saying that I'm willing to step outside that box in order to make money, as this is my job, and I'm not here just to play around.
Reply


Messages In This Thread
nodejs tips and tricks - by ignitedcms - 09-10-2018, 01:42 PM
RE: nodejs tips and tricks - by ciadmin - 09-10-2018, 01:52 PM
RE: nodejs tips and tricks - by ignitedcms - 09-10-2018, 01:55 PM
RE: nodejs tips and tricks - by ciadmin - 09-10-2018, 02:03 PM
RE: nodejs tips and tricks - by ignitedcms - 09-10-2018, 02:05 PM
RE: nodejs tips and tricks - by ignitedcms - 09-10-2018, 02:13 PM
RE: nodejs tips and tricks - by donpwinston - 09-10-2018, 06:42 PM
RE: nodejs tips and tricks - by ignitedcms - 09-10-2018, 11:39 PM
RE: nodejs tips and tricks - by skunkbad - 09-12-2018, 02:08 AM
RE: nodejs tips and tricks - by ignitedcms - 09-12-2018, 04:04 AM
RE: nodejs tips and tricks - by skunkbad - 09-12-2018, 08:54 AM
RE: nodejs tips and tricks - by ignitedcms - 09-12-2018, 11:40 AM
RE: nodejs tips and tricks - by ignitedcms - 09-12-2018, 11:45 AM
RE: nodejs tips and tricks - by ignitedcms - 09-17-2018, 03:20 PM
RE: nodejs tips and tricks - by skunkbad - 09-17-2018, 04:44 PM
RE: nodejs tips and tricks - by ignitedcms - 09-17-2018, 09:52 PM
RE: nodejs tips and tricks - by ignitedcms - 09-18-2018, 07:38 AM
RE: nodejs tips and tricks - by ignitedcms - 09-18-2018, 12:42 PM
RE: nodejs tips and tricks - by skunkbad - 09-18-2018, 03:05 PM
RE: nodejs tips and tricks - by ignitedcms - 09-18-2018, 11:14 PM
RE: nodejs tips and tricks - by ignitedcms - 09-19-2018, 12:55 PM
RE: nodejs tips and tricks - by ignitedcms - 09-20-2018, 04:48 AM
RE: nodejs tips and tricks - by ignitedcms - 09-20-2018, 10:25 AM
RE: nodejs tips and tricks - by skunkbad - 09-20-2018, 11:26 AM
RE: nodejs tips and tricks - by ignitedcms - 09-20-2018, 12:07 PM
RE: nodejs tips and tricks - by ignitedcms - 09-20-2018, 12:45 PM
RE: nodejs tips and tricks - by ignitedcms - 09-21-2018, 10:21 AM
RE: nodejs tips and tricks - by ignitedcms - 09-21-2018, 04:55 PM
RE: nodejs tips and tricks - by ignitedcms - 09-21-2018, 07:37 PM
RE: nodejs tips and tricks - by skunkbad - 09-22-2018, 12:07 AM
RE: nodejs tips and tricks - by ignitedcms - 09-22-2018, 12:31 AM
RE: nodejs tips and tricks - by skunkbad - 09-22-2018, 08:00 AM
RE: nodejs tips and tricks - by ignitedcms - 09-23-2018, 11:17 AM
RE: nodejs tips and tricks - by ignitedcms - 09-24-2018, 11:44 AM
RE: nodejs tips and tricks - by ignitedcms - 09-25-2018, 06:09 AM
RE: nodejs tips and tricks - by ignitedcms - 09-25-2018, 06:18 AM
RE: nodejs tips and tricks - by ignitedcms - 09-25-2018, 01:38 PM
RE: nodejs tips and tricks - by ignitedcms - 09-26-2018, 12:58 PM
RE: nodejs tips and tricks - by dave friend - 09-27-2018, 08:37 AM
RE: nodejs tips and tricks - by ignitedcms - 09-27-2018, 10:16 AM
RE: nodejs tips and tricks - by ignitedcms - 09-28-2018, 11:09 AM
RE: nodejs tips and tricks - by ignitedcms - 09-29-2018, 12:48 AM
RE: nodejs tips and tricks - by ignitedcms - 09-30-2018, 09:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.