You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by David Blevins <da...@gmail.com> on 2011/05/31 01:45:01 UTC

Example page generator - OPENEJB-1566

https://issues.apache.org/jira/browse/OPENEJB-1566

Task is up for grabs.

Basics of it are pull in the README.md for each example and use a markdown processor to generate the HTML -- some options [1][2].  Slap on the Syntax highlighting css/js[3].  Wrap the HTML with some links to the other examples.  Create an index of all the examples.  Write it all to disk.  And done.


-David


[1] http://code.google.com/p/markdownj/wiki/Maven
[2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
[3] http://code.google.com/p/google-code-prettify

  



Re: Example page generator - OPENEJB-1566

Posted by dsh <da...@googlemail.com>.
Indeed!

On Sun, Jun 19, 2011 at 9:23 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> jquery is awesome ;)
>
> 2011/6/19 Karan Malhi <ka...@gmail.com>
>
>> You rock!! . That was pretty quick on your part to implement what we
>> talked this morning.
>>
>> On Sun, Jun 19, 2011 at 2:01 PM, Romain Manni-Bucau
>> <rm...@gmail.com> wrote:
>> > oops i forgot, i added links to source (with prettyprint to be consistent
>> > with the site) when there is no mardown.
>> >
>> > - Romain
>> >
>> > 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>> >
>> >> i added (from kmalhi) a search box, the search is mixed between button
>> >> filtering and input box filtering (maybe you should try it to understand
>> >> because i think it is too complicated to explain for me ;)).
>> >>
>> >> @kmalhi: I filter only apis because i find it too complicated to follow
>> >> when everything is filtered.
>> >>
>> >> PS: from kmalhi too i added links to zip.
>> >>
>> >>
>> >> - Romain
>> >>
>> >> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>> >>
>> >>> in fact i did it this way to avoid too complex algorithm or too verbose
>> >>> html and more more long updates.
>> >>>
>> >>> anyone has an idea?
>> >>>
>> >>> - Romain
>> >>>
>> >>>
>> >>> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>> >>>
>> >>>> i had a fast try to filter buttons too, i updated it on my public
>> space,
>> >>>> can so check the behavior?
>> >>>>
>> >>>> here is my algorithm for the button filtering:
>> >>>>
>> >>>> // which examples to keep
>> >>>> examplesForSelectedButtons = empty()
>> >>>> for button in selectedButton do // the part i'm not sure, maybe we
>> should
>> >>>> play with intersections
>> >>>>   examplesForSelectedButtons << examples(button)
>> >>>> end for
>> >>>>
>> >>>> // UI update
>> >>>> showAllButtons()
>> >>>>
>> >>>> for button in buttonsWithExamples(examplesForSelectedButtons) do
>> >>>>   if isNotSelected(button) then
>> >>>>     hide(button)
>> >>>>   end if
>> >>>> end for
>> >>>>
>> >>>> - Romain
>> >>>>
>> >>>>
>> >>>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>
>> >>>>> cool :).
>> >>>>>
>> >>>>>
>> >>>>> 2011/6/18 dsh <da...@googlemail.com>
>> >>>>>
>> >>>>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>> >>>>>> inline surrounded with braces and gmail/safari had issues to work
>> that
>> >>>>>> out accordingly.
>> >>>>>>
>> >>>>>> Everything is ok, sorry for the confusion.
>> >>>>>>
>> >>>>>> Cheers
>> >>>>>> Daniel
>> >>>>>>
>> >>>>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>> >>>>>> <rm...@gmail.com> wrote:
>> >>>>>> > which link Daniel?
>> >>>>>> >
>> >>>>>> > - Romain
>> >>>>>> >
>> >>>>>> > 2011/6/18 dsh <da...@googlemail.com>
>> >>>>>> >
>> >>>>>> >> I am getting a 404 right now...
>> >>>>>> >>
>> >>>>>> >> Cheers
>> >>>>>> >> Daniel
>> >>>>>> >>
>> >>>>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>> >>>>>> david.blevins@gmail.com>
>> >>>>>> >> wrote:
>> >>>>>> >> >
>> >>>>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>> >>>>>> >> >
>> >>>>>> >> >> I commited something, i uploaded the generated stuff on my
>> people
>> >>>>>> >> account (
>> >>>>>> >> >> http://people.apache.org/~rmannibucau/generated/)...ifsomeone
>> >>>>>> wants to
>> >>>>>> >> test
>> >>>>>> >> >> to find bugs...i tried to stay simple but i'm not sure it
>> always
>> >>>>>> works.
>> >>>>>> >> >
>> >>>>>> >> > I'm getting chills.  Starting to look really good!  Love two
>> >>>>>> column view,
>> >>>>>> >> the 'x's and the AND logic.  This is going to be so awesome!
>> >>>>>> >> >
>> >>>>>> >> > Wonder with the AND logic version if we could eliminate the API
>> >>>>>> buttons
>> >>>>>> >> on the side that would result in zero results.
>> >>>>>> >> >
>> >>>>>> >> > I like the Keep It Simple approach you're taking.  We can worry
>> >>>>>> about
>> >>>>>> >> fancy css later.  Very impressed with how fast you're able to
>> tweak
>> >>>>>> this.
>> >>>>>> >> >
>> >>>>>> >> >
>> >>>>>> >> > -David
>> >>>>>> >> >
>> >>>>>> >> >
>> >>>>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>>> >> >>
>> >>>>>> >> >>> cool, very nice :).
>> >>>>>> >> >>>
>> >>>>>> >> >>> i updated the code to use velocity, it allows us to only code
>> >>>>>> data
>> >>>>>> >> >>> manipulation in java and separate html from java. I separated
>> >>>>>> css and
>> >>>>>> >> js
>> >>>>>> >> >>> too. Normally somebody wanting to work only on view is able
>> to
>> >>>>>> do it
>> >>>>>> >> now :)
>> >>>>>> >> >>> (and it is really simpler for others too).
>> >>>>>> >> >>>
>> >>>>>> >> >>> Today we can search by a OR query (display me example with
>> >>>>>> Stateless
>> >>>>>> >> and
>> >>>>>> >> >>> Local) on the glossary, i'll try to do a AND search for the
>> main
>> >>>>>> index
>> >>>>>> >> page
>> >>>>>> >> >>> soon.
>> >>>>>> >> >>>
>> >>>>>> >> >>> - Romain
>> >>>>>> >> >>>
>> >>>>>> >> >>>
>> >>>>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>> >>>>>> >> >>>
>> >>>>>> >> >>>> Really impressive. Would've loved to collaborate with you on
>> >>>>>> this,
>> >>>>>> >> >>>> maybe in a few days or so
>> >>>>>> >> >>>>
>> >>>>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>> >>>>>> >> >>>> <rm...@gmail.com> wrote:
>> >>>>>> >> >>>>> i modified it  a bit, i updated it on my
>> people.apache.orgpublic
>> >>>>>> >> html
>> >>>>>> >> >>>>> space:
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>> it seems to work but i need help to make it sexy. I take
>> any
>> >>>>>> help
>> >>>>>> >> (even
>> >>>>>> >> >>>> just
>> >>>>>> >> >>>>> doing a static page [css, html, js] then i'll be able to
>> >>>>>> modify the
>> >>>>>> >> >>>> code).
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>> The more to do is around this page
>> >>>>>> >> >>>>>
>> http://people.apache.org/~rmannibucau/generated/glossary.html
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>> - Romain
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>>> i had a try, if someone want have a look it is in tools
>> >>>>>> project, run
>> >>>>>> >> >>>> Daily
>> >>>>>> >> >>>>>> main specifying parameters (an example is in comment).
>> >>>>>> >> >>>>>>
>> >>>>>> >> >>>>>> - Romain
>> >>>>>> >> >>>>>>
>> >>>>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>> >>>>>> >> >>>>>>
>> >>>>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>> Task is up for grabs.
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>> Basics of it are pull in the README.md for each example
>> and
>> >>>>>> use a
>> >>>>>> >> >>>> markdown
>> >>>>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].
>>  Slap
>> >>>>>> on the
>> >>>>>> >> >>>> Syntax
>> >>>>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to
>> >>>>>> the other
>> >>>>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it
>> >>>>>> all to
>> >>>>>> >> disk.
>> >>>>>> >> >>>> And
>> >>>>>> >> >>>>>>> done.
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>> -David
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> >>>>>> >> >>>>>>> [2]
>> >>>>>> http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> >>>>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>>
>> >>>>>> >> >>>>>>
>> >>>>>> >> >>>>>
>> >>>>>> >> >>>>
>> >>>>>> >> >>>>
>> >>>>>> >> >>>>
>> >>>>>> >> >>>> --
>> >>>>>> >> >>>> Karan Singh Malhi
>> >>>>>> >> >>>>
>> >>>>>> >> >>>
>> >>>>>> >> >>>
>> >>>>>> >> >
>> >>>>>> >> >
>> >>>>>> >>
>> >>>>>> >
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>
>> >
>>
>>
>>
>> --
>> Karan Singh Malhi
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
jquery is awesome ;)

2011/6/19 Karan Malhi <ka...@gmail.com>

> You rock!! . That was pretty quick on your part to implement what we
> talked this morning.
>
> On Sun, Jun 19, 2011 at 2:01 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > oops i forgot, i added links to source (with prettyprint to be consistent
> > with the site) when there is no mardown.
> >
> > - Romain
> >
> > 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
> >
> >> i added (from kmalhi) a search box, the search is mixed between button
> >> filtering and input box filtering (maybe you should try it to understand
> >> because i think it is too complicated to explain for me ;)).
> >>
> >> @kmalhi: I filter only apis because i find it too complicated to follow
> >> when everything is filtered.
> >>
> >> PS: from kmalhi too i added links to zip.
> >>
> >>
> >> - Romain
> >>
> >> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
> >>
> >>> in fact i did it this way to avoid too complex algorithm or too verbose
> >>> html and more more long updates.
> >>>
> >>> anyone has an idea?
> >>>
> >>> - Romain
> >>>
> >>>
> >>> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
> >>>
> >>>> i had a fast try to filter buttons too, i updated it on my public
> space,
> >>>> can so check the behavior?
> >>>>
> >>>> here is my algorithm for the button filtering:
> >>>>
> >>>> // which examples to keep
> >>>> examplesForSelectedButtons = empty()
> >>>> for button in selectedButton do // the part i'm not sure, maybe we
> should
> >>>> play with intersections
> >>>>   examplesForSelectedButtons << examples(button)
> >>>> end for
> >>>>
> >>>> // UI update
> >>>> showAllButtons()
> >>>>
> >>>> for button in buttonsWithExamples(examplesForSelectedButtons) do
> >>>>   if isNotSelected(button) then
> >>>>     hide(button)
> >>>>   end if
> >>>> end for
> >>>>
> >>>> - Romain
> >>>>
> >>>>
> >>>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
> >>>>
> >>>>> cool :).
> >>>>>
> >>>>>
> >>>>> 2011/6/18 dsh <da...@googlemail.com>
> >>>>>
> >>>>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
> >>>>>> inline surrounded with braces and gmail/safari had issues to work
> that
> >>>>>> out accordingly.
> >>>>>>
> >>>>>> Everything is ok, sorry for the confusion.
> >>>>>>
> >>>>>> Cheers
> >>>>>> Daniel
> >>>>>>
> >>>>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
> >>>>>> <rm...@gmail.com> wrote:
> >>>>>> > which link Daniel?
> >>>>>> >
> >>>>>> > - Romain
> >>>>>> >
> >>>>>> > 2011/6/18 dsh <da...@googlemail.com>
> >>>>>> >
> >>>>>> >> I am getting a 404 right now...
> >>>>>> >>
> >>>>>> >> Cheers
> >>>>>> >> Daniel
> >>>>>> >>
> >>>>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
> >>>>>> david.blevins@gmail.com>
> >>>>>> >> wrote:
> >>>>>> >> >
> >>>>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
> >>>>>> >> >
> >>>>>> >> >> I commited something, i uploaded the generated stuff on my
> people
> >>>>>> >> account (
> >>>>>> >> >> http://people.apache.org/~rmannibucau/generated/)...ifsomeone
> >>>>>> wants to
> >>>>>> >> test
> >>>>>> >> >> to find bugs...i tried to stay simple but i'm not sure it
> always
> >>>>>> works.
> >>>>>> >> >
> >>>>>> >> > I'm getting chills.  Starting to look really good!  Love two
> >>>>>> column view,
> >>>>>> >> the 'x's and the AND logic.  This is going to be so awesome!
> >>>>>> >> >
> >>>>>> >> > Wonder with the AND logic version if we could eliminate the API
> >>>>>> buttons
> >>>>>> >> on the side that would result in zero results.
> >>>>>> >> >
> >>>>>> >> > I like the Keep It Simple approach you're taking.  We can worry
> >>>>>> about
> >>>>>> >> fancy css later.  Very impressed with how fast you're able to
> tweak
> >>>>>> this.
> >>>>>> >> >
> >>>>>> >> >
> >>>>>> >> > -David
> >>>>>> >> >
> >>>>>> >> >
> >>>>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>> >> >>
> >>>>>> >> >>> cool, very nice :).
> >>>>>> >> >>>
> >>>>>> >> >>> i updated the code to use velocity, it allows us to only code
> >>>>>> data
> >>>>>> >> >>> manipulation in java and separate html from java. I separated
> >>>>>> css and
> >>>>>> >> js
> >>>>>> >> >>> too. Normally somebody wanting to work only on view is able
> to
> >>>>>> do it
> >>>>>> >> now :)
> >>>>>> >> >>> (and it is really simpler for others too).
> >>>>>> >> >>>
> >>>>>> >> >>> Today we can search by a OR query (display me example with
> >>>>>> Stateless
> >>>>>> >> and
> >>>>>> >> >>> Local) on the glossary, i'll try to do a AND search for the
> main
> >>>>>> index
> >>>>>> >> page
> >>>>>> >> >>> soon.
> >>>>>> >> >>>
> >>>>>> >> >>> - Romain
> >>>>>> >> >>>
> >>>>>> >> >>>
> >>>>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
> >>>>>> >> >>>
> >>>>>> >> >>>> Really impressive. Would've loved to collaborate with you on
> >>>>>> this,
> >>>>>> >> >>>> maybe in a few days or so
> >>>>>> >> >>>>
> >>>>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
> >>>>>> >> >>>> <rm...@gmail.com> wrote:
> >>>>>> >> >>>>> i modified it  a bit, i updated it on my
> people.apache.orgpublic
> >>>>>> >> html
> >>>>>> >> >>>>> space:
> >>>>>> >> >>>>>
> >>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
> >>>>>> >> >>>>>
> >>>>>> >> >>>>> it seems to work but i need help to make it sexy. I take
> any
> >>>>>> help
> >>>>>> >> (even
> >>>>>> >> >>>> just
> >>>>>> >> >>>>> doing a static page [css, html, js] then i'll be able to
> >>>>>> modify the
> >>>>>> >> >>>> code).
> >>>>>> >> >>>>>
> >>>>>> >> >>>>> The more to do is around this page
> >>>>>> >> >>>>>
> http://people.apache.org/~rmannibucau/generated/glossary.html
> >>>>>> >> >>>>>
> >>>>>> >> >>>>> - Romain
> >>>>>> >> >>>>>
> >>>>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>> >> >>>>>
> >>>>>> >> >>>>>> i had a try, if someone want have a look it is in tools
> >>>>>> project, run
> >>>>>> >> >>>> Daily
> >>>>>> >> >>>>>> main specifying parameters (an example is in comment).
> >>>>>> >> >>>>>>
> >>>>>> >> >>>>>> - Romain
> >>>>>> >> >>>>>>
> >>>>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
> >>>>>> >> >>>>>>
> >>>>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>> Task is up for grabs.
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>> Basics of it are pull in the README.md for each example
> and
> >>>>>> use a
> >>>>>> >> >>>> markdown
> >>>>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].
>  Slap
> >>>>>> on the
> >>>>>> >> >>>> Syntax
> >>>>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to
> >>>>>> the other
> >>>>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it
> >>>>>> all to
> >>>>>> >> disk.
> >>>>>> >> >>>> And
> >>>>>> >> >>>>>>> done.
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>> -David
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
> >>>>>> >> >>>>>>> [2]
> >>>>>> http://code.google.com/p/doxia-module-markdown/wiki/Usage
> >>>>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>>
> >>>>>> >> >>>>>>
> >>>>>> >> >>>>>
> >>>>>> >> >>>>
> >>>>>> >> >>>>
> >>>>>> >> >>>>
> >>>>>> >> >>>> --
> >>>>>> >> >>>> Karan Singh Malhi
> >>>>>> >> >>>>
> >>>>>> >> >>>
> >>>>>> >> >>>
> >>>>>> >> >
> >>>>>> >> >
> >>>>>> >>
> >>>>>> >
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>
>
>
> --
> Karan Singh Malhi
>

Re: Example page generator - OPENEJB-1566

Posted by Karan Malhi <ka...@gmail.com>.
You rock!! . That was pretty quick on your part to implement what we
talked this morning.

On Sun, Jun 19, 2011 at 2:01 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> oops i forgot, i added links to source (with prettyprint to be consistent
> with the site) when there is no mardown.
>
> - Romain
>
> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>
>> i added (from kmalhi) a search box, the search is mixed between button
>> filtering and input box filtering (maybe you should try it to understand
>> because i think it is too complicated to explain for me ;)).
>>
>> @kmalhi: I filter only apis because i find it too complicated to follow
>> when everything is filtered.
>>
>> PS: from kmalhi too i added links to zip.
>>
>>
>> - Romain
>>
>> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>>
>>> in fact i did it this way to avoid too complex algorithm or too verbose
>>> html and more more long updates.
>>>
>>> anyone has an idea?
>>>
>>> - Romain
>>>
>>>
>>> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>>>
>>>> i had a fast try to filter buttons too, i updated it on my public space,
>>>> can so check the behavior?
>>>>
>>>> here is my algorithm for the button filtering:
>>>>
>>>> // which examples to keep
>>>> examplesForSelectedButtons = empty()
>>>> for button in selectedButton do // the part i'm not sure, maybe we should
>>>> play with intersections
>>>>   examplesForSelectedButtons << examples(button)
>>>> end for
>>>>
>>>> // UI update
>>>> showAllButtons()
>>>>
>>>> for button in buttonsWithExamples(examplesForSelectedButtons) do
>>>>   if isNotSelected(button) then
>>>>     hide(button)
>>>>   end if
>>>> end for
>>>>
>>>> - Romain
>>>>
>>>>
>>>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>>>
>>>>> cool :).
>>>>>
>>>>>
>>>>> 2011/6/18 dsh <da...@googlemail.com>
>>>>>
>>>>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>>>>>> inline surrounded with braces and gmail/safari had issues to work that
>>>>>> out accordingly.
>>>>>>
>>>>>> Everything is ok, sorry for the confusion.
>>>>>>
>>>>>> Cheers
>>>>>> Daniel
>>>>>>
>>>>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>>>>>> <rm...@gmail.com> wrote:
>>>>>> > which link Daniel?
>>>>>> >
>>>>>> > - Romain
>>>>>> >
>>>>>> > 2011/6/18 dsh <da...@googlemail.com>
>>>>>> >
>>>>>> >> I am getting a 404 right now...
>>>>>> >>
>>>>>> >> Cheers
>>>>>> >> Daniel
>>>>>> >>
>>>>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>>>>>> david.blevins@gmail.com>
>>>>>> >> wrote:
>>>>>> >> >
>>>>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>>>>>> >> >
>>>>>> >> >> I commited something, i uploaded the generated stuff on my people
>>>>>> >> account (
>>>>>> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone
>>>>>> wants to
>>>>>> >> test
>>>>>> >> >> to find bugs...i tried to stay simple but i'm not sure it always
>>>>>> works.
>>>>>> >> >
>>>>>> >> > I'm getting chills.  Starting to look really good!  Love two
>>>>>> column view,
>>>>>> >> the 'x's and the AND logic.  This is going to be so awesome!
>>>>>> >> >
>>>>>> >> > Wonder with the AND logic version if we could eliminate the API
>>>>>> buttons
>>>>>> >> on the side that would result in zero results.
>>>>>> >> >
>>>>>> >> > I like the Keep It Simple approach you're taking.  We can worry
>>>>>> about
>>>>>> >> fancy css later.  Very impressed with how fast you're able to tweak
>>>>>> this.
>>>>>> >> >
>>>>>> >> >
>>>>>> >> > -David
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>>>>> >> >>
>>>>>> >> >>> cool, very nice :).
>>>>>> >> >>>
>>>>>> >> >>> i updated the code to use velocity, it allows us to only code
>>>>>> data
>>>>>> >> >>> manipulation in java and separate html from java. I separated
>>>>>> css and
>>>>>> >> js
>>>>>> >> >>> too. Normally somebody wanting to work only on view is able to
>>>>>> do it
>>>>>> >> now :)
>>>>>> >> >>> (and it is really simpler for others too).
>>>>>> >> >>>
>>>>>> >> >>> Today we can search by a OR query (display me example with
>>>>>> Stateless
>>>>>> >> and
>>>>>> >> >>> Local) on the glossary, i'll try to do a AND search for the main
>>>>>> index
>>>>>> >> page
>>>>>> >> >>> soon.
>>>>>> >> >>>
>>>>>> >> >>> - Romain
>>>>>> >> >>>
>>>>>> >> >>>
>>>>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>>>>>> >> >>>
>>>>>> >> >>>> Really impressive. Would've loved to collaborate with you on
>>>>>> this,
>>>>>> >> >>>> maybe in a few days or so
>>>>>> >> >>>>
>>>>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>>>>> >> >>>> <rm...@gmail.com> wrote:
>>>>>> >> >>>>> i modified it  a bit, i updated it on my people.apache.orgpublic
>>>>>> >> html
>>>>>> >> >>>>> space:
>>>>>> >> >>>>>
>>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>>>>>> >> >>>>>
>>>>>> >> >>>>> it seems to work but i need help to make it sexy. I take any
>>>>>> help
>>>>>> >> (even
>>>>>> >> >>>> just
>>>>>> >> >>>>> doing a static page [css, html, js] then i'll be able to
>>>>>> modify the
>>>>>> >> >>>> code).
>>>>>> >> >>>>>
>>>>>> >> >>>>> The more to do is around this page
>>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>>>>> >> >>>>>
>>>>>> >> >>>>> - Romain
>>>>>> >> >>>>>
>>>>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>>>>> >> >>>>>
>>>>>> >> >>>>>> i had a try, if someone want have a look it is in tools
>>>>>> project, run
>>>>>> >> >>>> Daily
>>>>>> >> >>>>>> main specifying parameters (an example is in comment).
>>>>>> >> >>>>>>
>>>>>> >> >>>>>> - Romain
>>>>>> >> >>>>>>
>>>>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>>>>> >> >>>>>>
>>>>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>> Task is up for grabs.
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>> Basics of it are pull in the README.md for each example and
>>>>>> use a
>>>>>> >> >>>> markdown
>>>>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap
>>>>>> on the
>>>>>> >> >>>> Syntax
>>>>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to
>>>>>> the other
>>>>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it
>>>>>> all to
>>>>>> >> disk.
>>>>>> >> >>>> And
>>>>>> >> >>>>>>> done.
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>> -David
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>>>>> >> >>>>>>> [2]
>>>>>> http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>>>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>>
>>>>>> >> >>>>>>
>>>>>> >> >>>>>
>>>>>> >> >>>>
>>>>>> >> >>>>
>>>>>> >> >>>>
>>>>>> >> >>>> --
>>>>>> >> >>>> Karan Singh Malhi
>>>>>> >> >>>>
>>>>>> >> >>>
>>>>>> >> >>>
>>>>>> >> >
>>>>>> >> >
>>>>>> >>
>>>>>> >
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>



