Category ‘Erlang’

Convert HTML to PDF

As a background task for our web application BeeBole, I was looking for an easy and efficient way to produce PDF documents without being stuck with postscript like syntax or being feature limited in a design point of view.

Last week I discovered the tool I was looking for : WKHTMLTOPDF

By leveraging the power of the webkit engine through QtWebKit module, this thing is converting HTML with full CSS support to PDF the same way you “Save as PDF” from your browser icon wink Convert HTML to PDF

In this article, I'll show you the very first prototype I did of a possible WKHTMLTOPDF integration with our application.
Continue Reading »

37Signals Dives Into Erlang

37Signals is a great company with amazing achievements. Behind Basecamp (an incredibly simple project management tool) and Ruby on Rails (Yeah, just that), they are now announcing they just dived into the Erlang world.

They use it for their Campfire application which is a web-based messaging/chatroom solution and the performances prove one more time that Erlang is a killer language when it comes to build stable and scalable back end systems.

You can read their full article here.

37Signals, Facebook,...

What are you waiting for? Start developing your own web application with Erlang now!

Test the Performance and Scalability of Your Web Applications With Tsung

What is Tsung ?

The purpose of Tsung is to simulate users in order to test the scalability and performance of IP based client/server applications. You can use it to do load and stress testing of your servers.

(Definition coming from the Tsung website)

In this post, I will introduce the use of Tsung in order for you to stress test your web applications.

Why Tsung ?

Because it's an Open-Source project and, to tell the truth, mainly because this application has been coded in Erlang which gives Tsung a little advantage on the other tools: it has the potential to simulate A LOT of concurrent requests ... without crashing. That's what we expect from a stress testing app, isn't it?

Continue Reading »

How To Implement A Captcha In An Erlang Web Application

In this post, I'll show you a way to implement a Captcha challenge-response test in an Erlang web application. This method is a simplified version of what we use in our Business Management application

It takes part in an ongoing series of Erlang tutorials that can be found on our Erlang website

captcha How To Implement A Captcha In An Erlang Web Application

Continue Reading »

Erlang Resources For Web Applications

We have been very happy to see more and more interest for the Erlang material we were providing (our video has just reached 1000 plays).

And with the growing number of posts and tutorials, we decided it was time to give them a real dedicated Erlang page

In the future, more content and more links will be added to this page. All your feedback is also very welcome to help us create a comprehensive and complete guide.

It is really nice to see so much enthusiasm and a vibrant community starting around Erlang for web apps. Two new Erlang blogs we came across and that are definitively worth a look:

Good luck to Chad and Lloyd.