Posted By: George Moschovitis
Date: 2005-03-28 16:40
Summary: Nitro + Og 0.14.0
Project: Nitro

This release fixes *important* bugs amd improves various aspects of the platform. Moreover, we included some great *new* features for your pleasure.

Most notable additions:

* Fixed IMPORTANT bug in property inheritance.

* Fine grained caching. Nitro allows you to cache
whole pages (output caching), actions and fine-grained fragments.

class MyController < Controller
cache_output :my_action

def my_action
end
end

Stores the whole page created by the my_action method to the disk to be displayed by the web server thus completely bypassing Nitro and Ruby.

or

<strong>Here is some cached code</strong>
<cache>
<ul>
<?r for a in Article.all ?>
<li>#{a.title}: #{a.body}</li>
<?r end ?>
</ul>
</cache>

or

<strong>Another one</strong>
<?r cache('variant', :admin => session[:admin]) do ?>
...
<?r end ?>

Cached fragments can be stored in memory, filesystem.

While this feature is fully operational, the API will be finalised in
the next version.

* Introduced support for Og mixins. In this version a List mixin is provided:

class Article
has_many :comments, Comment, :order => 'position DESC'
end


class Comment
belongs_to :article, Article
acts_as_list :scope => :article
end

An AR compatible API is provided. An alternative
API is planned for the near future to give you more choice.

* Reimplemented filtering infrastructure, allows
for inheritance, conditional application of filters (:only/:except) modifiers, more performant Filters as Strings and more.

* Fixed multipart support in fastcgi, added file upload example (tiny example).

* The webrick adapter reuses the fastcgi infrastructure, making the adapters more compatible with each other.

* Added many useful Og enchant methods.

* Cleaned up configuration files for lighttpd/apache.

* More compatible with win32.

* Fixed examples and all reported bugs.

Latest News
Version 1.6.0 of Mxx_ru released
    Nicolay Shmakov - 2013-06-19 12:07
TZInfo v1.0.0 and TZInfo::Data v1.2013.3 Released
    Philip Ross - 2013-06-02 17:12
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28

 

Forums | Admin

Discussion Forums: nitro---og-0.14.0

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post