-- 
Karan Singh Malhi

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
oops i forgot, i added links to source (with prettyprint to be consistent
with the site) when there is no mardown.

- Romain

2011/6/19 Romain Manni-Bucau <rm...@gmail.com>

> i added (from kmalhi) a search box, the search is mixed between button
> filtering and input box filtering (maybe you should try it to understand
> because i think it is too complicated to explain for me ;)).
>
> @kmalhi: I filter only apis because i find it too complicated to follow
> when everything is filtered.
>
> PS: from kmalhi too i added links to zip.
>
>
> - Romain
>
> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>
>> in fact i did it this way to avoid too complex algorithm or too verbose
>> html and more more long updates.
>>
>> anyone has an idea?
>>
>> - Romain
>>
>>
>> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>>
>>> i had a fast try to filter buttons too, i updated it on my public space,
>>> can so check the behavior?
>>>
>>> here is my algorithm for the button filtering:
>>>
>>> // which examples to keep
>>> examplesForSelectedButtons = empty()
>>> for button in selectedButton do // the part i'm not sure, maybe we should
>>> play with intersections
>>>   examplesForSelectedButtons << examples(button)
>>> end for
>>>
>>> // UI update
>>> showAllButtons()
>>>
>>> for button in buttonsWithExamples(examplesForSelectedButtons) do
>>>   if isNotSelected(button) then
>>>     hide(button)
>>>   end if
>>> end for
>>>
>>> - Romain
>>>
>>>
>>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>>
>>>> cool :).
>>>>
>>>>
>>>> 2011/6/18 dsh <da...@googlemail.com>
>>>>
>>>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>>>>> inline surrounded with braces and gmail/safari had issues to work that
>>>>> out accordingly.
>>>>>
>>>>> Everything is ok, sorry for the confusion.
>>>>>
>>>>> Cheers
>>>>> Daniel
>>>>>
>>>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>>>>> <rm...@gmail.com> wrote:
>>>>> > which link Daniel?
>>>>> >
>>>>> > - Romain
>>>>> >
>>>>> > 2011/6/18 dsh <da...@googlemail.com>
>>>>> >
>>>>> >> I am getting a 404 right now...
>>>>> >>
>>>>> >> Cheers
>>>>> >> Daniel
>>>>> >>
>>>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>>>>> david.blevins@gmail.com>
>>>>> >> wrote:
>>>>> >> >
>>>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>>>>> >> >
>>>>> >> >> I commited something, i uploaded the generated stuff on my people
>>>>> >> account (
>>>>> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone
>>>>> wants to
>>>>> >> test
>>>>> >> >> to find bugs...i tried to stay simple but i'm not sure it always
>>>>> works.
>>>>> >> >
>>>>> >> > I'm getting chills.  Starting to look really good!  Love two
>>>>> column view,
>>>>> >> the 'x's and the AND logic.  This is going to be so awesome!
>>>>> >> >
>>>>> >> > Wonder with the AND logic version if we could eliminate the API
>>>>> buttons
>>>>> >> on the side that would result in zero results.
>>>>> >> >
>>>>> >> > I like the Keep It Simple approach you're taking.  We can worry
>>>>> about
>>>>> >> fancy css later.  Very impressed with how fast you're able to tweak
>>>>> this.
>>>>> >> >
>>>>> >> >
>>>>> >> > -David
>>>>> >> >
>>>>> >> >
>>>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>>>> >> >>
>>>>> >> >>> cool, very nice :).
>>>>> >> >>>
>>>>> >> >>> i updated the code to use velocity, it allows us to only code
>>>>> data
>>>>> >> >>> manipulation in java and separate html from java. I separated
>>>>> css and
>>>>> >> js
>>>>> >> >>> too. Normally somebody wanting to work only on view is able to
>>>>> do it
>>>>> >> now :)
>>>>> >> >>> (and it is really simpler for others too).
>>>>> >> >>>
>>>>> >> >>> Today we can search by a OR query (display me example with
>>>>> Stateless
>>>>> >> and
>>>>> >> >>> Local) on the glossary, i'll try to do a AND search for the main
>>>>> index
>>>>> >> page
>>>>> >> >>> soon.
>>>>> >> >>>
>>>>> >> >>> - Romain
>>>>> >> >>>
>>>>> >> >>>
>>>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>>>>> >> >>>
>>>>> >> >>>> Really impressive. Would've loved to collaborate with you on
>>>>> this,
>>>>> >> >>>> maybe in a few days or so
>>>>> >> >>>>
>>>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>>>> >> >>>> <rm...@gmail.com> wrote:
>>>>> >> >>>>> i modified it  a bit, i updated it on my people.apache.orgpublic
>>>>> >> html
>>>>> >> >>>>> space:
>>>>> >> >>>>>
>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>>>>> >> >>>>>
>>>>> >> >>>>> it seems to work but i need help to make it sexy. I take any
>>>>> help
>>>>> >> (even
>>>>> >> >>>> just
>>>>> >> >>>>> doing a static page [css, html, js] then i'll be able to
>>>>> modify the
>>>>> >> >>>> code).
>>>>> >> >>>>>
>>>>> >> >>>>> The more to do is around this page
>>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>>>> >> >>>>>
>>>>> >> >>>>> - Romain
>>>>> >> >>>>>
>>>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>>>> >> >>>>>
>>>>> >> >>>>>> i had a try, if someone want have a look it is in tools
>>>>> project, run
>>>>> >> >>>> Daily
>>>>> >> >>>>>> main specifying parameters (an example is in comment).
>>>>> >> >>>>>>
>>>>> >> >>>>>> - Romain
>>>>> >> >>>>>>
>>>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>>>> >> >>>>>>
>>>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>>> >> >>>>>>>
>>>>> >> >>>>>>> Task is up for grabs.
>>>>> >> >>>>>>>
>>>>> >> >>>>>>> Basics of it are pull in the README.md for each example and
>>>>> use a
>>>>> >> >>>> markdown
>>>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap
>>>>> on the
>>>>> >> >>>> Syntax
>>>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to
>>>>> the other
>>>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it
>>>>> all to
>>>>> >> disk.
>>>>> >> >>>> And
>>>>> >> >>>>>>> done.
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>> -David
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>>>> >> >>>>>>> [2]
>>>>> http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>>
>>>>> >> >>>>>>
>>>>> >> >>>>>
>>>>> >> >>>>
>>>>> >> >>>>
>>>>> >> >>>>
>>>>> >> >>>> --
>>>>> >> >>>> Karan Singh Malhi
>>>>> >> >>>>
>>>>> >> >>>
>>>>> >> >>>
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i added (from kmalhi) a search box, the search is mixed between button
filtering and input box filtering (maybe you should try it to understand
because i think it is too complicated to explain for me ;)).

@kmalhi: I filter only apis because i find it too complicated to follow when
everything is filtered.

PS: from kmalhi too i added links to zip.

- Romain

2011/6/19 Romain Manni-Bucau <rm...@gmail.com>

