Padrino

Padrino 0.9.13 Gets Pushed Early

Following the release of 0.9.11 yesterday there were a few unresolved issues that were quickly discovered. In order to create the smoothest experience possible for Padrino users, we decided that these bugs warranted a new release ahead of schedule. So, today we have released 0.9.13 (and 0.9.12) with a few bug fixes and a deprecation of the mount_core method. Read on to get the full rundown.

This latest release is a quick bug fix patch release for a few outstanding issues in 0.9.11. First, there was an issue with the admin panel intermittently displaying in Czech rather than the english locale. This was due to a faulty key in the localization file for Czech in admin.

The second bug had to do with routing failures in which certain routes wouldn't behave as expected if the same path was defined twice with two different verbs (GET ‘/index’ and POST ‘/index’) as well as errors with the handling of provides and explicit formats. An updated http_router and changes to routing in Padrino has addressed these issues in 0.9.13.

Finally, we have deprecated the mounting syntax related to ‘core’ applications. Prior to 0.9.13, the following code was generated in a new project:

Padrino.mount_core("BlogDemo")

This is actually somewhat confusing and hides what the mounter is actually doing. In the latest release, mount_core is deprecated and the following is used instead:

Padrino.mount("BlogDemo").to("/")

This is a minor change but important as this command is much more consistent and adheres to our philosophy of minimizing ‘magical’ behavior in our framework.

The quick version of these fixes is recapped below:

  • Deprecated mount_core and remove references
  • Fixed problem with czech translation file
  • Fixed a problem with routes with same path but different verbs and provides

Please update your applications to 0.9.13 and continue enjoy using Padrino!


Padrino Gets Interviewed by thechangelog!

thechangelog is a weekly podcast hosted by Adam and Wynn that discusses “what’s fresh and new in open source”. Two of the core Padrino team members, Nathan and Arthur, recently had an opportunity to chat on air when Adam and Wynn decided to devote an entire episode to Padrino! The podcast runs for about 32 minutes and includes a nice discussion about Rack, Middleware, Sinatra and Padrino. Read the full blog post to listen to the interview!

You can visit the Padrino episode page to view the entire show notes with excellent related links and resources mentioned in the discussion.

We would also like to reiterate a few resources here which are particularly valuable for Padrino developers:

  • Rack Website – If you are using Padrino (built on Rack), you should eventually become familiar with the underlying “Rack” architecture. It is easy to understand and really helps give you a better picture of what is involved with a web application behind the scenes.
  • CodeRack – Rack middleware is an excellent way to add functionality to your project without having to do any implementation work in your application. There is rack middleware to do everything from displaying a captcha to authenticating users and even bundling your assets
  • Presto – Wynn’s shameless port of Nesta CMS to Padrino powering his own site
  • Padrino Extensions – A starting set of Padrino extensions and recommended libraries for various common requirements

The Padrino team would like to thank Adam and Wynn very much for this excellent show they put together every week and for having us on to discuss Padrino at length. We know both of them are fans of Padrino and just chatting with them was great fun.


  • Prev Page
  • Next Page