Within the next two months the next generation (2.0) of Embperl will most likely be released. The current Beta release is 2.0b7, which is most likely stable enough for a production environment, the author uses it in production, but then again he can fix it if it breaks :). The focus of HTML::Embperl has always been on web applications and now with the release of 2.0 the ability to use Embperl outside of an HTML environment is finally achieved. Here is a quick run down of the new features available in 2.0
Most of this information is in the README.v2 that comes with the 2.0b7 module and is not in the main documenation. Some of it is also still "hidden" in the Changes.pod file.
  • Internationalisation (I18N) - You can create language files and set the language via an EMBPERL directive in the httpd.conf based on Location, Directory, Virtual host etc. This feature could also be handy even if you wanted to use it for just one language and have it act as a repository for various messages in your app.
  • Added form data validation. Embperl is now capable of server-side and client-side validation of form input. You just have to define a set of rules and Embperl generates the correct JavaScript code and does the validation when the form data is posted to the server. By writing or overriding class, the validatior could be extented. See Embperl::Form::Validate for details.

  • Those are just some of the high points. You can see my review of HTML::Embperl for some insight into why I like it and all the good features are carrying forward to Embperl.

    You can visit the Embperl site here.

    In reply to HTML::Embperl to become Embperl by trs80

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.