> in fact i did it this way to avoid too complex algorithm or too verbose
> html and more more long updates.
>
> anyone has an idea?
>
> - Romain
>
>
> 2011/6/19 Romain Manni-Bucau <rm...@gmail.com>
>
>> i had a fast try to filter buttons too, i updated it on my public space,
>> can so check the behavior?
>>
>> here is my algorithm for the button filtering:
>>
>> // which examples to keep
>> examplesForSelectedButtons = empty()
>> for button in selectedButton do // the part i'm not sure, maybe we should
>> play with intersections
>>   examplesForSelectedButtons << examples(button)
>> end for
>>
>> // UI update
>> showAllButtons()
>>
>> for button in buttonsWithExamples(examplesForSelectedButtons) do
>>   if isNotSelected(button) then
>>     hide(button)
>>   end if
>> end for
>>
>> - Romain
>>
>>
>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>
>>> cool :).
>>>
>>>
>>> 2011/6/18 dsh <da...@googlemail.com>
>>>
>>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>>>> inline surrounded with braces and gmail/safari had issues to work that
>>>> out accordingly.
>>>>
>>>> Everything is ok, sorry for the confusion.
>>>>
>>>> Cheers
>>>> Daniel
>>>>
>>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>>>> <rm...@gmail.com> wrote:
>>>> > which link Daniel?
>>>> >
>>>> > - Romain
>>>> >
>>>> > 2011/6/18 dsh <da...@googlemail.com>
>>>> >
>>>> >> I am getting a 404 right now...
>>>> >>
>>>> >> Cheers
>>>> >> Daniel
>>>> >>
>>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>>>> david.blevins@gmail.com>
>>>> >> wrote:
>>>> >> >
>>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>>>> >> >
>>>> >> >> I commited something, i uploaded the generated stuff on my people
>>>> >> account (
>>>> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone
>>>> wants to
>>>> >> test
>>>> >> >> to find bugs...i tried to stay simple but i'm not sure it always
>>>> works.
>>>> >> >
>>>> >> > I'm getting chills.  Starting to look really good!  Love two column
>>>> view,
>>>> >> the 'x's and the AND logic.  This is going to be so awesome!
>>>> >> >
>>>> >> > Wonder with the AND logic version if we could eliminate the API
>>>> buttons
>>>> >> on the side that would result in zero results.
>>>> >> >
>>>> >> > I like the Keep It Simple approach you're taking.  We can worry
>>>> about
>>>> >> fancy css later.  Very impressed with how fast you're able to tweak
>>>> this.
>>>> >> >
>>>> >> >
>>>> >> > -David
>>>> >> >
>>>> >> >
>>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>>> >> >>
>>>> >> >>> cool, very nice :).
>>>> >> >>>
>>>> >> >>> i updated the code to use velocity, it allows us to only code
>>>> data
>>>> >> >>> manipulation in java and separate html from java. I separated css
>>>> and
>>>> >> js
>>>> >> >>> too. Normally somebody wanting to work only on view is able to do
>>>> it
>>>> >> now :)
>>>> >> >>> (and it is really simpler for others too).
>>>> >> >>>
>>>> >> >>> Today we can search by a OR query (display me example with
>>>> Stateless
>>>> >> and
>>>> >> >>> Local) on the glossary, i'll try to do a AND search for the main
>>>> index
>>>> >> page
>>>> >> >>> soon.
>>>> >> >>>
>>>> >> >>> - Romain
>>>> >> >>>
>>>> >> >>>
>>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>>>> >> >>>
>>>> >> >>>> Really impressive. Would've loved to collaborate with you on
>>>> this,
>>>> >> >>>> maybe in a few days or so
>>>> >> >>>>
>>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>>> >> >>>> <rm...@gmail.com> wrote:
>>>> >> >>>>> i modified it  a bit, i updated it on my people.apache.orgpublic
>>>> >> html
>>>> >> >>>>> space:
>>>> >> >>>>>
>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>>>> >> >>>>>
>>>> >> >>>>> it seems to work but i need help to make it sexy. I take any
>>>> help
>>>> >> (even
>>>> >> >>>> just
>>>> >> >>>>> doing a static page [css, html, js] then i'll be able to modify
>>>> the
>>>> >> >>>> code).
>>>> >> >>>>>
>>>> >> >>>>> The more to do is around this page
>>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>>> >> >>>>>
>>>> >> >>>>> - Romain
>>>> >> >>>>>
>>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>>> >> >>>>>
>>>> >> >>>>>> i had a try, if someone want have a look it is in tools
>>>> project, run
>>>> >> >>>> Daily
>>>> >> >>>>>> main specifying parameters (an example is in comment).
>>>> >> >>>>>>
>>>> >> >>>>>> - Romain
>>>> >> >>>>>>
>>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>>> >> >>>>>>
>>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>> >> >>>>>>>
>>>> >> >>>>>>> Task is up for grabs.
>>>> >> >>>>>>>
>>>> >> >>>>>>> Basics of it are pull in the README.md for each example and
>>>> use a
>>>> >> >>>> markdown
>>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap
>>>> on the
>>>> >> >>>> Syntax
>>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the
>>>> other
>>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it all
>>>> to
>>>> >> disk.
>>>> >> >>>> And
>>>> >> >>>>>>> done.
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>> -David
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>>> >> >>>>>>> [2]
>>>> http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>>
>>>> >> >>>>>>
>>>> >> >>>>>
>>>> >> >>>>
>>>> >> >>>>
>>>> >> >>>>
>>>> >> >>>> --
>>>> >> >>>> Karan Singh Malhi
>>>> >> >>>>
>>>> >> >>>
>>>> >> >>>
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>>
>>>
>>>
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
in fact i did it this way to avoid too complex algorithm or too verbose html
and more more long updates.

anyone has an idea?

- Romain

2011/6/19 Romain Manni-Bucau <rm...@gmail.com>

> i had a fast try to filter buttons too, i updated it on my public space,
> can so check the behavior?
>
> here is my algorithm for the button filtering:
>
> // which examples to keep
> examplesForSelectedButtons = empty()
> for button in selectedButton do // the part i'm not sure, maybe we should
> play with intersections
>   examplesForSelectedButtons << examples(button)
> end for
>
> // UI update
> showAllButtons()
>
> for button in buttonsWithExamples(examplesForSelectedButtons) do
>   if isNotSelected(button) then
>     hide(button)
>   end if
> end for
>
> - Romain
>
>
> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>
>> cool :).
>>
>>
>> 2011/6/18 dsh <da...@googlemail.com>
>>
>>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>>> inline surrounded with braces and gmail/safari had issues to work that
>>> out accordingly.
>>>
>>> Everything is ok, sorry for the confusion.
>>>
>>> Cheers
>>> Daniel
>>>
>>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>>> <rm...@gmail.com> wrote:
>>> > which link Daniel?
>>> >
>>> > - Romain
>>> >
>>> > 2011/6/18 dsh <da...@googlemail.com>
>>> >
>>> >> I am getting a 404 right now...
>>> >>
>>> >> Cheers
>>> >> Daniel
>>> >>
>>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>>> david.blevins@gmail.com>
>>> >> wrote:
>>> >> >
>>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>>> >> >
>>> >> >> I commited something, i uploaded the generated stuff on my people
>>> >> account (
>>> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone
>>> wants to
>>> >> test
>>> >> >> to find bugs...i tried to stay simple but i'm not sure it always
>>> works.
>>> >> >
>>> >> > I'm getting chills.  Starting to look really good!  Love two column
>>> view,
>>> >> the 'x's and the AND logic.  This is going to be so awesome!
>>> >> >
>>> >> > Wonder with the AND logic version if we could eliminate the API
>>> buttons
>>> >> on the side that would result in zero results.
>>> >> >
>>> >> > I like the Keep It Simple approach you're taking.  We can worry
>>> about
>>> >> fancy css later.  Very impressed with how fast you're able to tweak
>>> this.
>>> >> >
>>> >> >
>>> >> > -David
>>> >> >
>>> >> >
>>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>> >> >>
>>> >> >>> cool, very nice :).
>>> >> >>>
>>> >> >>> i updated the code to use velocity, it allows us to only code data
>>> >> >>> manipulation in java and separate html from java. I separated css
>>> and
>>> >> js
>>> >> >>> too. Normally somebody wanting to work only on view is able to do
>>> it
>>> >> now :)
>>> >> >>> (and it is really simpler for others too).
>>> >> >>>
>>> >> >>> Today we can search by a OR query (display me example with
>>> Stateless
>>> >> and
>>> >> >>> Local) on the glossary, i'll try to do a AND search for the main
>>> index
>>> >> page
>>> >> >>> soon.
>>> >> >>>
>>> >> >>> - Romain
>>> >> >>>
>>> >> >>>
>>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>>> >> >>>
>>> >> >>>> Really impressive. Would've loved to collaborate with you on
>>> this,
>>> >> >>>> maybe in a few days or so
>>> >> >>>>
>>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>> >> >>>> <rm...@gmail.com> wrote:
>>> >> >>>>> i modified it  a bit, i updated it on my people.apache.orgpublic
>>> >> html
>>> >> >>>>> space:
>>> >> >>>>>
>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>>> >> >>>>>
>>> >> >>>>> it seems to work but i need help to make it sexy. I take any
>>> help
>>> >> (even
>>> >> >>>> just
>>> >> >>>>> doing a static page [css, html, js] then i'll be able to modify
>>> the
>>> >> >>>> code).
>>> >> >>>>>
>>> >> >>>>> The more to do is around this page
>>> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>> >> >>>>>
>>> >> >>>>> - Romain
>>> >> >>>>>
>>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>> >> >>>>>
>>> >> >>>>>> i had a try, if someone want have a look it is in tools
>>> project, run
>>> >> >>>> Daily
>>> >> >>>>>> main specifying parameters (an example is in comment).
>>> >> >>>>>>
>>> >> >>>>>> - Romain
>>> >> >>>>>>
>>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>> >> >>>>>>
>>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>> >> >>>>>>>
>>> >> >>>>>>> Task is up for grabs.
>>> >> >>>>>>>
>>> >> >>>>>>> Basics of it are pull in the README.md for each example and
>>> use a
>>> >> >>>> markdown
>>> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap
>>> on the
>>> >> >>>> Syntax
>>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the
>>> other
>>> >> >>>>>>> examples.  Create an index of all the examples.  Write it all
>>> to
>>> >> disk.
>>> >> >>>> And
>>> >> >>>>>>> done.
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>> -David
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>> >> >>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>
>>> >> >>>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> --
>>> >> >>>> Karan Singh Malhi
>>> >> >>>>
>>> >> >>>
>>> >> >>>
>>> >> >
>>> >> >
>>> >>
>>> >
>>>
>>
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i had a fast try to filter buttons too, i updated it on my public space, can
so check the behavior?

here is my algorithm for the button filtering:

// which examples to keep
examplesForSelectedButtons = empty()
for button in selectedButton do // the part i'm not sure, maybe we should
play with intersections
  examplesForSelectedButtons << examples(button)
end for

// UI update
showAllButtons()

for button in buttonsWithExamples(examplesForSelectedButtons) do
  if isNotSelected(button) then
    hide(button)
  end if
end for

- Romain

2011/6/18 Romain Manni-Bucau <rm...@gmail.com>

