Code Monkey home page Code Monkey logo

java-design-patterns's People

Contributors

4lexis avatar allcontributors[bot] avatar anuragagarwal561994 avatar argyro-sioziou avatar ashishtrivedi16 avatar colinbut avatar crossy147 avatar dependabot-preview[bot] avatar dependabot[bot] avatar dheeraj-mummareddy avatar fluxw42 avatar iluwatar avatar inbravo avatar isabiq avatar joshzambales avatar juhokang avatar kemitix avatar markusmo3 avatar mikulucky avatar nikhilbarar avatar npathai avatar ohbus avatar piyushchaudhari04 avatar robertvolkmann avatar ruslanpa avatar saksham93 avatar thomasoss avatar tylermcconville avatar uglywarthog avatar zafarella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-design-patterns's Issues

not a issue,just want to know

hey,I see a file ends with ucls in some package,I open it and find it is an xml format file
and my question is what kind of soft you draw it
Thanks!

Idea.

Add the "real" project(or link to good project) where the most of patterns will be represented.And fully documented.To see how they used in real life.For example text editor.Or something else.

Intercepting Filter example needs some improvement

  • FilterChain executes the filters sequentially using an array. This should be changed so that the filters form a chain and call each other instead. Like in Chain of Responsibility.
  • At the same time the feedback mechanism from the filters should be improved. This should be implemented with Collecting Parameter idiom. It should be possible to return multiple errors from the filter chain. The current implementation can handle only one.
  • The data passed to the filters should be transformed into value object from string array. This way we can get rid of magic numbers (array index) in filters.

please help me , thanks !

Hello, may I ask you what software tool to draw a class diagram?

I want to get it.

Can you send it to my email ? Or tell me what its name . Thank you very much!

My email : [email protected]

DAO Design Pattern

Hi @iluwatar ,

First of all, thank you for this comprehensive repo! I haven't seen the dao design pattern among the rest. So, I am just wondering whether it is actually part of the design solutions or not.

Bug introduced by #11

@llitfkitfk You made ALL the diagrams link to files from your FORK. The BASE readme is pointing to files from a FORK.

commit hash is 97431a62af9881fa046b69b690e72d4fb4777209

New patterns

Is it possible that we add web application and database patterns here as well? By web application patterns, I mean

  1. Single Thread pattern
  2. Synchronization pattern in MVC
  3. Double checked locking
  4. Service locator
  5. Facade
    ..... (any more that we can think of)

and the database patterns I had the data access (DAO) pattern in mind.

Practical explanations

First, I'd like to thank you for providing the examples, really great job! However, I'd like more practical explanations since currently they are rather theoretical and hard to understand, don't you think?

For example the Builder pattern, I've read the explanation and honestly do not know when to use in my daily work. Wouldn't it be better just to write that you use it if you have few required and many optional construction parameters?

Data Mapper Pattern

Hi, I'm a new user to github and I would like to help to this project. I've been researching about a few patterns and the work you've done and I think it's so cool.

In my college I've developed an application which comunicates with a MySQL Database and I had to build a pattern to make that communication work. I'm talking about the Abstract Mapper.

I have an example here: https://github.com/jesusvazquez/java_examples/tree/master/AdvancedDatabaseSystems/src/modelo/DBMapper

I'm wondering if it would be a good idea to add this pattern to your project.

Best Regards.

HeroBuilder NullPointerException

I was reading the code and then I wondered why was used the NullPointerException in that case, won't be more readable throw a custom exception? I mean create something like BuilderException and then this can be treated in the caller method ...
*Line 97,98 from HeroBuilder.java for reference

Better View/Navigation ?

Heya there,
first of all, i love this resource and use it quite often. the only thing slightly annoying is the layout. Would be really awesome to view this resource in bootstrap with categories or something like that.

If something like that is done "hardcoded" the project will probably loose on contributions, so a converter of sorts should be used.

One last point, i found this Site that looks pretty good, but i dont know if it would be suitable. I also have no idea if it even works, because here everything is one single markdown document, while those at the site are multiple.
http://phpmyadmin.readthedocs.org/en/QA_4_4/
(topic is not important)

Just an idea C:

~Markus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.