Your SlideShare is downloading. ×
0
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Prawn
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Prawn

837

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
837
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Prawn Create PDFs with Ruby
  • 2. Tom Klaasen • Co-founder of (http://10to1.be) • @tomklaasen • http://tomklaasen.net
  • 3. Prawn • Prawn takes the pain out of generating beautiful printable documents, while still remaining fast, tiny and nimble.
  • 4. History • Gregory Brown: “What if I could just do open source for a while, non- commercially?” • http://www.oreillynet.com/ruby/blog/2008/03/ id_love_to_quit_my_job_sort_of.html
  • 5. Goals • The features you need, without all the complexity • Built in support for UTF-8 • Easy image embedding • Flexible table drawing • Simplified content positioning
  • 6. Code Examples
  • 7. “Hello, World”
  • 8. Render a book
  • 9. Render a book (2)
  • 10. Render a book (3) • PDF: 84 pages • “Took 6.582318 to generate.”
  • 11. Tables
  • 12. Tables (2)
  • 13. Bounding boxes
  • 14. Bounding boxes (2)
  • 15. The Future • Now: alpha • Project is gaining traction quickly • First stable production release: June 2009
  • 16. How to get it • gem install prawn
  • 17. References • http://prawn.majesticseacreature.com/ • http://advent2008.hackruby.com/past/ 2008/12/17/ awn_and_the_future_of_ruby_pdf_generat ion
  • 18. Thank You • tom@10to1.be • @tomklaasen • http://tomklaasen.net

×