René's URL Explorer Experiment


Title: Factory Design Pattern by premaseem · Pull Request #28 · premaseem/DesignPatternsJava9 · GitHub

Open Graph Title: Factory Design Pattern by premaseem · Pull Request #28 · premaseem/DesignPatternsJava9

X Title: Factory Design Pattern by premaseem · Pull Request #28 · premaseem/DesignPatternsJava9

Description: This repository has all 23 GOF design patterns coded in Java 9 with around 50+ working project code used for Video Course by Packt Publication with title "Learn Design Patterns with Java " authored by "Aseem Jain". The link of the course is - Factory Design Pattern by premaseem · Pull Request #28 · premaseem/DesignPatternsJava9

Opengraph URL: https://github.com/premaseem/DesignPatternsJava9/pull/28

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0e4a4af2-1f25-4b6e-919d-63375cbe58f8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9728:16C7D2:380B9:49A19:6A52D599
html-safe-nonce2782a00e53d4685bbeff4d8b93a5308aa98b14b705f6768dcd5f96e6d83ae899
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzI4OjE2QzdEMjozODBCOTo0OUExOTo2QTUyRDU5OSIsInZpc2l0b3JfaWQiOiIxOTU5OTU4ODc5MzU0OTM0NjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac14b60a547f08ade7f5d76598427a814e394fe9242bcc790b7462d678cb042e60
hovercard-subject-tagpull_request:207167845
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/premaseem/DesignPatternsJava9/28/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7af80ecdead77f0ca15424d11ba4e6ebd1161fbf81172d8878ea0ffad35aa048/premaseem/DesignPatternsJava9/pull/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7af80ecdead77f0ca15424d11ba4e6ebd1161fbf81172d8878ea0ffad35aa048/premaseem/DesignPatternsJava9/pull/28
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepremaseem
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/premaseem/DesignPatternsJava9 git https://github.com/premaseem/DesignPatternsJava9.git
octolytics-dimension-user_id1247408
octolytics-dimension-user_loginpremaseem
octolytics-dimension-repository_id115031086
octolytics-dimension-repository_nwopremaseem/DesignPatternsJava9
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115031086
octolytics-dimension-repository_network_root_nwopremaseem/DesignPatternsJava9
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/premaseem/DesignPatternsJava9/pull/28#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpremaseem%2FDesignPatternsJava9%2Fpull%2F28
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpremaseem%2FDesignPatternsJava9%2Fpull%2F28
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=premaseem%2FDesignPatternsJava9
Reloadhttps://github.com/premaseem/DesignPatternsJava9/pull/28
Reloadhttps://github.com/premaseem/DesignPatternsJava9/pull/28
Reloadhttps://github.com/premaseem/DesignPatternsJava9/pull/28
premaseem https://github.com/premaseem
DesignPatternsJava9https://github.com/premaseem/DesignPatternsJava9
Notifications https://github.com/login?return_to=%2Fpremaseem%2FDesignPatternsJava9
Fork 166 https://github.com/login?return_to=%2Fpremaseem%2FDesignPatternsJava9
Star 81 https://github.com/login?return_to=%2Fpremaseem%2FDesignPatternsJava9
Code https://github.com/premaseem/DesignPatternsJava9
Issues 0 https://github.com/premaseem/DesignPatternsJava9/issues
Pull requests 27 https://github.com/premaseem/DesignPatternsJava9/pulls
Actions https://github.com/premaseem/DesignPatternsJava9/actions
Projects https://github.com/premaseem/DesignPatternsJava9/projects
Wiki https://github.com/premaseem/DesignPatternsJava9/wiki
Security and quality 0 https://github.com/premaseem/DesignPatternsJava9/security
Insights https://github.com/premaseem/DesignPatternsJava9/pulse
Code https://github.com/premaseem/DesignPatternsJava9
Issues https://github.com/premaseem/DesignPatternsJava9/issues
Pull requests https://github.com/premaseem/DesignPatternsJava9/pulls
Actions https://github.com/premaseem/DesignPatternsJava9/actions
Projects https://github.com/premaseem/DesignPatternsJava9/projects
Wiki https://github.com/premaseem/DesignPatternsJava9/wiki
Security and quality https://github.com/premaseem/DesignPatternsJava9/security
Insights https://github.com/premaseem/DesignPatternsJava9/pulse
premaseemhttps://github.com/premaseem
develophttps://github.com/premaseem/DesignPatternsJava9/tree/develop
factoryhttps://github.com/premaseem/DesignPatternsJava9/tree/factory
Conversationhttps://github.com/premaseem/DesignPatternsJava9/pull/28
Commits9 (9)https://github.com/premaseem/DesignPatternsJava9/pull/28/commits
Checkshttps://github.com/premaseem/DesignPatternsJava9/pull/28/checks
Files changedhttps://github.com/premaseem/DesignPatternsJava9/pull/28/files
Factory Design Patternhttps://github.com/premaseem/DesignPatternsJava9/pull/28#top
premaseemhttps://github.com/premaseem
develophttps://github.com/premaseem/DesignPatternsJava9/tree/develop
factoryhttps://github.com/premaseem/DesignPatternsJava9/tree/factory
https://github.com/premaseem
premaseemhttps://github.com/premaseem
Aug 8, 2018https://github.com/premaseem/DesignPatternsJava9/pull/28#issue-348930947
Please reload this pagehttps://github.com/premaseem/DesignPatternsJava9/pull/28
premaseemhttps://github.com/premaseem
January 31, 2018 12:14https://github.com/premaseem/DesignPatternsJava9/pull/28#commits-pushed-8e41ad8
https://github.com/premaseem
Step 1: Factory pattern - Before code ( poor code )https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/8e41ad8d435c048c5e0a79c1bb2fe4959cf56dac
8e41ad8https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/8e41ad8d435c048c5e0a79c1bb2fe4959cf56dac
https://github.com/premaseem
Step 2: Abstract Ice cream interface (Generalize it)https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/f5ca54cd402f0c352ec612787a617091b43ac6a9
f5ca54chttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/f5ca54cd402f0c352ec612787a617091b43ac6a9
https://github.com/premaseem
Step 3: Create Ice cream factoryhttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/79d3940f7455f32d0cedfe12d3de0c620f9e279e
79d3940https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/79d3940f7455f32d0cedfe12d3de0c620f9e279e
https://github.com/premaseem
Step 4: update client and consume factory to make code loosely couple…https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/69fa158762cdc2907de42a215599fa54d7f84f27
69fa158https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/69fa158762cdc2907de42a215599fa54d7f84f27
https://github.com/premaseem
Step 5: Lesson Learnt :-)https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/dfc8e4e6fe6c5b5498bf4bfeb8997a97472101d7
dfc8e4ehttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/dfc8e4e6fe6c5b5498bf4bfeb8997a97472101d7
https://github.com/premaseem
Final touch - converted factory method as statichttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/50fc6fd0512bbe4b6977d6338a7918087037de88
50fc6fdhttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/50fc6fd0512bbe4b6977d6338a7918087037de88
https://github.com/premaseem
Bonus Pattern of Pizza factoryhttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/e29ffd13cd568071dfa4b6f3f11851064a367a95
e29ffd1https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/e29ffd13cd568071dfa4b6f3f11851064a367a95
https://github.com/premaseem
added uml diagramhttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/37c4973596efda9fb568141cc6c2ee151cef067c
37c4973https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/37c4973596efda9fb568141cc6c2ee151cef067c
https://github.com/premaseem
update readme.mdhttps://github.com/premaseem/DesignPatternsJava9/pull/28/commits/edc9209f490c2472f01691c5a750c522babc6d8e
edc9209https://github.com/premaseem/DesignPatternsJava9/pull/28/commits/edc9209f490c2472f01691c5a750c522babc6d8e
https://github.com/premaseem
premaseemhttps://github.com/premaseem
October 2, 2018 16:26https://github.com/premaseem/DesignPatternsJava9/pull/28#event-1879808782
https://github.co/hiddenchars
https://github.com/premaseem/DesignPatternsJava9/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpremaseem%2FDesignPatternsJava9%2Fpull%2F28
Please reload this pagehttps://github.com/premaseem/DesignPatternsJava9/pull/28
https://github.com/premaseem
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.