rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
* [ANN] Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
@ 2010-08-19 23:25 Magnus Holm
  2010-09-25 16:38 ` trans
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Holm @ 2010-08-19 23:25 UTC (permalink / raw)
  To: camping-list, Ruby-talk, rack-devel

        {}
        ||
        ||
  ~~~~~~~~~~~~~~~           <=   _whycake
  ~ Camping 2.1 ~
  ~~~~~~~~~~~~~~~

I'm pleased to announce another release of Camping, the microframework. This
time we've focused on improving the 1.9 support, adding (builtin) support for
more template engines, refreshing the homepage and just general bug fixes.

  gem install camping

Home: http://camping.rubyforge.org/
Code: http://github.com/camping/camping
Bugs: http://github.com/camping/camping/issues
List: http://rubyforge.org/mailman/listinfo/camping-list

Let's have a look:

~> ERB and Haml

Camping now includes support for Tilt (http://github.com/rtomayko/tilt) which
means that you'll get simple, effortless ERB and Haml support:

  module App
    # Path to where you want to store the templates
    set :views, File.dirname(__FILE__) + '/views'
  end

  module App::Controllers
    class Index
      def get
        render :index
      end
    end
  end

Now you just need to add a views/index.haml or views/index.erb and it'll
render that instead of using Markaby. You can still use Markaby of course!

If you want to change any options for either ERB or Haml, you can use #set:

  module App
    set :haml, { :escape_html => true }
    set :erb,  { :trim => "%" }
  end

~> New homepage

Bluebie has designed an excellent new homepage for Camping:

  http://camping.rubyforge.org/

It should have links to pretty much everything you need to know about
Camping. As soon as possible we'll also try to integrate it with the GitHub
wiki and make everything more easily editable, so you can add your own links
too!

We've also started a blog at http://campingrb.tumblr.com/, where we'll keep
you up-to-date on the Camping development and community.

~> _whyday!

It's the 19th August today, so that means it's Whyday: http://whyday.org/

Camping 2.1 is our little contribution :-)

I should mention that many of these changes has been available for a *looong*
time in the source, but we felt that Whyday was a perfect occasion for
finally releasing 2.1.

I'd actually recommend to try out the experimental version if there's been a
while since the latest release. See the installation page in the wiki for
information, and subscribe to http://campingrb.tumblr.com/ to get a sneak
preview of the latest changes in Camping!

Have fun and enjoy both Whyday and Camping!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
  2010-08-19 23:25 [ANN] Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website! Magnus Holm
@ 2010-09-25 16:38 ` trans
  0 siblings, 0 replies; 2+ messages in thread
From: trans @ 2010-09-25 16:38 UTC (permalink / raw)
  To: Rack Development

On Aug 19, 7:25 pm, Magnus Holm <judo...@gmail.com> wrote:
>
> Bluebie has designed an excellent new homepage for Camping:
>
>  http://camping.rubyforge.org/

It's almost unreadable on Firefox.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-25 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19 23:25 [ANN] Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website! Magnus Holm
2010-09-25 16:38 ` trans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).