Wt & JWt 3.2.3, RC1

  • Posted by koen
  • Friday, October 12, 2012 @ 12:55

A new version of the library, with a typical mix of bug fixes and new features.

Here are the main links:

Payment API (C++ Wt)

We’ve added a payment module, which simplifies the integration of third-party payment gateways in a Wt application. We are currently only supporting the PayPal Express Checkout functionality, but are looking to expand this with other payment gateways (tips on which ones are on your wishlist would be appreciated).

PDF Rendering support

We have improved our XHTML→PDF rendering library (which implements a compact and efficient HTML/CSS layout engine), and which is generally useful for reporting and other PDF document generation. In particular, we improved multi-page support (allowing for explicit page breaks), and made several improvements to table layout, including the possible use of %-widths for columns, and the automatic repetition of table headers on every page for multi-page tables.

We have also integrated this library now in the JWt, using PDFJet as the low-level PDF library.

Tags:
8 comments
  • Posted by anonymous
  • 11 years ago
Just curious: why PDFJet and not iText as PDF library in JWt?
  • Posted by koen
  • 11 years ago
We evaluated both, but PDFJet won on being more complementary in functionality to the rendering library in JWt, and on a more transparent pricing and licensing strategy. There is no reason why iText would not have worked too.
  • Posted by anonymous
  • 11 years ago
Is there an example of how to use paypal?
  • Posted by koen
  • 11 years ago
Yes: there is a paypal feature example included in the tarball.
Or see also https://github.com/kdeforche/wt/tree/master/examples/feature/paypal
  • Posted by anonymous
  • 11 years ago
Consider using mozilla/pdf.js
  • Posted by koen
  • 11 years ago
For visualizing a PDF, yes. Wt's PDF support is however in rendering (XHTML contents) to a PDF.
  • Posted by anonymous
  • 11 years ago
Hi, going to check this new version this weekend.
Which boost version do you suggest to use?
E.g. what version did you use for testing 3.2.3 RC1?
  • Posted by koen
  • 11 years ago
Hey, we are testing with versions from 1.37 up to 1.49.
I would recommend the one that installs most easily (if you are on linux; the one that is packaged).

Contact us for more information
or a personalised quotation