Deploy an application with Cerise Web server

    Date16 Feb 2005
    10288
    Posted ByBrittany Day
    Use Ruby as your programming language to create a simple application. This article shows you how to create a guestbook Web application with the Cerise Web server and the Ruby programming language. You'll use RSS 1.0 as the file format for the guestbook entries and XSLT for transforming files to HTML.


    Introduction
    With a World Wide Web dominated by Java 2 Platform, Enterprise Edition (J2EE) application servers, choosing another Web framework can seem strange or unprofessional. However, there are many viable alternatives on the market. As with operating systems, you don't have to use a specific application server just because everyone else is using it. You have a choice, and choosing the application server that fits the problem is where you should start. In this article, I present a rather unconventional and little-known application server: Cerise. This operating system-independent server offers a flexible, lightweight, and developer-friendly environment for building both simple and complex Web applications.

    Cerise is written in the Ruby programming language, just like the applications written on top of it. This proves very useful in that Ruby is a powerful object-oriented language with a clean and concise syntax, perfectly suited for rapid application development.

    To show the effectiveness of combining Ruby and Cerise for Web application development, I'll use the example of a guestbook on a Web site. This example represents the basics of most small- and medium-scale Web applications. It shows the processes of form handling, error handling, and reading and writing of XML files.
    You are not authorised to post comments.

    LinuxSecurity Poll

    Do you reuse passwords across multiple accounts?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 2 answer(s).
    /component/communitypolls/?task=poll.vote
    13
    radio
    [{"id":"55","title":"Yes","votes":"4","type":"x","order":"1","pct":44.44,"resources":[]},{"id":"56","title":"No","votes":"5","type":"x","order":"2","pct":55.56,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.