r/programming • • Jun 09 '16

jQuery 3.0 Released!

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
1.1k Upvotes

354 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jun 09 '16

[deleted]

22

u/[deleted] Jun 10 '16 edited Jun 10 '16

Angular isn't designed for every website out there. If you have a relatively simple site or if your site consists of mainly static content then you don't need to use a SPA framework. Your typical MVC framework with a mixture of jQuery will be fine.

9

u/robin_reala Jun 10 '16

Not only don’t need to, but shouldn’t.

5

u/rDr4g0n Jun 10 '16

When building a large web app touched by 50+ different devs (almost entirely NOT UI devs) over 2 or 3 years, a heavily opinionated framework is a godsend.

6

u/[deleted] Jun 10 '16

Angular is really good when it fits into its use case. It's a monolithic SPA framework, if you need a 100% client side web app that consumes your API and has a lot of complex UI interactions, Angular has fit the bill every time for me.

14

u/tgfisher Jun 09 '16

If you haven't already, try Vue.js. It's a nice middle ground between Angular/React and jQuery.

87

u/buddybiscuit Jun 10 '16

I would only use Vue.s if you use Gulp to package it into a Gruntfile with the React/Redux/Tridux/Quadrux core wrapped in the Ember framework and then transpile it using Smoosh.js into Potatoscript. But that's just my preferred stack.

44

u/SemiNormal Jun 10 '16

Haven't you heard? It's all NPM sciptify-node-pack now. You are like two weeks out of style. Get a grip.

4

u/[deleted] Jun 10 '16

Is grip the new hot thing?

/s

0

u/[deleted] Jun 10 '16

[deleted]

1

u/cokestar Jun 10 '16

vanilla-flavored spaghetti?

1

u/ssesf Jun 10 '16

You know every once in a while I come into /r/programming and any time there's a thread that's even remotely about the web, people just circlejerk about how many different tools/frameworks are out there.

Seriously, look how far you have to scroll down to even get to any meaningful discussion related to jQuery 3.0.

13

u/cogman10 Jun 09 '16

I thought React was pretty minimal though. There isn't much more to trim away from it is there?

3

u/tgfisher Jun 09 '16

I love React but if you're wanting to move out of jQuery, Vue.js is a nice stepping stone to React and really shines as a framework that is easy to get up and running and fun to develop on.

13

u/[deleted] Jun 10 '16

Easy and fun eh?

War is easier than maintaining js project.

2

u/redalastor Jun 10 '16

I'm a fan of Mithril.js, you can do pretty much everything you can in React with a very small API.

2

u/TheWix Jun 10 '16

I will check Vue out. I have been using Knockout because most of the time I just need databinding with a sprinkle of templates. Add Typescript and I no longer have the infuriating bugs caused by assigning to an observable like this: myVar = 1

Rather than this: myVar(1)

4

u/judgej2 Jun 10 '16

I'm mostly backend, but am full stack to get the administration pages up. I tried knockout last year, and vue recently. Vue feels more intuitive and easier to get into, and found it easier to debug. I don't have and specifics, it's just a general feel.

1

u/TheWix Jun 10 '16

Cool, I will definitely have a look. Thanks.