Blog Post RSS ?

Blogs » PHP » How do you learn how to use a library?
 

How do you learn how to use a library?

by Harry Fuecks

Following an interesting discussion on Sitepointforums, a rough poll.

If you’re getting started with some class library, like one of the many in PEAR, which of the following (if any) steps do you take to work out how to use it (and in what order)?

a: Examples package with the code

b: API docs (such as that generated by phpDocumentor or the PHP manual)

c: Reading the source code

d: Any packaged documentation (such as tests and READMEs)

e: Guessing method names (with IDE help) and parameters.

f: Online tutorial (e.g. those on Sitepoint or a developers WIKI)

g: Pair programming

h: Print magazine articles

i: Book chapters

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

This post has 15 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...