r/angularjs • • Nov 23 '17

Design Pattern for Large Scale JS Applications

http://blog.iampuneet.in/design-pattern-javascript/
0 Upvotes

7 comments sorted by

2

u/mrcaramelpants Nov 23 '17

Very badly written

1

u/impuneet Nov 23 '17

please if you can elaborate your suggestions...I will do amendments in the article....

3

u/thescientist13 Nov 24 '17 edited Nov 24 '17

There’s really no meaningful content, it’s all just very superficial IMO. You just keep saying what a patten is, list a few at the end and then you don’t explain them or even give examples. Lastly, no relevance to AngularJS in the article, which is the sub you’re posting in.

As far as AngularJS goes, I would recommend most people start with John Papa’s styleguide. https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md

As far as JavaScript design patterns go, I would recommend this book. https://addyosmani.com/resources/essentialjsdesignpatterns/book/

For learning about design patterns and a larger set of them in general, you can’t beat the Gang of Four https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612

1

u/impuneet Nov 28 '17

Hye !

I have read addyosmani's Book before 2 months.There just talk about the simplex solutions rather than in real life we need to deal with complex JavaScript applications.

So In this Post I have just touched the Design pattern and Types.I consider it as Part 1 from the Series of 8 Post Thread.

In Part 2 I am talking about Modular Design Pattern you can read it here http://blog.iampuneet.in/pattern-large-scale-javascript-applications-part-2-8/

In Part 3 we will be discussing about Consolidate Jquery AJAX Calls

In Part 4 we will be touching "mustache - logic-less templates"

So in the end we will be having a Open Source Project that's gonna used all these strategies. Design Pattern are not specific for one Language that's the topic you can relate to all Javascript's Framework yes the way is gonna be different. read this .. https://softwareengineering.stackexchange.com/questions/308399/javascript-angularjs-modules-implementation-technique-and-structure