DEV Community

Cover image for 4 Design Patterns In Web Development

4 Design Patterns In Web Development

Milecia on August 01, 2019

Have you ever been on a team and you need to start a project from scratch? That's usually the case in many start-ups and other small companies. The...
Collapse
 
kristijanfistrek profile image
KristijanFištrek

I was hoping for examples but this is great on its own 🤘

Collapse
 
lartwel profile image
Mahmoud Ahmed
Collapse
 
kristijanfistrek profile image
KristijanFištrek

I love Addy Osmani examples and takes on JS patterns ^ he is my go to guy when it comes to anything JavaScript related (: but I was hoping for more customized examples from the perspective of the writer.

Collapse
 
thereis profile image
Lucas Reis

Me too, it could help to visualize the situation

Collapse
 
kpennell profile image
Kyle

me3

Thread Thread
 
d7460n profile image
D7460N

me4

Thread Thread
 
dvhiep profile image
Dinh Vu Hiep

Me 5

Thread Thread
 
glyphack profile image
Shayegan Hooshyari

MI6

Collapse
 
5456qwe profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
1214586

I agree. This post without examples is futile. Please put some effort on your posts!

Collapse
 
alexanderholman profile image
Alexander Holman

You could be kinder in your criticism, e.g. offer resources on posts you consider non-futile, or provide examples of what you would consider putting 'effort' into a post. Writing doesn't come easily to everyone, you can't possibly know how much effort the writer put into this.

Thread Thread
 
5456qwe profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
1214586 • Edited

I'm not being rude, friend. I already got a warning email for expressing my opinion? Don't be so soft, please.

Putting effort is putting actual examples on a daily work routine, not just something copied from elsewhere.

Thread Thread
 
alexanderholman profile image
Alexander Holman

Wait you got a warning email and you weren't rude? Perhaps it was a mistake? I mean you must be correct, being so hard and all...

Perhaps you would consider learning from your mistake and move on? Nope you accuse the author of plagiarism! And without any evidence too, remember no example means no effort, and we wouldn't want so 'hard' person to come along and remind you how without examples of daily work routines you have made no effort at all, would we?

That's ignoring the fact that such a defamatory statement could be considered libel, in some areas of the world.

Read the code of conduct again if you get a moment and consider if your actions have met these requirements. Here is a link incase you hadn't seen it before: dev.to/code-of-conduct

Thread Thread
 
5456qwe profile image
1214586

This is a good post but I think it could be awesome if you add some examples. Keep up the great work!

Collapse
 
jennynnguyen114 profile image
Jenny Nguyen

Thanks for offering your perspective of these four design patterns. I didn't realise I've been using the Singleton pattern for Angular and React, nor that I've been using the Observer pattern within the MVC pattern! Looks like I also do use them all the time!

Collapse
 
propelguru profile image
Propel Guru

I agree with KristijanFistrek, that examples are great to know in deep, but this post is good without examples also. If you are looking for website design, you can contact our experts
here!

Collapse
 
hosseinnedaee profile image
Hossein Nedaee

Thank you, it was very good
Im so eager to know more about resign patters specially by real example.

Collapse
 
erikwhiting88 profile image
Erik

that was great! thank you for sharing

Collapse
 
akattow profile image
Kat Tow

'Design patterns in software' always sounded so high-level and scary - after reading your post, I know that I'm already using and understanding many of them! Thanks for a great article.

Collapse
 
syed456 profile image
syed

Which pattern anyone would recommend to use to create amazon like application using vanilla Javascript or with react (and both) ?
thanks