SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Your Framework Sucks
        Paul M. Jones
      php | tek, chicago
        May 22, 2009




              1
Read These
• “The Road Less Traveled”, M. Scott Peck
• “Meditations”, Marcus Aurelius
• “The E-Myth Revisited”, Michael E. Gerber




                     2
About Me

•   Web Architect at OmniTI
    <http://omniti.com>

•   Solar and Zend Frameworks

•   <http://paul-m-jones.com>

•   Business, Religion, Military,
    Philosophy, Economics



                                3
Why Bother With A
  Public Framework?
• Most of them are “heavy” and “slow”, right?
 • Rasmus’ “no-framework” framework
 • Paul’s framework benchmarks
• Time spent learning could be time spent
  writing own
  • ... at least then you know it well.
                       4
Anecdotal Assertion
• The apparent short-term strength of
  building your own likely to be a long-term
  weakness
• You may know your system inside and out,
  but nobody else does
• Might be better to adopt someone else’s
  way of working ... like a franchise

                      5
Business Format
        Franchise
• Buying a franchise == license to a ruleset
• Sophisticated manual about every aspect of
  business operations
• Owner not a cog in corporate machine ...
• ... independent operator of shared plan

                     6
Franchise Benefits

• Standardized, consistent customer
  experience
• Predictable, reliable operation
• Familiar with one == familiar with all

                      7
Manual Creation
• Original owner(s) build one or more
  businesses
• Extract rules for operation and record in
  detail
• Multiple iterations: keep the wins, discard
  the losses
• “Franchise Prototype” is the product --
  jump-start to operations

                      8
New Business?

• Advice to entrepreneurs
• Build “as if” you are going to franchise
• “... define and write down every aspect of
  his operations, so that anyone else can do
  the same work the same way in a
  predictable and reliable manner”


                     9
Framework Definition
       (1/2)
• Loose terminology: “collection of tools,
  techniques, and procedures”
• Internal and private, or public and shared
• Informal collection from disparate sources,
  or well-integrated with formal structure



                     10
Framework Definition
       (2/2)
• Almost any regular development practice
  used by an organization can be called a
  framework
• The framework is the set of implicit and
  explicit rules for how to build applications



                      11
The Framework
   As Franchise (1/2)
• Sophisticated ruleset
• Built iteratively over many projects
• Common operations and environments
• Predictable development process
• Jump-start to development process
                   12
The Framework
    As Franchise (2/2)
• Franchise: well-defined way of working to
  build an organization
• Framework: well-defined way of working to
  build an application
• Buying into a “way of working”

                         13
Reducing Cognitive
     Friction (1/3)
• Using a framework is about consistent
  development process in/across teams
• Standard foundation for decisions about
  application architecture
• All developer decisions have common
  themes, because all using same rules


                     14
Reducing Cognitive
     Friction (2/3)
• Coding style guides make developer code
  formatting look the same
• Style guide itself not as important as the
  fact that all code adheres to it
• Framework itself not as important as
  making sure everyone uses it for decision-
  making and organization ... “world view”

                      15
Reducing Cognitive
     Friction (3/3)

• On your own? Do what you like. (“Personal
  framework.”)
• On a team? Must coordinate and
  cooperate. “Personal” isn’t good enough ...



                     16
All Frameworks Suck?

• Laura Thomson: “All frameworks suck.”
• Paul M. Jones: “All frameworks by other
  developers suck.”
• By definition, your personal way of working
  sucks to other people.



                      17
The Solution (1/3)

• Work with team to build framework
  together
• You know your own unique situation better
  than anyone else
• Problems? Well, they’re “known.”

                     18
19
The Solution (2/3)

• Your situation is likely not that unique
•   http://www.phpwact.org/php/mvc_frameworks

• Group into a few major “ways of working”
• Your framework will resemble one of them

                       20
The Solution (3/3)
• Design patterns? Implementation patterns.
• Pick a public framework that suits your way
  of working as a jump-start
• Tradeoffs: suckage not of your own design
• Coordination/cooperation issues already
  worked out
• What seemed unique has been regularized
                     21
Resistance
• You need to know enough to pick the one
  that best fits.
  • A lot of domain knowledge about
    systems architecture
  • Research sucks -- reading/learning much
    less fulfilling than writing/producing
• Narcissism of small differences
                      22
Gaining Domain
        Knowledge
• Good craftsmanship requires experience
• Write your own apps, extract your own
  “way of working” (in code as a framework)
• But please don’t fool yourself into believing
  other people will think it doesn’t suck
• Only then will you know enough to “let go”
                      23
Summary
• Frameworks are like franchises (rule sets
  for ways of working)
• Other people’s rules suck
• Learn your personal way of working,
  without self-deception
