Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Code Generators

    Erubis 2.6.0

    Download button

    No screenshots available
    Downloads: 590  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Makoto Kuwata | More programs
    MIT/X Consortium Lic... / FREE
    May 12th, 2008, 10:36 GMT
    ROOT / Programming / Code Generators

     Read user reviews (0)  Refer to a friend  Subscribe

    Erubis description

    Erubis is an implementation of eRuby.

    Erubis is an implementation of eRuby.

    eRuby means "embedded Ruby" in documents. Embedded patterns are '< % statement % >' and '< %= expression % >'. The following is an example of eRuby. '< % ... % >' means Ruby statement and '< %= ... % >' means Ruby expression.

    Erubis is implemented in Ruby and is now ported into Java. You can use Erubis in Java with Rhino.

    Here are some key features of "Erubis":

    · Very fast, almost three times faster than ERB and about ten percent faster than eruby (implemented in C).
    · File caching of converted Ruby script support.
    · Auto escaping (sanitizing) support, it means that '' can be escaped in default. It is desirable for web application.
    · Spaces around '' are trimmed automatically only when '' is at the end of line.
    · Embedded pattern changeable (default ''), for example '[% %]' or '' are available.
    · Enable to handle Processing Instructions (PI) as embedded pattern (ex. ''). This is desirable for XML/HTML than '' because the latter breaks HTML design but the former doesn't.
    · Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript).
    · Context object available and easy to combine eRuby template with YAML datafile (see the below example).
    · Print statement available.
    · Easy to expand and customize in subclass
    · Print statement support
    · Lines starting with percent character ('%') support
    · Another embedded pattern support
    · Ruby on Rails support.
    · Mod_ruby support.

    Requirements:

    · Ruby
    · Rails

    What's New in This Release:

    · Improved support of Ruby on Rails 2.0.2.
    · New class ActionView::TemplateHandlers::Erubis is defined and registered as default handler of *.html.erb and *.rhtml.



    Product's homepage

      


    TAGS:

    eRuby implementation | embedded Ruby | embedded pattern | eRuby | implementation | Ruby

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM