You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "George Stan (JIRA)" <ji...@apache.org> on 2010/05/25 11:08:24 UTC

[jira] Commented: (SHIRO-166) Complete and realistic webapplication example (but without Spring)

    [ https://issues.apache.org/jira/browse/SHIRO-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871061#action_12871061 ] 

George Stan commented on SHIRO-166:
-----------------------------------

> I'd be very careful about this. The current webapp examples demonstrate enough of the functionality and pretty soon 
> you get on a level where a more realistic webapp would need some webapp framework to power it.
On the contrary :).
Most developers learn by examples - and by that I mean good examples: not hello world.
Also, you don't need to use "webapp power", but to use maybe convert to Shiro one of the popular "more complete" webapps arund - like petstore or others - if possible: as much "framework agnostic as possible".

> Most of the major frameworks, like Grails, Spring, Tapestry and Wicket ship their own, more realistic examples
> with Shiro integration. 
Well not really: - not most of them. In fact just a minority, and also most of them use Spring.

The main point of a "more complete example" would be to have it *without* Spring.
Since Spring ships it's own Security solution, that is very easy to setup, once a project is using Spring, users won't bother adopting Shiro, so nor should your examples make use of Spring.
Even if the users at first adopt Shiro (together with Spring), at the first encountered problem, they'll drop Shiro, since Spring can already does the job.

> Complete and realistic webapplication example (but without Spring)
> ------------------------------------------------------------------
>
>                 Key: SHIRO-166
>                 URL: https://issues.apache.org/jira/browse/SHIRO-166
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Sample Apps
>            Reporter: George Stan
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> Please create a complete webapplication as an usable and realistic example (but without Spring) that would show the various
> uses and features of Shiro in action.
> The actual examples are just too "hello world" like :(.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.