Skip to content

Attach tutorial links to patterns #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iluwatar opened this issue Dec 1, 2016 · 29 comments
Closed

Attach tutorial links to patterns #525

iluwatar opened this issue Dec 1, 2016 · 29 comments

Comments

@iluwatar
Copy link
Owner

iluwatar commented Dec 1, 2016

In the pattern template there is section for Tutorials. Here we should list tutorials explaining the pattern. One example is here http://java-design-patterns.com/patterns/hexagonal/.

@gangadkho
Copy link

I checked the hexagonal patterns page. Its having the tutorial link to java-design-pattern (hexagonal pattern) tutorial. Can the patterns also have tutorial links to external sites?

@iluwatar
Copy link
Owner Author

@gangadkho that is a good question. But if we allowed links to external sites and content, would we bump into copyright issues and lawsuits?

iluwatar added a commit that referenced this issue Jan 21, 2017
@gangadkho
Copy link

@iluwatar Would'nt that be a promotion for external sites? We are just providing the link to their websites(not copying the contents in to our website). Does that sound correct? Correct me if I am wrong.

@iluwatar
Copy link
Owner Author

I don't think it's that simple. For example, see http://www.internetlegalattorney.com/website-external-links-framing-liability-guide/ for potential risks.

@jaysar
Copy link

jaysar commented Jan 24, 2017

Is this issue closed or still open as three blog present in sites are linked in respective patterns?
Also what is the decision on using external links ?

@iluwatar
Copy link
Owner Author

I would like to hear what @markusmo3 and @npathai think about this.

@markusmo3
Copy link
Contributor

I dont think hyperlinking would be an issue.

“…hyperlinking does not itself involve a violation of the Copyright Act (whatever it may do for other claims) since no copyright is involved. The customer is automatically transferred to the particular, genuine Web page of the original author. There is no deception in what is happening. This is analogous to using a library’s card index to get reference to particular items, albeit faster and more efficiently.”

Thats what i learned when the issue first came up a couple of years ago

"However, using external links on your website may create legal liability in some cases. External links can be unlawful when they i) cause consumer confusion; ii) encourage or facilitate illegal copyright infringement by others; or iii) violate other laws."

i) they wont, its a hyperlink, in blue color and most of the times the URL is in full text
ii) might be an issue, if the linked site is infringing, but i think we can take that risk
iii) nope, unless we link to drugsites or other dubious stuff

If the added links are checked and approved by a contributor (that means the site is working and looks at least somewhat credible), then i dont see any problem in linking to other tutorials.
With that we are providing publicity and also indirectly give money (with page hits/ads) to the original tutorial author.

Source of quotes: http://www.internetlegalattorney.com/website-external-links-framing-liability-guide/

@iluwatar
Copy link
Owner Author

Thank you @markusmo3 for the statement. In light of this, I think we can start accepting links to other sites as well.

grzegorz2047 added a commit to grzegorz2047/java-design-patterns that referenced this issue Feb 13, 2017
* Initial commit of the object mother iluwatar#498

Add a simple king and queen classes which implement the behaviour of the
royalty interface. Also wrote the object mother of royalty objects which
is final so you can just call the static methods in it to create objects
with a specific state to use them fast in tests. The tests are already
created for testing the behaviour and the type of the objects which are
created by the object mother.
I also created the UML diagrams via object aid and updated the readme.

* Add PlantUML file for the UML diagram iluwatar#498

* End process logic clause has been corrected.

* Unused import removed.

* Add SonarQube.com badge

* iluwatar#502 Replaced usages of System.out with logger.

* Change name of variables in test iluwatar#498

* add entry to parent pom.xml iluwatar#498

* Fix pom.xml

* Fix pom.xml

Deleted </modules> tag because i added it one time more than neccessary

* FirstCut++

FirstCut++

* SecondCut++

SecondCut++

* App++

App++

* App

App

* checkstyle errors removed

checkstyle errors removed

* iluwatar#502 Reverted changes in composite example, due to nature of this example using logger isn't good idea

* Remove use of coveralls-maven-plugin (sonarqube.com covers this)

* iluwatar#502 Adjusted tests for logger introduction

* iluwatar#502 Introduced logging in new example

* Create presentation template

* Link Hexagonal Architecture pattern to corresponding blog entry

* Work on Hexagonal Architecture presentation

* Add new diagram

* Add presentation link to README.md

* Update App.java

The relationship between decorator and target (in the code example between Troll und SmartTroll) ist not a composition as described in the code comment lines of class App. It's a aggregation. In a composition both instances canncot live without the other one. But the target (Troll) could live without the decorator (Smart Troll). Changed "composition" to "aggregation" in the comment lines. Code lines are unchanged.
Greetings Thomas

* Review comments++

* Review comments++

* iluwatar#502 Reduced amount of information logged

* Issue iluwatar#450. First commit. Queue Based Load Leveling

