More minimalistic interfaces in 1.5

View: New views
2 Messages — Rating Filter:   Alert me  

More minimalistic interfaces in 1.5

by Martijn Dashorst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd like to create even more smaller interfaces than currently
proposed. For example IPage has isBookmarkable() and
wasCreatedBookmarkable()

Those methods could easily be part of an IBookmarkable interface, and
then be used for resources as well.

It would be even nicer if we could make the interface more in line with mixins.

Martijn

Re: More minimalistic interfaces in 1.5

by Matej Knopp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

what's the point of wasCreatedBookmarkable on resources? On page it
determines whether after redirect the URL will be hybrid even if page
is not mounted. What would it do for resource?

-Matej

On Fri, Aug 21, 2009 at 12:03 AM, Martijn
Dashorst<martijn.dashorst@...> wrote:

> I'd like to create even more smaller interfaces than currently
> proposed. For example IPage has isBookmarkable() and
> wasCreatedBookmarkable()
>
> Those methods could easily be part of an IBookmarkable interface, and
> then be used for resources as well.
>
> It would be even nicer if we could make the interface more in line with mixins.
>
> Martijn
>