> cool :).
>
>
> 2011/6/18 dsh <da...@googlemail.com>
>
>> http://people.apache.org/~rmannibucau/generated/ - I used the one
>> inline surrounded with braces and gmail/safari had issues to work that
>> out accordingly.
>>
>> Everything is ok, sorry for the confusion.
>>
>> Cheers
>> Daniel
>>
>> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
>> <rm...@gmail.com> wrote:
>> > which link Daniel?
>> >
>> > - Romain
>> >
>> > 2011/6/18 dsh <da...@googlemail.com>
>> >
>> >> I am getting a 404 right now...
>> >>
>> >> Cheers
>> >> Daniel
>> >>
>> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
>> david.blevins@gmail.com>
>> >> wrote:
>> >> >
>> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>> >> >
>> >> >> I commited something, i uploaded the generated stuff on my people
>> >> account (
>> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone
>> wants to
>> >> test
>> >> >> to find bugs...i tried to stay simple but i'm not sure it always
>> works.
>> >> >
>> >> > I'm getting chills.  Starting to look really good!  Love two column
>> view,
>> >> the 'x's and the AND logic.  This is going to be so awesome!
>> >> >
>> >> > Wonder with the AND logic version if we could eliminate the API
>> buttons
>> >> on the side that would result in zero results.
>> >> >
>> >> > I like the Keep It Simple approach you're taking.  We can worry about
>> >> fancy css later.  Very impressed with how fast you're able to tweak
>> this.
>> >> >
>> >> >
>> >> > -David
>> >> >
>> >> >
>> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>> >> >>
>> >> >>> cool, very nice :).
>> >> >>>
>> >> >>> i updated the code to use velocity, it allows us to only code data
>> >> >>> manipulation in java and separate html from java. I separated css
>> and
>> >> js
>> >> >>> too. Normally somebody wanting to work only on view is able to do
>> it
>> >> now :)
>> >> >>> (and it is really simpler for others too).
>> >> >>>
>> >> >>> Today we can search by a OR query (display me example with
>> Stateless
>> >> and
>> >> >>> Local) on the glossary, i'll try to do a AND search for the main
>> index
>> >> page
>> >> >>> soon.
>> >> >>>
>> >> >>> - Romain
>> >> >>>
>> >> >>>
>> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>> >> >>>
>> >> >>>> Really impressive. Would've loved to collaborate with you on this,
>> >> >>>> maybe in a few days or so
>> >> >>>>
>> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>> >> >>>> <rm...@gmail.com> wrote:
>> >> >>>>> i modified it  a bit, i updated it on my people.apache.orgpublic
>> >> html
>> >> >>>>> space:
>> >> >>>>>
>> >> >>>>> http://people.apache.org/~rmannibucau/generated/
>> >> >>>>>
>> >> >>>>> it seems to work but i need help to make it sexy. I take any help
>> >> (even
>> >> >>>> just
>> >> >>>>> doing a static page [css, html, js] then i'll be able to modify
>> the
>> >> >>>> code).
>> >> >>>>>
>> >> >>>>> The more to do is around this page
>> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>> >> >>>>>
>> >> >>>>> - Romain
>> >> >>>>>
>> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>> >> >>>>>
>> >> >>>>>> i had a try, if someone want have a look it is in tools project,
>> run
>> >> >>>> Daily
>> >> >>>>>> main specifying parameters (an example is in comment).
>> >> >>>>>>
>> >> >>>>>> - Romain
>> >> >>>>>>
>> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>> >> >>>>>>
>> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>> >> >>>>>>>
>> >> >>>>>>> Task is up for grabs.
>> >> >>>>>>>
>> >> >>>>>>> Basics of it are pull in the README.md for each example and use
>> a
>> >> >>>> markdown
>> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap on
>> the
>> >> >>>> Syntax
>> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the
>> other
>> >> >>>>>>> examples.  Create an index of all the examples.  Write it all
>> to
>> >> disk.
>> >> >>>> And
>> >> >>>>>>> done.
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>> -David
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> >> >>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>
>> >> >>>>>
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> --
>> >> >>>> Karan Singh Malhi
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >
>> >> >
>> >>
>> >
>>
>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
cool :).

2011/6/18 dsh <da...@googlemail.com>

> http://people.apache.org/~rmannibucau/generated/ - I used the one
> inline surrounded with braces and gmail/safari had issues to work that
> out accordingly.
>
> Everything is ok, sorry for the confusion.
>
> Cheers
> Daniel
>
> On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > which link Daniel?
> >
> > - Romain
> >
> > 2011/6/18 dsh <da...@googlemail.com>
> >
> >> I am getting a 404 right now...
> >>
> >> Cheers
> >> Daniel
> >>
> >> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <
> david.blevins@gmail.com>
> >> wrote:
> >> >
> >> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
> >> >
> >> >> I commited something, i uploaded the generated stuff on my people
> >> account (
> >> >> http://people.apache.org/~rmannibucau/generated/)...if someone wants
> to
> >> test
> >> >> to find bugs...i tried to stay simple but i'm not sure it always
> works.
> >> >
> >> > I'm getting chills.  Starting to look really good!  Love two column
> view,
> >> the 'x's and the AND logic.  This is going to be so awesome!
> >> >
> >> > Wonder with the AND logic version if we could eliminate the API
> buttons
> >> on the side that would result in zero results.
> >> >
> >> > I like the Keep It Simple approach you're taking.  We can worry about
> >> fancy css later.  Very impressed with how fast you're able to tweak
> this.
> >> >
> >> >
> >> > -David
> >> >
> >> >
> >> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
> >> >>
> >> >>> cool, very nice :).
> >> >>>
> >> >>> i updated the code to use velocity, it allows us to only code data
> >> >>> manipulation in java and separate html from java. I separated css
> and
> >> js
> >> >>> too. Normally somebody wanting to work only on view is able to do it
> >> now :)
> >> >>> (and it is really simpler for others too).
> >> >>>
> >> >>> Today we can search by a OR query (display me example with Stateless
> >> and
> >> >>> Local) on the glossary, i'll try to do a AND search for the main
> index
> >> page
> >> >>> soon.
> >> >>>
> >> >>> - Romain
> >> >>>
> >> >>>
> >> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
> >> >>>
> >> >>>> Really impressive. Would've loved to collaborate with you on this,
> >> >>>> maybe in a few days or so
> >> >>>>
> >> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
> >> >>>> <rm...@gmail.com> wrote:
> >> >>>>> i modified it  a bit, i updated it on my people.apache.org public
> >> html
> >> >>>>> space:
> >> >>>>>
> >> >>>>> http://people.apache.org/~rmannibucau/generated/
> >> >>>>>
> >> >>>>> it seems to work but i need help to make it sexy. I take any help
> >> (even
> >> >>>> just
> >> >>>>> doing a static page [css, html, js] then i'll be able to modify
> the
> >> >>>> code).
> >> >>>>>
> >> >>>>> The more to do is around this page
> >> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
> >> >>>>>
> >> >>>>> - Romain
> >> >>>>>
> >> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
> >> >>>>>
> >> >>>>>> i had a try, if someone want have a look it is in tools project,
> run
> >> >>>> Daily
> >> >>>>>> main specifying parameters (an example is in comment).
> >> >>>>>>
> >> >>>>>> - Romain
> >> >>>>>>
> >> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
> >> >>>>>>
> >> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
> >> >>>>>>>
> >> >>>>>>> Task is up for grabs.
> >> >>>>>>>
> >> >>>>>>> Basics of it are pull in the README.md for each example and use
> a
> >> >>>> markdown
> >> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap on
> the
> >> >>>> Syntax
> >> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the
> other
> >> >>>>>>> examples.  Create an index of all the examples.  Write it all to
> >> disk.
> >> >>>> And
> >> >>>>>>> done.
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>> -David
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
> >> >>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> >> >>>>>>> [3] http://code.google.com/p/google-code-prettify
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> --
> >> >>>> Karan Singh Malhi
> >> >>>>
> >> >>>
> >> >>>
> >> >
> >> >
> >>
> >
>

Re: Example page generator - OPENEJB-1566

Posted by dsh <da...@googlemail.com>.
http://people.apache.org/~rmannibucau/generated/ - I used the one
inline surrounded with braces and gmail/safari had issues to work that
out accordingly.

Everything is ok, sorry for the confusion.

Cheers
Daniel

On Sat, Jun 18, 2011 at 11:36 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> which link Daniel?
>
> - Romain
>
> 2011/6/18 dsh <da...@googlemail.com>
>
>> I am getting a 404 right now...
>>
>> Cheers
>> Daniel
>>
>> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <da...@gmail.com>
>> wrote:
>> >
>> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>> >
>> >> I commited something, i uploaded the generated stuff on my people
>> account (
>> >> http://people.apache.org/~rmannibucau/generated/)...if someone wants to
>> test
>> >> to find bugs...i tried to stay simple but i'm not sure it always works.
>> >
>> > I'm getting chills.  Starting to look really good!  Love two column view,
>> the 'x's and the AND logic.  This is going to be so awesome!
>> >
>> > Wonder with the AND logic version if we could eliminate the API buttons
>> on the side that would result in zero results.
>> >
>> > I like the Keep It Simple approach you're taking.  We can worry about
>> fancy css later.  Very impressed with how fast you're able to tweak this.
>> >
>> >
>> > -David
>> >
>> >
>> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>> >>
>> >>> cool, very nice :).
>> >>>
>> >>> i updated the code to use velocity, it allows us to only code data
>> >>> manipulation in java and separate html from java. I separated css and
>> js
>> >>> too. Normally somebody wanting to work only on view is able to do it
>> now :)
>> >>> (and it is really simpler for others too).
>> >>>
>> >>> Today we can search by a OR query (display me example with Stateless
>> and
>> >>> Local) on the glossary, i'll try to do a AND search for the main index
>> page
>> >>> soon.
>> >>>
>> >>> - Romain
>> >>>
>> >>>
>> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>> >>>
>> >>>> Really impressive. Would've loved to collaborate with you on this,
>> >>>> maybe in a few days or so
>> >>>>
>> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>> >>>> <rm...@gmail.com> wrote:
>> >>>>> i modified it  a bit, i updated it on my people.apache.org public
>> html
>> >>>>> space:
>> >>>>>
>> >>>>> http://people.apache.org/~rmannibucau/generated/
>> >>>>>
>> >>>>> it seems to work but i need help to make it sexy. I take any help
>> (even
>> >>>> just
>> >>>>> doing a static page [css, html, js] then i'll be able to modify the
>> >>>> code).
>> >>>>>
>> >>>>> The more to do is around this page
>> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>> >>>>>
>> >>>>> - Romain
>> >>>>>
>> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>> >>>>>
>> >>>>>> i had a try, if someone want have a look it is in tools project, run
>> >>>> Daily
>> >>>>>> main specifying parameters (an example is in comment).
>> >>>>>>
>> >>>>>> - Romain
>> >>>>>>
>> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>> >>>>>>
>> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>> >>>>>>>
>> >>>>>>> Task is up for grabs.
>> >>>>>>>
>> >>>>>>> Basics of it are pull in the README.md for each example and use a
>> >>>> markdown
>> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap on the
>> >>>> Syntax
>> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the other
>> >>>>>>> examples.  Create an index of all the examples.  Write it all to
>> disk.
>> >>>> And
>> >>>>>>> done.
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> -David
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> >>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> >>>>>>> [3] http://code.google.com/p/google-code-prettify
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Karan Singh Malhi
>> >>>>
>> >>>
>> >>>
>> >
>> >
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
which link Daniel?

- Romain

2011/6/18 dsh <da...@googlemail.com>