• Give up your own small differences to gain
  greater effectiveness of shared world-views

                     24
• Questions?
• Comments?
• Criticism?


               25
Thanks!

• http://omniti.com
• http://paul-m-jones.com
• http://solarphp.com

                    26

Mais conteúdo relacionado

Último

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Último (20)

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Your Framework Sucks

  • 1. Your Framework Sucks Paul M. Jones php | tek, chicago May 22, 2009 1
  • 2. Read These • “The Road Less Traveled”, M. Scott Peck • “Meditations”, Marcus Aurelius • “The E-Myth Revisited”, Michael E. Gerber 2
  • 3. About Me • Web Architect at OmniTI <http://omniti.com> • Solar and Zend Frameworks • <http://paul-m-jones.com> • Business, Religion, Military, Philosophy, Economics 3
  • 4. Why Bother With A Public Framework? • Most of them are “heavy” and “slow”, right? • Rasmus’ “no-framework” framework • Paul’s framework benchmarks • Time spent learning could be time spent writing own • ... at least then you know it well. 4
  • 5. Anecdotal Assertion • The apparent short-term strength of building your own likely to be a long-term weakness • You may know your system inside and out, but nobody else does • Might be better to adopt someone else’s way of working ... like a franchise 5
  • 6. Business Format Franchise • Buying a franchise == license to a ruleset • Sophisticated manual about every aspect of business operations • Owner not a cog in corporate machine ... • ... independent operator of shared plan 6
  • 7. Franchise Benefits • Standardized, consistent customer experience • Predictable, reliable operation • Familiar with one == familiar with all 7
  • 8. Manual Creation • Original owner(s) build one or more businesses • Extract rules for operation and record in detail • Multiple iterations: keep the wins, discard the losses • “Franchise Prototype” is the product -- jump-start to operations 8
  • 9. New Business? • Advice to entrepreneurs • Build “as if” you are going to franchise • “... define and write down every aspect of his operations, so that anyone else can do the same work the same way in a predictable and reliable manner” 9
  • 10. Framework Definition (1/2) • Loose terminology: “collection of tools, techniques, and procedures” • Internal and private, or public and shared • Informal collection from disparate sources, or well-integrated with formal structure 10
  • 11. Framework Definition (2/2) • Almost any regular development practice used by an organization can be called a framework • The framework is the set of implicit and explicit rules for how to build applications 11
  • 12. The Framework As Franchise (1/2) • Sophisticated ruleset • Built iteratively over many projects • Common operations and environments • Predictable development process • Jump-start to development process 12
  • 13. The Framework As Franchise (2/2) • Franchise: well-defined way of working to build an organization • Framework: well-defined way of working to build an application • Buying into a “way of working” 13
  • 14. Reducing Cognitive Friction (1/3) • Using a framework is about consistent development process in/across teams • Standard foundation for decisions about application architecture • All developer decisions have common themes, because all using same rules 14
  • 15. Reducing Cognitive Friction (2/3) • Coding style guides make developer code formatting look the same • Style guide itself not as important as the fact that all code adheres to it • Framework itself not as important as making sure everyone uses it for decision- making and organization ... “world view” 15
  • 16. Reducing Cognitive Friction (3/3) • On your own? Do what you like. (“Personal framework.”) • On a team? Must coordinate and cooperate. “Personal” isn’t good enough ... 16
  • 17. All Frameworks Suck? • Laura Thomson: “All frameworks suck.” • Paul M. Jones: “All frameworks by other developers suck.” • By definition, your personal way of working sucks to other people. 17
  • 18. The Solution (1/3) • Work with team to build framework together • You know your own unique situation better than anyone else • Problems? Well, they’re “known.” 18
  • 19. 19
  • 20. The Solution (2/3) • Your situation is likely not that unique • http://www.phpwact.org/php/mvc_frameworks • Group into a few major “ways of working” • Your framework will resemble one of them 20
  • 21. The Solution (3/3) • Design patterns? Implementation patterns. • Pick a public framework that suits your way of working as a jump-start • Tradeoffs: suckage not of your own design • Coordination/cooperation issues already worked out • What seemed unique has been regularized 21
  • 22. Resistance • You need to know enough to pick the one that best fits. • A lot of domain knowledge about systems architecture • Research sucks -- reading/learning much less fulfilling than writing/producing • Narcissism of small differences 22
  • 23. Gaining Domain Knowledge • Good craftsmanship requires experience • Write your own apps, extract your own “way of working” (in code as a framework) • But please don’t fool yourself into believing other people will think it doesn’t suck • Only then will you know enough to “let go” 23
  • 24. Summary • Frameworks are like franchises (rule sets for ways of working) • Other people’s rules suck • Learn your personal way of working, without self-deception • Give up your own small differences to gain greater effectiveness of shared world-views 24