SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
APIs and SDKs: Breaking into
a Specialty Market
Ed Marshall
2015 STC Technical Summit
Copyright 2015
APIs and SDKs
API = Application Programming Interface
SDK = Software Development Kit
• Typical users and why they use them
• Typical producers of these products
• Examples
2
Typical Documentation Deliverables
• Programmer’s Reference Guides (often
delivered online in some format)
• Programmer’s Guides
• Performance & Tuning Guides
• API and SDK Installation Manuals
3
Ideal Information for SDKs
• Provide an overview of the SDK
• Describe the tools and components in the SDK
and how they relate to the APIs
• Describe each tool in detail
• Describe any sample programs included in the
SDK
4
Ideal Information for APIs
• Break each component into the various
families
• Describe each API completely, including cross-
references to any types used in the definition
• Provide and explain examples that show both
trivial and complex use of the class/API
5
Reference Information for APIs
• Brief description
• Syntax
• Examples, examples, examples!
• Error messages
• Cross-references
6
Key Programming Concepts
• Data types and variables
• Program control – loops, conditions, etc.
• Logical operators
• Data structures, such as arrays
• Functions and methods
7
Benefits to the Writer
• Do more advanced technical writing = Higher
pay, higher status
• Good if you like to play with software at the
code level, create and test examples, talk and
write in gibberish
• Work more closely with developers
8
Drawbacks to the Writer
• Possibly restrictive/repetitive writing
• Possibly less contact with users as they are
developers/programmers themselves
• Possibly, more technically challenging
development/build environments
9
Knowledge/Personality Traits that
Work Well
• Some knowledge of programming languages BUT you
don’t have to be a programmer!
• Willingness to work with advanced/programmer types of
tools – Use software instead of specs
• Desire to work at the code level and write for developers
who work at the code level
• Willingness/confidence to work closely with senior
developers
• Ability to develop context-sensitive level help at a lower
level than the typical end-user (window-level) help
10
Typical Skills Needed
• Good writer, but not great
• Strong organizational skills
• Proactive in getting information
• Have a flair for tools
11
Ways to Add Value
• Organizing information – change from timeline to
alphabetical, grouping by categories of function, etc.
• Adding missing information
• Removing info not needed
• Correcting discrepancies/non-parallel
formats/descriptions
• Using terms consistently
• Providing better definitions – meaningful, not just
repeating the function
12
Ways to Add Value, cont.
• Providing usage notes
• Recommending sequence of use – flowcharts
• Alphabetizing lists of error messages
(removing duplicates)
• Correcting spelling via custom spell-check
dictionaries
13
Ways to Get Information
• Read the code*
• Run automated tools against the software*
• Provide fill-in-the-blank templates to
developers*
• Use the software
• Read the specifications
• Attend demos
14
* Recommended as the best methods for gathering information
What to Look for in the Code
Look in both internal/external files/functions for:
• Function calls
• Function parameters and data types
• Return values
• Enums, structs, etc.
• Error codes
15
Information You Can’t Get from
Reading the Code
• Why someone would use a certain function
• The recommended logic flow – the order in
which functions need to be called
• Background information
• Usage notes
• Relationships between functions (get/set,
open/close, etc.), but can deduce these and
verify with developers
16
Possible Strategies/Timeline for
Accessing Code
1. Edit comments in code but don’t make changes in the
code – shows you know the difference between
comments and code.
2. Learn how to generate output from code and
demonstrate “safe computer practices” – Do test builds
and verify against known good builds.
3. Commit to only changing comments – and stick to it.
4. Best practice: Build outputs locally using the company’s
system before checking in changes – builds trust in your
work.
17
Writing Style Differences
• Use active voice.
• Sentence fragments are acceptable.
• Use verbs/gerunds to start phrases.
• Eliminate “useless” words that are noise to
developers.
18
Automated Tools
• Doxygen
• Javadoc
• Sandcastle – Tool for .NET help (MSDN style)
19
Microsoft IDEs
• Visual Studio 2008 Visual C++
• Visual C #
• Visual Basic
• Visual J#
All free from
www.microsoft.com/express/download/
20
Other IDEs
• NetBeans –
netbeans.org/downloads/index.html
• Eclipse – www.eclipse.org (a free open source
IDE)
21
Doxygen
• Very powerful code generation tool
• Free
• Reads specially formatted comments in code
• Supports C/C++, Java, Python, IDL, and C#
• Outputs RTF, compiled HTML Help, browser-based help, and
LaTex (PDF)
• Compatible with Javadoc 1.1
• Active development/support
• www.stack.nl/~dimitri/doxygen/download.html#latestsrc –
current version is 1.8.9.1 (January 2015)
22
Javadoc
• Powerful and free code generation tool for Java
• Reads specially formatted comments in code
• Outputs browser-based help
• Active development
• Current version: Java Development Kit 7.0 Update
51 –
www.oracle.com/technetwork/java/javaee/downloads
/index.html?ssSourceSiteId=ocomen
• www.doclet.com – source for Java Doclets and
Javadoc information
23
Build and Deployment Issues
• Use of automated build systems
• Use of source code control systems
• Other tools to do file comparisons, advanced
text editors, multi-file search and replace, etc.
24
Sample APIs
• Google Earth API – earth.google.com/comapi/
• Google Maps API – code.google.com/apis/maps/
• JavaScript The Definitive Guide - David Flanagan
• Sun Java documentation
• Microsoft Tablet PC SDK documentation -
msdn.microsoft.com/en-us/library/ms840465.aspx
• http://developers.box.com/docs/
• http://php.net/docs.php
• Amazon Web Services - http://aws.amazon.com/
25
Breaking into this Market
• Get training to develop the skills:
- Courses – www.coursera.org
- Self-paced training
- On-the-job training
• Make your own sample help systems, with
context-sensitive help coded
• Write some sample programs
26
Self-Paced Training
• Manuel Gordon’s API materials
(www.gordonandgordon.com)
• Documenting APIs: Writing Developer
Documentation for Java APIs/SDKs – James Bisso
(www.bitzone.com/book.html)
• Deitel & Deitel “(C/C++/C#/Java) How to Program”
• Sams “Teach Yourself…”
• Sample projects, such as the HTML Help API
• www.coursera.org
27
Listservers and Other Groups
• STC API – groups.yahoo.com/group/svcstcapi/
• API writers – groups.yahoo.com/group/APIWriters/
• HATT – groups.yahoo.com/group/HATT/
• MSHelp 2.0 – groups.yahoo.com/group/MSHelp2/
• Eclipse – groups.yahoo.com/group/eclipse_tw/
Linked In Groups:
• API Documentation
• Java API
• Framework and API Designers
• Technical Writers and SDK Doc
28
Common Tools Used
• Windows, Unix, and Linux
• Build scripts
• Source code control tools (Visual SourceSafe,
SVN, Perforce, etc.)
• Various IDEs (MS Visual Studio, NetBeans,
Eclipse, etc.)
• Comparison/differencing tools (Beyond Compare)
29
Typical Daily Activities
1. Check nightly build logs for failures/check-ins.
2. Update Perforce – look for changes to doc.
3. Research any changes to APIs, error messages,
etc.
4. Check bug system for my assigned bugs, changes
to bugs I’m following, new API-related bugs.
5. Download and install new kits (if it’s safe to do so).
6. Document new features/changes to APIs.
30
Summary
• Description of APIs and SDKs
• Benefits to writers
• Drawbacks to writers
• Training
• Writing considerations (tools, formats, issues
for context-sensitive help)
31
Closing
• Thank you.
• Questions?
Ed Marshall
Marshall Documentation Consulting
ed.marshall@verizon.net
www.MarshallDocumentationServices.com
LinkedIn: Ed Marshall
Twitter: EdMarshall
+1 978-339-3095
32

Contenu connexe

Dernier

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 

Dernier (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 

En vedette

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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

En vedette (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

APIs and SDKs: Breaking into a Specialty Market - 2015 STC Summit

  • 1. APIs and SDKs: Breaking into a Specialty Market Ed Marshall 2015 STC Technical Summit Copyright 2015
  • 2. APIs and SDKs API = Application Programming Interface SDK = Software Development Kit • Typical users and why they use them • Typical producers of these products • Examples 2
  • 3. Typical Documentation Deliverables • Programmer’s Reference Guides (often delivered online in some format) • Programmer’s Guides • Performance & Tuning Guides • API and SDK Installation Manuals 3
  • 4. Ideal Information for SDKs • Provide an overview of the SDK • Describe the tools and components in the SDK and how they relate to the APIs • Describe each tool in detail • Describe any sample programs included in the SDK 4
  • 5. Ideal Information for APIs • Break each component into the various families • Describe each API completely, including cross- references to any types used in the definition • Provide and explain examples that show both trivial and complex use of the class/API 5
  • 6. Reference Information for APIs • Brief description • Syntax • Examples, examples, examples! • Error messages • Cross-references 6
  • 7. Key Programming Concepts • Data types and variables • Program control – loops, conditions, etc. • Logical operators • Data structures, such as arrays • Functions and methods 7
  • 8. Benefits to the Writer • Do more advanced technical writing = Higher pay, higher status • Good if you like to play with software at the code level, create and test examples, talk and write in gibberish • Work more closely with developers 8
  • 9. Drawbacks to the Writer • Possibly restrictive/repetitive writing • Possibly less contact with users as they are developers/programmers themselves • Possibly, more technically challenging development/build environments 9
  • 10. Knowledge/Personality Traits that Work Well • Some knowledge of programming languages BUT you don’t have to be a programmer! • Willingness to work with advanced/programmer types of tools – Use software instead of specs • Desire to work at the code level and write for developers who work at the code level • Willingness/confidence to work closely with senior developers • Ability to develop context-sensitive level help at a lower level than the typical end-user (window-level) help 10
  • 11. Typical Skills Needed • Good writer, but not great • Strong organizational skills • Proactive in getting information • Have a flair for tools 11
  • 12. Ways to Add Value • Organizing information – change from timeline to alphabetical, grouping by categories of function, etc. • Adding missing information • Removing info not needed • Correcting discrepancies/non-parallel formats/descriptions • Using terms consistently • Providing better definitions – meaningful, not just repeating the function 12
  • 13. Ways to Add Value, cont. • Providing usage notes • Recommending sequence of use – flowcharts • Alphabetizing lists of error messages (removing duplicates) • Correcting spelling via custom spell-check dictionaries 13
  • 14. Ways to Get Information • Read the code* • Run automated tools against the software* • Provide fill-in-the-blank templates to developers* • Use the software • Read the specifications • Attend demos 14 * Recommended as the best methods for gathering information
  • 15. What to Look for in the Code Look in both internal/external files/functions for: • Function calls • Function parameters and data types • Return values • Enums, structs, etc. • Error codes 15
  • 16. Information You Can’t Get from Reading the Code • Why someone would use a certain function • The recommended logic flow – the order in which functions need to be called • Background information • Usage notes • Relationships between functions (get/set, open/close, etc.), but can deduce these and verify with developers 16
  • 17. Possible Strategies/Timeline for Accessing Code 1. Edit comments in code but don’t make changes in the code – shows you know the difference between comments and code. 2. Learn how to generate output from code and demonstrate “safe computer practices” – Do test builds and verify against known good builds. 3. Commit to only changing comments – and stick to it. 4. Best practice: Build outputs locally using the company’s system before checking in changes – builds trust in your work. 17
  • 18. Writing Style Differences • Use active voice. • Sentence fragments are acceptable. • Use verbs/gerunds to start phrases. • Eliminate “useless” words that are noise to developers. 18
  • 19. Automated Tools • Doxygen • Javadoc • Sandcastle – Tool for .NET help (MSDN style) 19
  • 20. Microsoft IDEs • Visual Studio 2008 Visual C++ • Visual C # • Visual Basic • Visual J# All free from www.microsoft.com/express/download/ 20
  • 21. Other IDEs • NetBeans – netbeans.org/downloads/index.html • Eclipse – www.eclipse.org (a free open source IDE) 21
  • 22. Doxygen • Very powerful code generation tool • Free • Reads specially formatted comments in code • Supports C/C++, Java, Python, IDL, and C# • Outputs RTF, compiled HTML Help, browser-based help, and LaTex (PDF) • Compatible with Javadoc 1.1 • Active development/support • www.stack.nl/~dimitri/doxygen/download.html#latestsrc – current version is 1.8.9.1 (January 2015) 22
  • 23. Javadoc • Powerful and free code generation tool for Java • Reads specially formatted comments in code • Outputs browser-based help • Active development • Current version: Java Development Kit 7.0 Update 51 – www.oracle.com/technetwork/java/javaee/downloads /index.html?ssSourceSiteId=ocomen • www.doclet.com – source for Java Doclets and Javadoc information 23
  • 24. Build and Deployment Issues • Use of automated build systems • Use of source code control systems • Other tools to do file comparisons, advanced text editors, multi-file search and replace, etc. 24
  • 25. Sample APIs • Google Earth API – earth.google.com/comapi/ • Google Maps API – code.google.com/apis/maps/ • JavaScript The Definitive Guide - David Flanagan • Sun Java documentation • Microsoft Tablet PC SDK documentation - msdn.microsoft.com/en-us/library/ms840465.aspx • http://developers.box.com/docs/ • http://php.net/docs.php • Amazon Web Services - http://aws.amazon.com/ 25
  • 26. Breaking into this Market • Get training to develop the skills: - Courses – www.coursera.org - Self-paced training - On-the-job training • Make your own sample help systems, with context-sensitive help coded • Write some sample programs 26
  • 27. Self-Paced Training • Manuel Gordon’s API materials (www.gordonandgordon.com) • Documenting APIs: Writing Developer Documentation for Java APIs/SDKs – James Bisso (www.bitzone.com/book.html) • Deitel & Deitel “(C/C++/C#/Java) How to Program” • Sams “Teach Yourself…” • Sample projects, such as the HTML Help API • www.coursera.org 27
  • 28. Listservers and Other Groups • STC API – groups.yahoo.com/group/svcstcapi/ • API writers – groups.yahoo.com/group/APIWriters/ • HATT – groups.yahoo.com/group/HATT/ • MSHelp 2.0 – groups.yahoo.com/group/MSHelp2/ • Eclipse – groups.yahoo.com/group/eclipse_tw/ Linked In Groups: • API Documentation • Java API • Framework and API Designers • Technical Writers and SDK Doc 28
  • 29. Common Tools Used • Windows, Unix, and Linux • Build scripts • Source code control tools (Visual SourceSafe, SVN, Perforce, etc.) • Various IDEs (MS Visual Studio, NetBeans, Eclipse, etc.) • Comparison/differencing tools (Beyond Compare) 29
  • 30. Typical Daily Activities 1. Check nightly build logs for failures/check-ins. 2. Update Perforce – look for changes to doc. 3. Research any changes to APIs, error messages, etc. 4. Check bug system for my assigned bugs, changes to bugs I’m following, new API-related bugs. 5. Download and install new kits (if it’s safe to do so). 6. Document new features/changes to APIs. 30
  • 31. Summary • Description of APIs and SDKs • Benefits to writers • Drawbacks to writers • Training • Writing considerations (tools, formats, issues for context-sensitive help) 31
  • 32. Closing • Thank you. • Questions? Ed Marshall Marshall Documentation Consulting ed.marshall@verizon.net www.MarshallDocumentationServices.com LinkedIn: Ed Marshall Twitter: EdMarshall +1 978-339-3095 32