foss sthlm #1 - curl

Download Foss Sthlm #1 - curl

If you can't read please download the document

Upload: daniel-stenberg

Post on 19-Jun-2015

2.882 views

Category:

Technology


5 download

DESCRIPTION

Slides in Swedish with a quick overview of curl, libcurl and the cURL projcet in general.

TRANSCRIPT

  • 1. Alla gillar curl

2. cURL

  • curl

3. libcurl 4. verfr data med internet-protokoll: FTP, FTPS, HTTP, HTT PS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, POP3, IMAP, SMTP, RTSP och FILE 5. anvndare

  • Linux, Mac OS X, AIX, IRIX, Solaris, *BSD, UnixWare, HP-UX

6. Adobe, AOL, Apple, Bwin, Canonical, CERN, Cisco, Garmin, Google, Facebook, F-Secure, IBM, Linden Lab, Motorola, MacAfee, Nortel, Neuros, Oracle, Panasonic, Polaroid, RSA Inc, SAS Institute, SEB, Siemens, Sony, Spotify, Sun, Symantec, SwissCom, Vmware, Voddler, Yahoo, Zimbra etc 7. OpenOffice.org, git, Firefox3, Gnash, gimp, libtorrent, Boinc, Xen, Gizmo, metadl, curl-loader, grip, UnrealIRCd, Aegis, Cmake, slapt-get, Xine, AlsaPlayer, xmms2, EmBrowser, OpenVRML 8. automatik

  • 136 flaggor...

9. Som kan anges i en config-fil och ... 10. Som modifierar hur curl beter sig 11. Upprepa verfringar (utan GUI) 12. 'man curl' r din vn 13. kommandoraden

  • curlhttp://curl.haxx.se/-o storehere

14. curlftp://curl.haxx.se/-o storehere 15. curlhttps://curl.haxx.se / -o storehere 16. curl sftp://curl.haxx.se/ -u me:pwd -o storehere 17. curl scp://curl.haxx.se/ -o storehere 18. curl tftp://curl.haxx.se/ -o storehere 19. curl -T uploadfileftp://curl.haxx.se/tohere/ 20. curl -T uploadfile https://curl.haxx.se/tohere/ 21. libcurl

  • Samma grej fast ett bibliotek

22. API fr verfring av data 23. C89 fr portabilitet: 40 bindings 24. Innehllsagnostisk 25. Blocking eller non-blocking 26. Abstraherar protokoll-detaljer 27. Hg prestanda (c10k+ etc) 28. Tredjeparts-bibliotek fr subfunktioner 29. Varfr nyttja libcurl?

  • Fritt, ppet och gratis

30. Trd-skert 31. Ipv6-kompatibelt 32. Feature-packat 33. Bra supportat och underhllet 34. Snabbt! 35. Bra dokumenterat 36. Mycket portabelt 37. Enkelt!

  • En libcurl-applikation kan vara riktigt enkel:

int main(void) { CURL *curl; CURLcode result; curl =curl_easy_init (); if(curl) { curl_easy_setopt (curl, CURLOPT_URL, " http://curl.haxx.se "); /* set more options here... */ result =curl_easy_ perform (curl); curl_easy_cleanup (curl); } return 0; } 38. Projektet

  • Jag brjade 1997

39. Mnga drive-by, scratch-an-itch 40. Liten core 41. >700 contributors 42. MIT 43. Mailing lists! 44. #curl 45. Oberoende 46. Releaser

  • Varannan mnad

47. 25 buggfixar 48. 8 frndringar 49. 20 personer 50. P trunk 51. Sa jag portabelt?

  • Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS, MVS, VxWorks, Windows CE, OS/400, CellOS (PS3), iPhone, Symbian, Android ...

52. Alpha, HP-PA, HP3000, MIPS, PowerPC, POWER, SuperH4, Sparc, ARM, i386, ia64, m68k, s390, NiosII, Microblaze... 53. Inget annat transfer-lib r ens i nrheten 54. automatbyggen och tester 55. Beror p att anvndare rapporterar problem 56. bindningar

  • Ada95, Basic, C++, Ch, Cocoa, D, Dylan, Eiffel, Euphoria, Falcon, Ferite, Gambas, glib/GTK+, Haskell, Java, Lisp, Lua, Mono, .NET, Object-Pascal, O'caml, Pascal, Perl, PHP, Postgres, Python, R, Rexx, RPG, Ruby, Scheme, S-Lang, Smalltalk, SP-Forth, SPL, Tcl, Visual Basic, Visual Foxpro, Q, wxWidgets, XBLite och fler!
  • alla strre miljer har bindningar

57. Underhlls utanfr cURL-projektet 58. Pycurl och PHP/CURL populra 59. curl vs wget

  • libcurl

60. pipes 61. return codes 62. single-shot 63. many protocols 64. more portable 65. more SSL libraries 66. more HTTP auth 67. bidirectional

  • command line

68. recursive fetch 69. older 70. much less developer activity 71. HTTP 1.0 72. GPL 73. GNU curl wget 74. ! Hjlpa till!

  • Buggrapporter!

75. Dokumentera! 76. Support p mail och IRC! 77. Fixa enkla buggar! 78. Fixa svra buggar! 79. Lgg till nya features! 80. curl.haxx.se