> I am getting a 404 right now...
>
> Cheers
> Daniel
>
> On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <da...@gmail.com>
> wrote:
> >
> > On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
> >
> >> I commited something, i uploaded the generated stuff on my people
> account (
> >> http://people.apache.org/~rmannibucau/generated/)...if someone wants to
> test
> >> to find bugs...i tried to stay simple but i'm not sure it always works.
> >
> > I'm getting chills.  Starting to look really good!  Love two column view,
> the 'x's and the AND logic.  This is going to be so awesome!
> >
> > Wonder with the AND logic version if we could eliminate the API buttons
> on the side that would result in zero results.
> >
> > I like the Keep It Simple approach you're taking.  We can worry about
> fancy css later.  Very impressed with how fast you're able to tweak this.
> >
> >
> > -David
> >
> >
> >> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
> >>
> >>> cool, very nice :).
> >>>
> >>> i updated the code to use velocity, it allows us to only code data
> >>> manipulation in java and separate html from java. I separated css and
> js
> >>> too. Normally somebody wanting to work only on view is able to do it
> now :)
> >>> (and it is really simpler for others too).
> >>>
> >>> Today we can search by a OR query (display me example with Stateless
> and
> >>> Local) on the glossary, i'll try to do a AND search for the main index
> page
> >>> soon.
> >>>
> >>> - Romain
> >>>
> >>>
> >>> 2011/6/16 Karan Malhi <ka...@gmail.com>
> >>>
> >>>> Really impressive. Would've loved to collaborate with you on this,
> >>>> maybe in a few days or so
> >>>>
> >>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
> >>>> <rm...@gmail.com> wrote:
> >>>>> i modified it  a bit, i updated it on my people.apache.org public
> html
> >>>>> space:
> >>>>>
> >>>>> http://people.apache.org/~rmannibucau/generated/
> >>>>>
> >>>>> it seems to work but i need help to make it sexy. I take any help
> (even
> >>>> just
> >>>>> doing a static page [css, html, js] then i'll be able to modify the
> >>>> code).
> >>>>>
> >>>>> The more to do is around this page
> >>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
> >>>>>
> >>>>> - Romain
> >>>>>
> >>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
> >>>>>
> >>>>>> i had a try, if someone want have a look it is in tools project, run
> >>>> Daily
> >>>>>> main specifying parameters (an example is in comment).
> >>>>>>
> >>>>>> - Romain
> >>>>>>
> >>>>>> 2011/5/31 David Blevins <da...@gmail.com>
> >>>>>>
> >>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
> >>>>>>>
> >>>>>>> Task is up for grabs.
> >>>>>>>
> >>>>>>> Basics of it are pull in the README.md for each example and use a
> >>>> markdown
> >>>>>>> processor to generate the HTML -- some options [1][2].  Slap on the
> >>>> Syntax
> >>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the other
> >>>>>>> examples.  Create an index of all the examples.  Write it all to
> disk.
> >>>> And
> >>>>>>> done.
> >>>>>>>
> >>>>>>>
> >>>>>>> -David
> >>>>>>>
> >>>>>>>
> >>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
> >>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> >>>>>>> [3] http://code.google.com/p/google-code-prettify
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Karan Singh Malhi
> >>>>
> >>>
> >>>
> >
> >
>

Re: Example page generator - OPENEJB-1566

Posted by dsh <da...@googlemail.com>.
I am getting a 404 right now...

Cheers
Daniel

On Sat, Jun 18, 2011 at 10:17 PM, David Blevins <da...@gmail.com> wrote:
>
> On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:
>
>> I commited something, i uploaded the generated stuff on my people account (
>> http://people.apache.org/~rmannibucau/generated/)...if someone wants to test
>> to find bugs...i tried to stay simple but i'm not sure it always works.
>
> I'm getting chills.  Starting to look really good!  Love two column view, the 'x's and the AND logic.  This is going to be so awesome!
>
> Wonder with the AND logic version if we could eliminate the API buttons on the side that would result in zero results.
>
> I like the Keep It Simple approach you're taking.  We can worry about fancy css later.  Very impressed with how fast you're able to tweak this.
>
>
> -David
>
>
>> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
>>
>>> cool, very nice :).
>>>
>>> i updated the code to use velocity, it allows us to only code data
>>> manipulation in java and separate html from java. I separated css and js
>>> too. Normally somebody wanting to work only on view is able to do it now :)
>>> (and it is really simpler for others too).
>>>
>>> Today we can search by a OR query (display me example with Stateless and
>>> Local) on the glossary, i'll try to do a AND search for the main index page
>>> soon.
>>>
>>> - Romain
>>>
>>>
>>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>>>
>>>> Really impressive. Would've loved to collaborate with you on this,
>>>> maybe in a few days or so
>>>>
>>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>>> <rm...@gmail.com> wrote:
>>>>> i modified it  a bit, i updated it on my people.apache.org public html
>>>>> space:
>>>>>
>>>>> http://people.apache.org/~rmannibucau/generated/
>>>>>
>>>>> it seems to work but i need help to make it sexy. I take any help (even
>>>> just
>>>>> doing a static page [css, html, js] then i'll be able to modify the
>>>> code).
>>>>>
>>>>> The more to do is around this page
>>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>>>>
>>>>> - Romain
>>>>>
>>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>>>>
>>>>>> i had a try, if someone want have a look it is in tools project, run
>>>> Daily
>>>>>> main specifying parameters (an example is in comment).
>>>>>>
>>>>>> - Romain
>>>>>>
>>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>>>>>
>>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>>>>>
>>>>>>> Task is up for grabs.
>>>>>>>
>>>>>>> Basics of it are pull in the README.md for each example and use a
>>>> markdown
>>>>>>> processor to generate the HTML -- some options [1][2].  Slap on the
>>>> Syntax
>>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the other
>>>>>>> examples.  Create an index of all the examples.  Write it all to disk.
>>>> And
>>>>>>> done.
>>>>>>>
>>>>>>>
>>>>>>> -David
>>>>>>>
>>>>>>>
>>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>>>>>> [3] http://code.google.com/p/google-code-prettify
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Karan Singh Malhi
>>>>
>>>
>>>
>
>

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On Jun 18, 2011, at 4:25 AM, Romain Manni-Bucau wrote:

> I commited something, i uploaded the generated stuff on my people account (
> http://people.apache.org/~rmannibucau/generated/)...if someone wants to test
> to find bugs...i tried to stay simple but i'm not sure it always works.

I'm getting chills.  Starting to look really good!  Love two column view, the 'x's and the AND logic.  This is going to be so awesome!

Wonder with the AND logic version if we could eliminate the API buttons on the side that would result in zero results.

I like the Keep It Simple approach you're taking.  We can worry about fancy css later.  Very impressed with how fast you're able to tweak this.


-David


> 2011/6/18 Romain Manni-Bucau <rm...@gmail.com>
> 
>> cool, very nice :).
>> 
>> i updated the code to use velocity, it allows us to only code data
>> manipulation in java and separate html from java. I separated css and js
>> too. Normally somebody wanting to work only on view is able to do it now :)
>> (and it is really simpler for others too).
>> 
>> Today we can search by a OR query (display me example with Stateless and
>> Local) on the glossary, i'll try to do a AND search for the main index page
>> soon.
>> 
>> - Romain
>> 
>> 
>> 2011/6/16 Karan Malhi <ka...@gmail.com>
>> 
>>> Really impressive. Would've loved to collaborate with you on this,
>>> maybe in a few days or so
>>> 
>>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>>> <rm...@gmail.com> wrote:
>>>> i modified it  a bit, i updated it on my people.apache.org public html
>>>> space:
>>>> 
>>>> http://people.apache.org/~rmannibucau/generated/
>>>> 
>>>> it seems to work but i need help to make it sexy. I take any help (even
>>> just
>>>> doing a static page [css, html, js] then i'll be able to modify the
>>> code).
>>>> 
>>>> The more to do is around this page
>>>> http://people.apache.org/~rmannibucau/generated/glossary.html
>>>> 
>>>> - Romain
>>>> 
>>>> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>>>> 
>>>>> i had a try, if someone want have a look it is in tools project, run
>>> Daily
>>>>> main specifying parameters (an example is in comment).
>>>>> 
>>>>> - Romain
>>>>> 
>>>>> 2011/5/31 David Blevins <da...@gmail.com>
>>>>> 
>>>>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>>>> 
>>>>>> Task is up for grabs.
>>>>>> 
>>>>>> Basics of it are pull in the README.md for each example and use a
>>> markdown
>>>>>> processor to generate the HTML -- some options [1][2].  Slap on the
>>> Syntax
>>>>>> highlighting css/js[3].  Wrap the HTML with some links to the other
>>>>>> examples.  Create an index of all the examples.  Write it all to disk.
>>> And
>>>>>> done.
>>>>>> 
>>>>>> 
>>>>>> -David
>>>>>> 
>>>>>> 
>>>>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>>>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>>>>> [3] http://code.google.com/p/google-code-prettify
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Karan Singh Malhi
>>> 
>> 
>> 


Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
I commited something, i uploaded the generated stuff on my people account (
http://people.apache.org/~rmannibucau/generated/)...if someone wants to test
to find bugs...i tried to stay simple but i'm not sure it always works.

- Romain

2011/6/18 Romain Manni-Bucau <rm...@gmail.com>

> cool, very nice :).
>
> i updated the code to use velocity, it allows us to only code data
> manipulation in java and separate html from java. I separated css and js
> too. Normally somebody wanting to work only on view is able to do it now :)
> (and it is really simpler for others too).
>
> Today we can search by a OR query (display me example with Stateless and
> Local) on the glossary, i'll try to do a AND search for the main index page
> soon.
>
> - Romain
>
>
> 2011/6/16 Karan Malhi <ka...@gmail.com>
>
>> Really impressive. Would've loved to collaborate with you on this,
>> maybe in a few days or so
>>
>> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
>> <rm...@gmail.com> wrote:
>> > i modified it  a bit, i updated it on my people.apache.org public html
>> > space:
>> >
>> > http://people.apache.org/~rmannibucau/generated/
>> >
>> > it seems to work but i need help to make it sexy. I take any help (even
>> just
>> > doing a static page [css, html, js] then i'll be able to modify the
>> code).
>> >
>> > The more to do is around this page
>> > http://people.apache.org/~rmannibucau/generated/glossary.html
>> >
>> > - Romain
>> >
>> > 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>> >
>> >> i had a try, if someone want have a look it is in tools project, run
>> Daily
>> >> main specifying parameters (an example is in comment).
>> >>
>> >> - Romain
>> >>
>> >> 2011/5/31 David Blevins <da...@gmail.com>
>> >>
>> >>> https://issues.apache.org/jira/browse/OPENEJB-1566
>> >>>
>> >>> Task is up for grabs.
>> >>>
>> >>> Basics of it are pull in the README.md for each example and use a
>> markdown
>> >>> processor to generate the HTML -- some options [1][2].  Slap on the
>> Syntax
>> >>> highlighting css/js[3].  Wrap the HTML with some links to the other
>> >>> examples.  Create an index of all the examples.  Write it all to disk.
>>  And
>> >>> done.
>> >>>
>> >>>
>> >>> -David
>> >>>
>> >>>
>> >>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> >>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> >>> [3] http://code.google.com/p/google-code-prettify
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>>
>>
>>
>> --
>> Karan Singh Malhi
>>
>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
cool, very nice :).

