Welcome Guest, Not a member yet? Register   Sign In
nodejs tips and tricks
#11

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



Theme © iAndrew 2016 - Forum software by © MyBB