After almost a year in the making we are putting the finishing touches the the new Nitro and Og release, version 0.50.0. This new release embodies a great collection of new features to totally change the way you write Web and/or Database applications in Ruby.
If you would like to try the pre-release code just pull from the official Nitro repository:
$ darcs get --partial http://repo.nitroproject.org
$ cd example/blog
$ vi conf/debug # configure as needed
$ nitro
I am pleased to officially announce a new resource for Nitro and Og developers. Nitro Planet (powered by the brand new phidz.com service) aggregates Nitro and Og related content from many sources. As always, I would like to hear your suggestions and/or bug reports.
I have successfully used Nitro for years, yet I am still amazed at the flexibility and (dare I say) pure magic of the system. Consider the brand new compiler filter pipeline (available in the repository version). It allows you to customize the (ahead of time) compilation of your view templates to actual ruby code that will interpolate dynamic data to render the actual HTML files at run time. Using custom filters you can provide a host of special FX, like markup macros, code morphers and so much more.
Some days ago, I read about a new feature of the Rails asset helper. In short it allows you to easily distribute requests for static assets (CSS, javascript, images, etc) across a range of “pseudo” domains as suggested in this great web page performance optimization article. However, to use this Rails version you have to replace the standard tags with asset helper method calls like #image_tag throughout your template files. Not nice…
I decided to re-implement this functionality using a Nitro filter. The result is called the AssetFilter. As it is enabled in the default pipeline for the HTML format the only thing you have to set to make it work is the assets host:
AssetFilter.host = "http://s%d.mysite.com"
s0.mysite.com
s1.mysite.com
s2.mysite.com
s3.mysite.com
Dear devs, I would like to present to you a cool, new Nitro-powered site:
Joyerz.com is updated daily with a selection of the best photos uploaded by members of Joy.gr, the most popular Greek social network site. Joyerz is intended for a global audience. So, go on, check this site and come back every day to enjoy new photos of beautiful greek people.
Moreover, sign-in using OpenID to vote for the best photos, add comments and organize your favourites.
In a previous post I promised to discuss a few of the groundbreaking new features of Nitro. Today, I will talk about automatic REST support in the repository version of Nitro.
The brand new dispatcher intelligently handles RESTful URIs according to the following scheme:
The repository version of Nitro contains an overwhelming amount of new, impressive features. Most of these features are the result of completely rewriting substantial portions of the code base and will change the way you write Nitro applications. We will present a lot of these innovative features in this blog. But some times, even small things can bring a smile to your face. As they say, the God is in the details.
Arguably, the most serious barrier of entry for new Nitro and Og developers is the lack of documentation and tutorials. We have recognised this shortcoming, and our response is the new NitroProject.org site. However this site is in its very early phase of construction and as such it does not provide everything we have planned, yet.
Welcome to the new version of the official Nitro/Og blog!
This blog (along with the rest of the site) should be considered and alpha version. The features and the graphics will be updated in the near future but it is released now in the spirit of “release early, release often”.
This blog will be the definitive source of Nitro and Og related announcements from now on. Moreover, you will be able to find (and hopefully enjoy) some nice hands-on articles with tricks and tips on effectively using Nitro and Og. To make this blog a true success I would expect some nice postings from other members of the community. Let’s share our knowledge (and love) on Nitro.
As always, please report any problems and bugs. This blog (and the rest of the site) is not tested on IE. Please use a standards compliant browser.
Subscribe to the blog feed