There are two interesting features that are in the works for the upcoming version of Spree. The first major new feature is a basic shipping framework that is designed to support almost any conceivable method of shipping. The basic idea is that extensions will be able to provide their own shipping “calculators” which can be plugged into this framework.
The next version of Spree will likely ship with several calculators included. There will be some basic implementations in the core such as flat rate shipping. Brian is working on a cool extension that calculates shiping using predefined amounts. We’re also hoping to support USPS and UPS shipping by providing calcualtors that will wrap the active_shipping gem.
We’ll have a lot more to tell you about as the feature develops. For those of you who are interested in getting a sneak peak, please see the shipping branch.
The second feature to tell you about is support for what we call “near static” content. By near static, we mean content that is mostly just html but needs to be presented within a reusable layout. It may or may not also have need for helpers or other minor Ruby templating. The main thing to keep in mind is that we’re not talking about typical Rails views that iterate through instances of Active Record.
Think of near static content as basically the “brochure” parts of a commerce site. Many commerce sites have such content and we wanted to come up with a way to organize the content without resorting to a bunch of controllers for simple pages that just needed SEO friendly URL’s. So here’s a quick solution to this problem that we wanted to get some feedback on. You can either cherry pick this commit or simply checkout the static-content branch in github.
Fair warning, these features are rough and incomplete. The fact that they are on their own branches indicates that they are currently too rough to even be considered “edge.” Think of them as “edge plus.” That said, you should check them out if you have an urgent need or if you are just curious.