Updates to Wiki

Posted by jgehtland Mon, 14 May 2007 20:43:24 GMT

I’ve added a link to the tutorial slides to the Wiki, as well as updated the Relationships page to show the new syntax for managing relationships.

I’ll be posting a whole new suite of screencasts during RailsConf, so stay tuned for those.

1 comment | 1 trackback

Next release will be 1.0

Posted by jgehtland Mon, 07 May 2007 03:50:26 GMT

We’ve been fielding a lot of questions on this lately, so here is the official release statement:

The last official release was 0.0.7, which was the switchover from generator to plugin. Since then, there were a couple of point releases, but most of the new development has been happening in Edge (which can be found at http://svn.streamlinedframework.org/edge/streamlined).

The Edge code will go to 1.0 status, and be the official, always backwards-compatible to it, version, hopefully by the time RailsConf rolls around.

Amazing how the 9 months since we officially launched the project has felt both eternal (I can barely remember what 0.0.1 looked like) and ephemeral (I can barely believe its almost RailsConf again). Streamlined has been through a lot of changes, but we think we’ve got something pretty useful.

Posted in  | no comments | 6 trackbacks

Slides for RailsConf tutorial online

Posted by jgehtland Mon, 07 May 2007 03:44:02 GMT

I’ll be giving a tutorial on Streamlined on Thursday at RailsConf ‘07. I’ve gone ahead and posted the slides that we’ll be using as a backdrop behind me as I yammer on and on about how we use Streamlined for our customers and get things going quickly on our projects. If you are coming to the tutorial and want to get a heads up on what we’ll cover, or if you aren’t going to be able to make it but wish you could, or maybe you just like collecting presentations and storing them on your too hip USB drive, whatever. The presentation can be had at:

http://streamlinedframework.org/streamlined-tutorial.pdf.

3 comments | 5 trackbacks

New Features in Edge Streamlined

Posted by jgehtland Mon, 07 May 2007 03:34:26 GMT

We’ve had a busy few weeks, so here’s an update on some of the new features we’ve added in Edge recently:

Enumerations

We’ve added the ability to denote a column as an enumeration. For example, in the sample project, an instance of Team has a column called :sport. It contains a string, but instead of being a free input, by making it an enumeration, the user is given a drop-down which provides them their options. The syntax looks like this:

user_columns :sport, {:enumeration => Sport.SPORTS}

The value passed to :enumeration can be any array.

Associations editable everywhere

In the original version of Streamlined, associations were only editable through Ajax from the list view. During create and edit, the associations were hidden. Now, associations can be edited from list, edit or create views, and by default, all three. To change that behavior, you can use any of the following options:

  • :read_only. The association only displays, cannot be edited in any view.
  • :create_only. The association can only be edited during creation of the record.
  • :edit_in_list => false. Turns off editing of the association in the list view.

Usage:

user_columns :players, {:edit_in_list => false},
                    :coach, {:create_only => true},
                    :mascot, {:read_only}

Unassigned in drop-down

Streamlined has long had a feature that attempts to detect if you have validations on an association that require it to be filled in. If so, Streamlined removes the “Unassigned” option from the drop-down, preventing the user being presented with an invalid choice. In Edge, we’ve expanded that behavior, and now you can provide a global or per-model override to the text “Unassigned”.

Usage:

user_columns :coach, {:unsassigned_value => 'None'}

Ability to suppress quick delete button from list view

You can now turn off per-row delete buttons in the list view by marking quick_delete_button as false.

Usage:

class TeamUI < Streamlined::UI
   quick_delete_button false
end

Disabling live filtering

You can also disable the display of the filter box on any list view by marking table_filter as false.

Usage:

class TeamUI < Streamlined::UI
   table_filter false
end

That’s a pretty good list for now. We’ll be talking about more changes in upcoming posts. Don’t forget to check out the sample project for real examples of the plugin in action.

Posted in  | no comments | no trackbacks

A sample project, and DOCUMENTATION

Posted by jgehtland Thu, 03 May 2007 14:01:11 GMT

The big news of the day is the release of our sample project, with documentation on the Wiki. In addition, the feature list is growing, and the team is doing a great job of keeping up with the docs over there now. Its amazing what can happen when you get some extra hands on deck.

We’d like to encourage everyone to look over the docs being released and edit those pages with questions you want answered.

Posted in ,  | 3 comments | no trackbacks

The Team has Grown!

Posted by jgehtland Wed, 18 Apr 2007 14:34:17 GMT

We’ve officially expanded the team here at Streamlined. We’d like to extend a warm and public welcome to our four new committers: Matthew, Venkat, Glenn and Luis. We expect the pace of change to ramp up, as well as the quality, with these four new eager beavers aboard.

Don’t forget to keep asking questions on the mailing list and posting tickets to Trac. Now, there’s more of us to answer. Yay!

Posted in  | no comments | no trackbacks

More updates

Posted by jgehtland Sat, 07 Apr 2007 00:18:57 GMT

We’ve just added patches submitted by matthew and ttaylor (thanks, both of you) and fixed a few other tickets. We’ve also moved a few features into the new sandbox section, to clean up the major part of the release.

The next step is a sample project, and then 0.1 goes out the door.

Posted in ,  | 1 comment | no trackbacks

Updates on 0.1.0

Posted by jgehtland Thu, 22 Mar 2007 14:32:25 GMT

First of all, thanks to everybody who jumped in on the beta and has been sending comments. We know the code is in high flux, and those who have stuck with it, we appreciate the feedback a lot. Thanks!

Second, I’d like to give some previews to the kinds of changes you will find when we release the new codebase. Perhaps most importantly to a lot of you, the declarative syntax for managing columns and relationships has been simplified and combined. You can expect your old version:

class EmployeeUI < Streamlined::UI
   user_columns :name, :email, :hire_date

   relationship :boss, {:summary => {:name => :name, :fields => [:first_name, :last_name]}
end

to look more like this:

class EmployeeUI < Streamlined::UI
   user_columns  :name, {:link_to=>{:action=>'edit'}}, 
                        :email,
                        :hire_date, {:read_only=>true},
                        :boss, {:show_view=> [:name, {:fields=>[:first_name,:last_name]}]}

   edit_columns   :name, :email
end

As you can see, relationship are combined into columns, and order is maintained across both. So if you moved :boss up to right after :name, the relationship column for :boss would be the second column in the list table.

Also, the optional overrides ‘edit_columns’ and ‘show_columns’ give you a way to specify those subviews. If not specified, they simply inherit from the list view.

You might also notice the addition of :link_to as an option for any column, which can take the standard url_for or RESTful url methods, or a raw URL.

Another major change is that we’ve changed the default behavior for editing/showing to non-Ajax. Instead of Prototype Windows being the default, we’ll use standard redirects. However, switching between the two types is as simple as including the right helper in your controllers. And the decision can be per-controller. For example:

class DepartmentsController < ApplicationController
    acts_as_streamlined
    include Streamlined::Helpers::PrototypeWindowsLinkHelper
end

That will switch the DepartmentsController to use the Prototype Windows-style edit and show behavior. Obviously, to change the style app-wide, you would just include that helper in ApplicationController.

That’s probably enough for this brain dump; look for all of this over on the Trac wiki today, with a downloadable sample project as well.

Posted in ,  | no comments | no trackbacks

Thanks, Bruce!

Posted by jgehtland Thu, 22 Mar 2007 14:04:58 GMT

Just wanted to publicly thank Bruce Williams for being a true pal, friend to Open Source, and general good guy for coming up with our new logo (seen on the Trac page).

Posted in  | no comments | no trackbacks

Pre-announcing: Streamlined 0.1.0

Posted by jgehtland Fri, 16 Mar 2007 17:58:55 GMT

We’re very pleased to announce the imminent release of Streamlined 0.1.0. We’ve been looking over the tickets, notes, comments, hate mail, etc. we’ve gotten and taken almost all of it to heart. Streamlined 0.1.0 is an entirely refactored codebase, and includes the following changes over 0.0.7.1:

  • 100% C0 code coverage
  • declarative column options for:
    • which view to render in (list, edit, new, show)
    • custom headers
    • read-only columns
    • abstracts columns (any method on the object available)
    • per-column link attributes (causes the value to be turned into a link to the provided URL)
    • per-column popup link
  • declarative model options for:
    • whether to show per-item action buttons in the list view (edit/delete/show)
    • use of non-ajax or ajaxified views
  • 100% unobtrusive javascript

These changes will lead to a host of new features over the next several weeks, including:

  • complete RESTful support for all views, including export formats
  • per-user configuration and preferences, including column ordering and default sort per-user
  • smart folder functionality per-model, with optional per-user smart folders
  • a more easily extended set of default relationship views
  • and, perhaps above all, documentation

We’re looking for testers right now. If you are interested, contact us at contact AT relevancellc DOT com or on the dicsussion list and we’ll give you access to the subversion Edge branch. We’ll publicly release Edge at the end of next week, and go 0.1 the week after that.

We’re really excited about release, and, if you look at the changes in the codebase, we think you will be too.

Posted in ,  | 1 comment | no trackbacks

Older Posts

Older Posts: 1 2 3 4 5 6