Design Patterns
tutorials
Our great sponsors
Design Patterns | tutorials | |
---|---|---|
45 | 7 | |
86,355 | 35,915 | |
- | - | |
9.3 | 10.0 | |
about 18 hours ago | 3 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Design Patterns
-
I have been following the mooc java-1 from few days and i am on part-3 i want to ask some questions
After that, more practice, and then Design Patterns (as in the famous book of the "Gang of Four": "Design Patterns: Elements of Reusable Object Oriented Software"). Here I'd recommend "Head First: Design Patterns" and Java Design Patterns as well as Refactoring Guru (the sites are more reference than course).
-
I made java roadmap website! Any feedbacks welcome!
For Design Patterns - any resource recommendation that misses Java Design Patterns and Refactoring Guru (also for Refactoring) as well as *Head First: Design Patterns, has failed.
-
How do you structure code?
A massive list of design patterns and how they could be implemented (in Java) can be found here.
-
Resources to learn how to create a 2D game engine with CPU rendering.
https://java-design-patterns.com/ has example code for things like object pools that can help with memory management.
-
What are some book recommendations that don't require a specific language.
Sidenote: I would not really use the GoF Design Patterns book anymore. Too dry. I would use "Head First: Design Patterns" - much more modern, much easier to read, or Refactoring Guru or Java Design Patterns (uses Java, but again, only for illustrations).
-
I want to get a book on design patterns. Would you recommend the GOF book or the Head First design patterns one?
Also: https://java-design-patterns.com and https://refactoring.guru/design-patterns
-
How is an Observer pattern possible?
Use either Java Design Patterns or Refactoring Guru. Both resources are far higher quality than yours.
-
Are there any quick videos/articles/resources that go over stuff not explicit taught in University?
Java Design Patterns
-
Learn design pattern !
Java Design Patterns - IMO one of the most accessible sites with very easy explanations
-
What are the Java design patterns suitable for the below functions in an E-commerce application?
A hint: go to Java Design Patterns and go through the patterns to figure what could fit.
tutorials
-
Are java codebases generally readable? Or is the stereotype true that they are littered with the worst OOP has to offer?
But ok, lets try with this example, line 40 : https://github.com/eugenp/tutorials/blob/master/testing-modules/junit5-annotations/src/test/java/com/baeldung/junit5/nested/OnlinePublicationUnitTest.java This code tests a function which is 5 lines long, called only once. It doesn't even deserve a method declaration, this is complexity for the sake of testability. 6 months from now, when you look for articles filtered by user membership, you are not going to find this function. You will be lost in a maze of method declarations. Fragmenting your execution flow is a bad idea, especially for testability purposes. The test code is even more complex than the code being tested.
-
Back End with spring!
Baeldung has a lots of tutorials... GitHub - WebModules
-
FastJSON - Convert POJO to/from JSON
You can checkout more examples on below GitHub Repository. https://github.com/eugenp/tutorials/tree/master/json-modules/json-2
-
Spring Boot with Postgres application not working on Docker.
I found an example for you online: https://github.com/eugenp/tutorials/tree/master/docker/docker-spring-boot-postgres
- GitHub - eugenp/tutorials: Just Announced - "Learn Spring Security OAuth":
-
How to clone the tutorial by Baeldung ?
git clone https://github.com/eugenp/tutorials.git
-
OOPs principles, interfaces, abstract classes, etc practice suggestions.
The best way is to find a job, write horrible code, get absolutely humiliated on the MR and then you will start getting all that stuff. A second option would be to read code from others, I always keep this repo open https://github.com/eugenp/tutorials.
What are some alternatives?
Togglz - Feature Flags for the Java platform
kotlin-tutorials
Modern Java - A Guide to Java 8 - Modern Java - A Guide to Java 8
FF4J - Feature Flags for Java made easy
Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
failsafe - Fault tolerance and resilience patterns for the JVM
sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.
CQEngine - Ultra-fast SQL-like queries on Java collections
Membrane Service Proxy - API gateway for REST, OpenAPI, GraphQL and SOAP written in Java.
Smooks - Extensible data integration Java framework for building XML and non-XML fragment-based applications
Joda-Money - Java library to represent monetary amounts.
pf4j - Plugin Framework for Java (PF4J)