Hi, I think this is a wonderful idea. Having different applications demonstrating the use of myFaces would be the best source of help for the users and also a good reference for common patterns and situations. Users are asking over and over again the same questions (best ways to use hibernate, tiles, etc...) so a good reference example is the chance to improve our application design... My +1 for this.
Bruno On Thu, 10 Mar 2005 09:26:02 +0100, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > I thought about something like a *subproject* for our > MyFaces examples sometimes before. > > We have now lot's of (different) applications that > demonstrated the use of MyFaces (and its components) > > -the *hot* disscussed MyFaces-exmaple > -Tiles example > -WAP/WML example > -the new HelloWorld example > > that is a lot's of good stuff! > > So why not creating a subproject for that? > MyFaces is toplevel project and there is room > for something like that. > > Struts has a similar facility. On SF they host > some *cool* examples or enhancements that are > not inside the *core* of Struts. > > We must not host our examples @sf, but we could > start with something like > > http://myfaces.apache.org/examples > > so there is also room for some real world > examples (using Spring, Hibernate, EJB,...) > and also for the simplefied example. > > What do you think about something like that? > > -Matthias > > Sean Schofield wrote: > > The vote is only on replacing the myfaces-examples with one that does > > not use the menu, verbatim, etc. I agree that a fancy application > > that shows off MyFaces is a good idea. > > > > Right now though, the examples are mostly used to show how each > > component works. Its hard to focus on that when you are dealing with > > subviews, menus, etc. So again: Can we replace myfaces-examples with > > the simplified version? That is the question I am posing. > > > > As for the RI, those examples are not really relevant. If you want to > > know how to use the tree component you will need a simplified example > > from MyFaces. > > > > sean > > > > > > On Wed, 9 Mar 2005 11:38:53 -0800, Derek Shen <[EMAIL PROTECTED]> wrote: > > > >>Sorry, not going to vote here. > >> > >>I think what we need is multiple set of well-organized examples. > >>Here're some ideas I can come up with: > >> > >>1. simple examples - more like the helloworld and guess number type of > >>examples. This set of exmaples are simple and more generic. > >> > >>2. MyFaces specific examples - show the power of the new features > >>MyFaces provides, e.g. new JSF components, tiles integration and > >>portlet integration, etc. > >> > >>3. More complex real world examples - like Petstore or duke's > >>bookstore application. It not only shows JSF, but also shows the > >>integration between JSF, and other frameworks, e.g. Spring, Hibernate, > >>JDO, EJB, etc. > >> > >>If I have to vote, I would vote -1. The examples we have now are > >>pretty good. It is always easy to get the simple examples, e.g. from > >>Sun JSF RI and migrated it to MyFaces by simply replacing some jars. > >> > >>Derek > >> > >>On Wed, 9 Mar 2005 13:49:21 -0500, Sean Schofield > >><[EMAIL PROTECTED]> wrote: > >> > >>>OK I am changing the subject to a simple vote. +1 if you favor > >>>*replacing* myfaces-examples with a simplified version that strips > >>>away the menu stuff. This is not a decision on how to handle testing. > >>>I'd like Matthias to commit what I've sent him for reasons I > >>>explained earlier. > >>> > >>>+1 = yes simplified examples is better > >>>-1 = no leave examples the way they are > >>> > >>>For reference, Matthias posted a WAR he made using the files I sent > >>>him. IMO you can easily imagine what this looks like without having > >>>to do download it :-) > >>> > >>>http://www.apache.org/~matzew/myfaces-sean.war > >>> > >>>sean > >>> > >>>btw I vote +1 > >>> > >>>On Wed, 9 Mar 2005 10:06:20 -0500, Sean Schofield > >>><[EMAIL PROTECTED]> wrote: > >>> > >>>>Martin, > >>>> > >>>>Matthias seemed to interpret your answer as favoring two sets of > >>>>examples. One for simple examples and one basically the way it is > >>>>now. I had a slightly different take on your answer. I thought you > >>>>were agreeing with Sylvain that we should have one set of test > >>>>examples and one set of simple examples. > >>>> > >>>>Are we both correct? Did you mean that the current examples would be > >>>>the test examples? I don't personally think this is a good idea. > >>>>Basically we will just be maintaining a second set of every example. > >>>> > >>>>I think the test examples do not have to be inside the menu, etc. > >>>>Obviously you want a *single* test example (and simple example) that > >>>>uses the menu. But keeping every example inside the menu framework is > >>>>what I object to. Its harder to understand and maintain. > >>>> > >>>>I have a few more simple examples to contribute but I am waiting for > >>>>this to be resolved. Also I noticed Sylvain just updated his > >>>>HtmlEditor example. Since I've already done all the work to simplify > >>>>the examples we should decide if we are going to use them before more > >>>>changes are made. > >>>> > >>>>sean > >>>> > >>> > > > > -- > Matthias We�endorf > Aechterhoek 18 > DE-48282 Emsdetten > Germany > phone: +49-2572-9170275 > cell phone: +49-179-1118979 > email: matzew AT apache DOT org > url: http://www.wessendorf.net > callto://mwessendorf (Skype) > icq: 47016183 >