i updated the code to use velocity, it allows us to only code data
manipulation in java and separate html from java. I separated css and js
too. Normally somebody wanting to work only on view is able to do it now :)
(and it is really simpler for others too).

Today we can search by a OR query (display me example with Stateless and
Local) on the glossary, i'll try to do a AND search for the main index page
soon.

- Romain

2011/6/16 Karan Malhi <ka...@gmail.com>

> Really impressive. Would've loved to collaborate with you on this,
> maybe in a few days or so
>
> On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > i modified it  a bit, i updated it on my people.apache.org public html
> > space:
> >
> > http://people.apache.org/~rmannibucau/generated/
> >
> > it seems to work but i need help to make it sexy. I take any help (even
> just
> > doing a static page [css, html, js] then i'll be able to modify the
> code).
> >
> > The more to do is around this page
> > http://people.apache.org/~rmannibucau/generated/glossary.html
> >
> > - Romain
> >
> > 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
> >
> >> i had a try, if someone want have a look it is in tools project, run
> Daily
> >> main specifying parameters (an example is in comment).
> >>
> >> - Romain
> >>
> >> 2011/5/31 David Blevins <da...@gmail.com>
> >>
> >>> https://issues.apache.org/jira/browse/OPENEJB-1566
> >>>
> >>> Task is up for grabs.
> >>>
> >>> Basics of it are pull in the README.md for each example and use a
> markdown
> >>> processor to generate the HTML -- some options [1][2].  Slap on the
> Syntax
> >>> highlighting css/js[3].  Wrap the HTML with some links to the other
> >>> examples.  Create an index of all the examples.  Write it all to disk.
>  And
> >>> done.
> >>>
> >>>
> >>> -David
> >>>
> >>>
> >>> [1] http://code.google.com/p/markdownj/wiki/Maven
> >>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> >>> [3] http://code.google.com/p/google-code-prettify
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >
>
>
>
> --
> Karan Singh Malhi
>

Re: Example page generator - OPENEJB-1566

Posted by Karan Malhi <ka...@gmail.com>.
Really impressive. Would've loved to collaborate with you on this,
maybe in a few days or so

On Thu, Jun 16, 2011 at 3:06 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> i modified it  a bit, i updated it on my people.apache.org public html
> space:
>
> http://people.apache.org/~rmannibucau/generated/
>
> it seems to work but i need help to make it sexy. I take any help (even just
> doing a static page [css, html, js] then i'll be able to modify the code).
>
> The more to do is around this page
> http://people.apache.org/~rmannibucau/generated/glossary.html
>
> - Romain
>
> 2011/6/15 Romain Manni-Bucau <rm...@gmail.com>
>
>> i had a try, if someone want have a look it is in tools project, run Daily
>> main specifying parameters (an example is in comment).
>>
>> - Romain
>>
>> 2011/5/31 David Blevins <da...@gmail.com>
>>
>>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>>
>>> Task is up for grabs.
>>>
>>> Basics of it are pull in the README.md for each example and use a markdown
>>> processor to generate the HTML -- some options [1][2].  Slap on the Syntax
>>> highlighting css/js[3].  Wrap the HTML with some links to the other
>>> examples.  Create an index of all the examples.  Write it all to disk.  And
>>> done.
>>>
>>>
>>> -David
>>>
>>>
>>> [1] http://code.google.com/p/markdownj/wiki/Maven
>>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>>> [3] http://code.google.com/p/google-code-prettify
>>>
>>>
>>>
>>>
>>>
>>
>



-- 
Karan Singh Malhi

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i modified it  a bit, i updated it on my people.apache.org public html
space:

http://people.apache.org/~rmannibucau/generated/

it seems to work but i need help to make it sexy. I take any help (even just
doing a static page [css, html, js] then i'll be able to modify the code).

The more to do is around this page
http://people.apache.org/~rmannibucau/generated/glossary.html

- Romain

2011/6/15 Romain Manni-Bucau <rm...@gmail.com>

> i had a try, if someone want have a look it is in tools project, run Daily
> main specifying parameters (an example is in comment).
>
> - Romain
>
> 2011/5/31 David Blevins <da...@gmail.com>
>
>> https://issues.apache.org/jira/browse/OPENEJB-1566
>>
>> Task is up for grabs.
>>
>> Basics of it are pull in the README.md for each example and use a markdown
>> processor to generate the HTML -- some options [1][2].  Slap on the Syntax
>> highlighting css/js[3].  Wrap the HTML with some links to the other
>> examples.  Create an index of all the examples.  Write it all to disk.  And
>> done.
>>
>>
>> -David
>>
>>
>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> [3] http://code.google.com/p/google-code-prettify
>>
>>
>>
>>
>>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i had a try, if someone want have a look it is in tools project, run Daily
main specifying parameters (an example is in comment).

- Romain

2011/5/31 David Blevins <da...@gmail.com>

> https://issues.apache.org/jira/browse/OPENEJB-1566
>
> Task is up for grabs.
>
> Basics of it are pull in the README.md for each example and use a markdown
> processor to generate the HTML -- some options [1][2].  Slap on the Syntax
> highlighting css/js[3].  Wrap the HTML with some links to the other
> examples.  Create an index of all the examples.  Write it all to disk.  And
> done.
>
>
> -David
>
>
> [1] http://code.google.com/p/markdownj/wiki/Maven
> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> [3] http://code.google.com/p/google-code-prettify
>
>
>
>
>

Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
yes CMS works this way but "we" shouldn't use both. What i mean is we should
only work with the markdown repo, the html repo should be automatically
generated and IMHO we shouldn't copy it.

Yes i took the Lucy repo to start, i didn't succeed to remove the lib/
path.pm file from the source folder.

- Romain

2011/6/1 David Blevins <da...@gmail.com>

>
> On May 31, 2011, at 1:35 PM, Romain Manni-Bucau wrote:
>
> > i think to involve the CMS is a good thing.
>
> Me too.
>
> > but i would like to avoid to have both html and markdown files into the
> > repo, maybe markdown is simpler.
>
> Unfortunately (or fortunately) that's the way the CMS works.  There's a
> "content" repo with all the markdown files and a separate repo for the html
> files.
>
> So you edit the markdown via the online editor or by editing a local copy
> and checking it in, then you can hit the "publish" feature of the CMS and it
> will commit the generated html for you (will have been immediately created
> once the markdown was edited).
>
> >
> > i started a bit to create a skeleton
> > http://www.megaupload.com/?d=KZFIWWKW(but it really needs more work
> > ;)).
>
> Awesome!  Looks like you hit the ground running with a copy of the Lucy CMS
> setup.  Nice.
>
> When Infra gets your account setup we can do an 'svn copy https://svn..../lucy/cms
> svn copy https://svn..../openejb/cms' then merge in all your changes.  We
> could just import them straight, but it might be nice to have the svn
> history.
>
> -David
>
> >
> > 2011/5/31 David Blevins <da...@gmail.com>
> >
> >>
> >> On May 31, 2011, at 12:50 PM, Romain Manni-Bucau wrote:
> >>
> >>> what is the best: maven plugin -> generate apache cms files or maven
> >> plugin
> >>> -> generate html with the openejb template ?
> >>
> >> If we wanted to involve the CMS, either approach would ultimately work.
> >>
> >> Essentially the CMS is two separate systems sitting side by side:
> >>
> >> 1. checkout markdown files. process to html. check html into svn.
> >> 2. publish html files in svn to website.
> >>
> >> So anything that generates html will work.  We're not hooked up to the
> CMS
> >> yet, but we could certainly do that.  One of those not so hard tasks
> that
> >> needs an owner.  Though hooking us up to the CMS would have to be done
> by a
> >> committer as there's a lot of svn action involved.
> >>
> >> With a little perl skills we could get the CMS to process the markdown
> >> files.  Then the website would update itself each time we checked in a
> new
> >> example.  Sort of a hithub-like solution were README.mdtext get turned
> into
> >> website documentation.
> >>
> >> As far as what we *should* do... whatever sounds the most fun to the
> person
> >> doing the work :)
> >>
> >> I'd probably go the perl & Extend-the-CMS route if I had time to work on
> >> it.  Probably other projects would like the feature and I've got some
> perl
> >> skills (limited, but functional), so I'd probably try that.  Probably
> the
> >> hardest approach of them all, but the most interesting to me personally.
> >> But it would be weeks or months before I might have any time to do
> >> something like that.
> >>
> >>
> >> -David
> >>
> >>> 2011/5/31 David Blevins <da...@gmail.com>
> >>>
> >>>>
> >>>> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
> >>>>
> >>>>> I don't think it is a lot of work, what do you think?
> >>>>
> >>>> Exactly.  Perfect first task for someone looking to get involved.
> >>>>
> >>>> Lot's of solutions.
> >>>>
> >>>>
> >>>> -David
> >>>>
> >>>>
> >>
> >>
>
>

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On May 31, 2011, at 1:35 PM, Romain Manni-Bucau wrote:

> i think to involve the CMS is a good thing.

Me too.

> but i would like to avoid to have both html and markdown files into the
> repo, maybe markdown is simpler.

Unfortunately (or fortunately) that's the way the CMS works.  There's a "content" repo with all the markdown files and a separate repo for the html files.

So you edit the markdown via the online editor or by editing a local copy and checking it in, then you can hit the "publish" feature of the CMS and it will commit the generated html for you (will have been immediately created once the markdown was edited).

> 
> i started a bit to create a skeleton
> http://www.megaupload.com/?d=KZFIWWKW(but it really needs more work
> ;)).

Awesome!  Looks like you hit the ground running with a copy of the Lucy CMS setup.  Nice.

When Infra gets your account setup we can do an 'svn copy https://svn..../lucy/cms svn copy https://svn..../openejb/cms' then merge in all your changes.  We could just import them straight, but it might be nice to have the svn history.

-David