* Issue iluwatar#450. Updated pom.xml

* Updated checkstyle errors.

* Updated pom.xml with maven-pmd-plugin

Added dependency "maven-pmd-plugin" to the pom file.

* Reverted pom.xml changes that are done previously.

* Fixed PMD issue.

* Decorator pattern: Improve the example

* Removed unused imports in tests

* Proxy pattern: Improve the example

* Proxy pattern: Add missing license header

* Update URM Version to 1.4.4 and regenerated all puml files

* Update license headers

* Fixed all the code changes after review

* Review comments++

* Sonar bug fixes using Yoda condition in equals expression when comparing String literal with String object.
Using try-with-resources if we use Scanner to close the underlying stream is a good practice to handle resources.
Minimal refactor.

* Sonar bug fixes using Yoda condition in equals expression when comparing String literal with String object.
Using try-with-resources if we use Scanner to close the underlying stream is a good practice to handle resources.
Minimal refactor.

* Adding initialization on demand holder idiom.

* Changing constant interface pattern with a Noninstantiable class

* Add some material for proxy presentation.

* Add presentation for Proxy pattern.

* Add link to Proxy presentation.

* Achieved milestone 1.14.0

* Set version for next development iteration

* iluwatar#525 Add link to Queue-Based Load Leveling blog

* iluwatar#525 Add link to proxy blog

* Changing code to use interfaces instead of implementations.

* Changing code to use interfaces instead of implementations.

* Reverting initialization on demand holder idiom.

* iluwatar#190 Regenerate puml files

* iluwatar#190 Rename package for Queue-Based Load Leveling pattern
@9527BOM
Copy link

9527BOM commented Feb 28, 2017

where is the Design description?

@iluwatar
Copy link
Owner Author

The links are provided in the pattern's README.md. For example Hexagonal Architecture has one tutorial link provided here.

@mattj256
Copy link

These are our current links to tutorials:

Right now we only have three tutorial blog posts, and I see issue #341 requesting more blog posts.

Do we have any preference for which website we link to? Here are some examples of things I could link to:

@iluwatar
Copy link
Owner Author

@mattj256 the links to tutorialspoint seem ok so we could add them.

@OrangePants-R
Copy link

@iluwatar I'd be happy to add the external links. Would you assign to me?

@iluwatar
Copy link
Owner Author

Ok @OrangePants-R

@kanwarpreet25
Copy link
Contributor

Is it available @iluwatar

@iluwatar
Copy link
Owner Author

Yes the issue is open @kanwarpreet25

@kanwarpreet25
Copy link
Contributor

kanwarpreet25 commented Dec 17, 2020

Working on it @iluwatar

@iluwatar
Copy link
Owner Author

Please indicate if you are still working on this issue @blueberry404

@blueberry404 blueberry404 removed their assignment Oct 24, 2021
@blueberry404
Copy link
Contributor

@iluwatar I have unassigned myself this issue. Please feel free to assign it to anyone.

@vaibhav-if
Copy link
Contributor

Hi, I recently studied design patterns and worked on a project too using microservices and API-Gateway. Shall I contribute some tutorial links, on some topics that I came across while working on the project? I think they will make a good fit here!!

@iluwatar
Copy link
Owner Author

Sounds great @vaibhav-if. I'll assign the issue to you!

@vaibhav-if
Copy link
Contributor

Hi @iluwatar, I have added a few PRs to be in time for hacktoberfest, will add more in coming days.

@ghost
Copy link

ghost commented Dec 8, 2021

Hi @iluwatar, I'm a beginner to all this and recently I've learnt java and javascript, I'm out here looking for projects to improve my skills but having a bit trouble to understand things here. It would be great help if you guide me to some resources which will help me to learn more in java and javascript, so that I can start contributing to project like these. Sorry for being off topic but please help me out.

@vaibhav-if vaibhav-if removed their assignment Dec 25, 2021
RobbiNespu pushed a commit to RobbiNespu/java-design-patterns that referenced this issue Mar 1, 2022
RobbiNespu pushed a commit to RobbiNespu/java-design-patterns that referenced this issue Mar 1, 2022
RobbiNespu pushed a commit to RobbiNespu/java-design-patterns that referenced this issue Mar 1, 2022
RobbiNespu pushed a commit to RobbiNespu/java-design-patterns that referenced this issue Mar 1, 2022
RobbiNespu pushed a commit to RobbiNespu/java-design-patterns that referenced this issue Mar 1, 2022
@bikashdaga
Copy link

These are our current links to tutorials:

Right now we only have three tutorial blog posts, and I see issue #341 requesting more blog posts.

Do we have any preference for which website we link to? Here are some examples of things I could link to:

Hey,
You can refer this too - https://www.scaler.com/topics/design-patterns/factory-design-pattern/

@iluwatar iluwatar added this to the 1.26.0 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests