Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
how do you feel about using angular for large projects?
I tried using polymer for a large project. started when it was in 0.5. I myself just started being a dev around that time. so naturally 0.5 had things I loved and things that just didn't work but then the jump to 1.0 messed me up. 1.0 is better tho and polymers components have gotten more stable, support has gotten better but I'm now learning angular since its been around longer, is more popular and therefore better support exists.
I've just been wondering if I'll run into similar issues with angular. I have to choose 1.0 or 2.0 with angular as an example of where my paranoia comes from with angular. -
I've been using Polymer (since 0.5) and React for my 2 large projects. In my experience, having a modular project structure and enforced coding style can help a lot.
When I was using Polymer, there are a lot of quirks. For instance, without ES6's arrow functions, you have to make a hell lot of "var self = this" to access your component scope in event listeners. You would need to manually access the DOM to do a lot of things. Hell, lots of us was using jQuery in it.
After that, I need to extend the first project into something bigger. Polymer seems like it's more trouble than it's worth. Later, React came out. I instantly decided I'd rewrite it in React, from the ground up.
For React, Redux and ES6, it simply removed those quirks. With server rendering, props and states, vDOM diffing and reusable components, user and development experience has become a lot better.
Was React worth it? Definitely yes. You'll see how great data flow and reusable components is. Cheers! 😉 -
@soulkicks we've used angular 1 in our cms, CRM and public booking system. It works great in all of those, but it pretty much forces you to write one page apps glued together. Wouldn't recommend nodejs with angular for high traffic websites. There are some problems with scalability and I believe java would perform much better.
-
@phoomparin Thanks for your insight. I might actually give it another go with React after reading this :)
-
probably Backbone-marionette is something you're looking for. simple, structured, with power of jquery and underscore.
Related Rants
I still don't like using React/Polymer for really big projects. There's nothing like carefully tailored jquery code doing exactly what you wanted with addition of promises and requirejs. Anyone?
undefined
polymer
react
jquery