> 
> 2011/5/31 David Blevins <da...@gmail.com>
> 
>> 
>> On May 31, 2011, at 12:50 PM, Romain Manni-Bucau wrote:
>> 
>>> what is the best: maven plugin -> generate apache cms files or maven
>> plugin
>>> -> generate html with the openejb template ?
>> 
>> If we wanted to involve the CMS, either approach would ultimately work.
>> 
>> Essentially the CMS is two separate systems sitting side by side:
>> 
>> 1. checkout markdown files. process to html. check html into svn.
>> 2. publish html files in svn to website.
>> 
>> So anything that generates html will work.  We're not hooked up to the CMS
>> yet, but we could certainly do that.  One of those not so hard tasks that
>> needs an owner.  Though hooking us up to the CMS would have to be done by a
>> committer as there's a lot of svn action involved.
>> 
>> With a little perl skills we could get the CMS to process the markdown
>> files.  Then the website would update itself each time we checked in a new
>> example.  Sort of a hithub-like solution were README.mdtext get turned into
>> website documentation.
>> 
>> As far as what we *should* do... whatever sounds the most fun to the person
>> doing the work :)
>> 
>> I'd probably go the perl & Extend-the-CMS route if I had time to work on
>> it.  Probably other projects would like the feature and I've got some perl
>> skills (limited, but functional), so I'd probably try that.  Probably the
>> hardest approach of them all, but the most interesting to me personally.
>> But it would be weeks or months before I might have any time to do
>> something like that.
>> 
>> 
>> -David
>> 
>>> 2011/5/31 David Blevins <da...@gmail.com>
>>> 
>>>> 
>>>> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
>>>> 
>>>>> I don't think it is a lot of work, what do you think?
>>>> 
>>>> Exactly.  Perfect first task for someone looking to get involved.
>>>> 
>>>> Lot's of solutions.
>>>> 
>>>> 
>>>> -David
>>>> 
>>>> 
>> 
>> 


Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i think to involve the CMS is a good thing.

but i would like to avoid to have both html and markdown files into the
repo, maybe markdown is simpler.

i started a bit to create a skeleton
http://www.megaupload.com/?d=KZFIWWKW(but it really needs more work
;)).

- Romain

2011/5/31 David Blevins <da...@gmail.com>

>
> On May 31, 2011, at 12:50 PM, Romain Manni-Bucau wrote:
>
> > what is the best: maven plugin -> generate apache cms files or maven
> plugin
> > -> generate html with the openejb template ?
>
> If we wanted to involve the CMS, either approach would ultimately work.
>
> Essentially the CMS is two separate systems sitting side by side:
>
>  1. checkout markdown files. process to html. check html into svn.
>  2. publish html files in svn to website.
>
> So anything that generates html will work.  We're not hooked up to the CMS
> yet, but we could certainly do that.  One of those not so hard tasks that
> needs an owner.  Though hooking us up to the CMS would have to be done by a
> committer as there's a lot of svn action involved.
>
> With a little perl skills we could get the CMS to process the markdown
> files.  Then the website would update itself each time we checked in a new
> example.  Sort of a hithub-like solution were README.mdtext get turned into
> website documentation.
>
> As far as what we *should* do... whatever sounds the most fun to the person
> doing the work :)
>
> I'd probably go the perl & Extend-the-CMS route if I had time to work on
> it.  Probably other projects would like the feature and I've got some perl
> skills (limited, but functional), so I'd probably try that.  Probably the
> hardest approach of them all, but the most interesting to me personally.
>  But it would be weeks or months before I might have any time to do
> something like that.
>
>
> -David
>
> > 2011/5/31 David Blevins <da...@gmail.com>
> >
> >>
> >> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
> >>
> >>> I don't think it is a lot of work, what do you think?
> >>
> >> Exactly.  Perfect first task for someone looking to get involved.
> >>
> >> Lot's of solutions.
> >>
> >>
> >> -David
> >>
> >>
>
>

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On May 31, 2011, at 8:29 PM, Karan Malhi wrote:

>> 
>> With a little perl skills we could get the CMS to process the markdown
>> files.  Then the website would update itself each time we checked in a new
>> example.  Sort of a hithub-like solution were README.mdtext get turned into
>> website documentation.
>> 
> Why would we need to write a perl script of our own? I thought the CMS
> system already gives us a WYSIWYM editor which would then convert the stuff
> to HTML

If we used svn externals to basically "link" the examples section of svn into our CMS svn repo, then yes the README.mdtext would show up as README.html.

If we wanted to rename the README.html to index.html or do any automated content generation -- some fancy indexing perhaps -- we would have to dig out some Perl.  Of course it wouldn't have to actually be written in Perl -- perl can call bash scripts and other stuff so we could put any auto-generation logic in anything we want.


-David


Re: Example page generator - OPENEJB-1566

Posted by Karan Malhi <ka...@gmail.com>.
>
> With a little perl skills we could get the CMS to process the markdown
> files.  Then the website would update itself each time we checked in a new
> example.  Sort of a hithub-like solution were README.mdtext get turned into
> website documentation.
>
Why would we need to write a perl script of our own? I thought the CMS
system already gives us a WYSIWYM editor which would then convert the stuff
to HTML


>
>
> -David
>
> > 2011/5/31 David Blevins <da...@gmail.com>
> >
> >>
> >> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
> >>
> >>> I don't think it is a lot of work, what do you think?
> >>
> >> Exactly.  Perfect first task for someone looking to get involved.
> >>
> >> Lot's of solutions.
> >>
> >>
> >> -David
> >>
> >>
>
>


-- 
Karan Singh Malhi

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On May 31, 2011, at 12:50 PM, Romain Manni-Bucau wrote:

> what is the best: maven plugin -> generate apache cms files or maven plugin
> -> generate html with the openejb template ?

If we wanted to involve the CMS, either approach would ultimately work.

Essentially the CMS is two separate systems sitting side by side:

  1. checkout markdown files. process to html. check html into svn.
  2. publish html files in svn to website.

So anything that generates html will work.  We're not hooked up to the CMS yet, but we could certainly do that.  One of those not so hard tasks that needs an owner.  Though hooking us up to the CMS would have to be done by a committer as there's a lot of svn action involved.

With a little perl skills we could get the CMS to process the markdown files.  Then the website would update itself each time we checked in a new example.  Sort of a hithub-like solution were README.mdtext get turned into website documentation.

As far as what we *should* do... whatever sounds the most fun to the person doing the work :)

I'd probably go the perl & Extend-the-CMS route if I had time to work on it.  Probably other projects would like the feature and I've got some perl skills (limited, but functional), so I'd probably try that.  Probably the hardest approach of them all, but the most interesting to me personally.  But it would be weeks or months before I might have any time to do something like that.


-David

> 2011/5/31 David Blevins <da...@gmail.com>
> 
>> 
>> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
>> 
>>> I don't think it is a lot of work, what do you think?
>> 
>> Exactly.  Perfect first task for someone looking to get involved.
>> 
>> Lot's of solutions.
>> 
>> 
>> -David
>> 
>> 


Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
what is the best: maven plugin -> generate apache cms files or maven plugin
-> generate html with the openejb template ?

- Romain

2011/5/31 David Blevins <da...@gmail.com>

>
> On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:
>
> > I don't think it is a lot of work, what do you think?
>
> Exactly.  Perfect first task for someone looking to get involved.
>
> Lot's of solutions.
>
>
> -David
>
>

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On May 31, 2011, at 12:32 PM, Romain Manni-Bucau wrote:

> I don't think it is a lot of work, what do you think?

Exactly.  Perfect first task for someone looking to get involved.

Lot's of solutions.


-David


Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
what i thought was simply to write documentation into each example and keep
the default template, then a simple script (i still think in bash ;)) could
create a temporary project with the "official" template and a common page
generated with link to each example.

I don't think it is a lot of work, what do you think? Another solution is
simply to select the layout in the parent which know the examples (children)
but i think examples don't need to know their parent.

Well what i meant was we don't need something new IMHO.

- Romain

2011/5/31 David Blevins <da...@gmail.com>

>
> On May 30, 2011, at 11:34 PM, Romain Manni-Bucau wrote:
>
> > maybe it will sound very stupid but reading your jira i think you only
> want
> > maven and a good template; with reporting part you'll have all you want,
> no?
>
> That could work too.  I don't have time to work on it, which is why I threw
> it out there.
>
> Side note on any maven approaches is we've been trying to keep the examples
> as self contained and as simple as possible.  So far none of them depend on
> parent pom and each pom is pretty small.  So if we go that route, hopefully
> we can do it without too much complexity.
>
>
> -David
>
>
> > 2011/5/31 David Blevins <da...@gmail.com>
> >
> >> https://issues.apache.org/jira/browse/OPENEJB-1566
> >>
> >> Task is up for grabs.
> >>
> >> Basics of it are pull in the README.md for each example and use a
> markdown
> >> processor to generate the HTML -- some options [1][2].  Slap on the
> Syntax
> >> highlighting css/js[3].  Wrap the HTML with some links to the other
> >> examples.  Create an index of all the examples.  Write it all to disk.
>  And
> >> done.
> >>
> >>
> >> -David
> >>
> >>
> >> [1] http://code.google.com/p/markdownj/wiki/Maven
> >> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> >> [3] http://code.google.com/p/google-code-prettify
> >>
> >>
> >>
> >>
> >>
>
>

Re: Example page generator - OPENEJB-1566

Posted by David Blevins <da...@gmail.com>.
On May 30, 2011, at 11:34 PM, Romain Manni-Bucau wrote:

> maybe it will sound very stupid but reading your jira i think you only want
> maven and a good template; with reporting part you'll have all you want, no?

That could work too.  I don't have time to work on it, which is why I threw it out there.

Side note on any maven approaches is we've been trying to keep the examples as self contained and as simple as possible.  So far none of them depend on parent pom and each pom is pretty small.  So if we go that route, hopefully we can do it without too much complexity.


-David


> 2011/5/31 David Blevins <da...@gmail.com>
> 
>> https://issues.apache.org/jira/browse/OPENEJB-1566
>> 
>> Task is up for grabs.
>> 
>> Basics of it are pull in the README.md for each example and use a markdown
>> processor to generate the HTML -- some options [1][2].  Slap on the Syntax
>> highlighting css/js[3].  Wrap the HTML with some links to the other
>> examples.  Create an index of all the examples.  Write it all to disk.  And
>> done.
>> 
>> 
>> -David
>> 
>> 
>> [1] http://code.google.com/p/markdownj/wiki/Maven
>> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
>> [3] http://code.google.com/p/google-code-prettify
>> 
>> 
>> 
>> 
>> 


Re: Example page generator - OPENEJB-1566

Posted by Romain Manni-Bucau <rm...@gmail.com>.
maybe it will sound very stupid but reading your jira i think you only want
maven and a good template; with reporting part you'll have all you want, no?

- Romain

2011/5/31 David Blevins <da...@gmail.com>

> https://issues.apache.org/jira/browse/OPENEJB-1566
>
> Task is up for grabs.
>
> Basics of it are pull in the README.md for each example and use a markdown
> processor to generate the HTML -- some options [1][2].  Slap on the Syntax
> highlighting css/js[3].  Wrap the HTML with some links to the other
> examples.  Create an index of all the examples.  Write it all to disk.  And
> done.
>
>
> -David
>
>
> [1] http://code.google.com/p/markdownj/wiki/Maven
> [2] http://code.google.com/p/doxia-module-markdown/wiki/Usage
> [3] http://code.google.com/p/google-code-prettify
>
>
>
>
>