Elizabeth Keogh | 2 Oct 23:14 2007

Mauro - how does the storygen work?

Hi Mauro,

Dan and I would like to use your storygen code, if possible, to knock out the stories for the Game of Life at OOPSLA.

How does one use it? Given story text of the kind that's in Hellbound? Is it usable? How much work is needed to get it working (and what, and can we help?)

I can knock out something that helps us in 1/2 a day, but it won't be reusable for all stories.

Cheers,
Liz.

--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi | 3 Oct 18:17 2007

Re: Mauro - how does the storygen work?

Elizabeth Keogh wrote:
> Hi Mauro,
> 
> Dan and I would like to use your storygen code, if possible, to knock 
> out the stories for the Game of Life at OOPSLA.
> 
> How does one use it? Given story text of the kind that's in Hellbound? 
> Is it usable? How much work is needed to get it working (and what, and 
> can we help?)
> 
> I can knock out something that helps us in 1/2 a day, but it won't be 
> reusable for all stories.
> 

Liz,

you can find an integration test for story generation in the maven plugin.

https://svn.codehaus.org/jbehave/trunk/plugins/maven/src/it/

test7 deals with story generation.

There is not much maven-esque about it - it simply wraps the call to the CodeGenerator.
And also now Dan is almost coverted to the Gospel of Maven :-)

If needed an Ant task is easy to mirror.

Let me know if you need more help.

Cheers

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Elizabeth Keogh | 10 Oct 12:25 2007

Re: Re: Mauro - how does the storygen work?


news <news-WnDAp88bSu3NLxjTenLetw@public.gmane.org> wrote on 03/10/2007 17:17:16:

> Liz,
> ...
> If needed an Ant task is easy to mirror.

Would you mind terribly doing this for me please, Mauro?

I'm sure I'll convert to Maven at some point, but right now the learning curve is more than I have time for. An Ant task would help me understand the workings better than trying to fudge my way through Maven.

Cheers,
Liz.

--
Elizabeth Keogh
liz-IFekc9qy6S0WhyVFc8JwjA@public.gmane.org
http://sirenian.livejournal.com
http://jbehave.org
Uwe Jugel | 11 Oct 12:41 2007

End-User Programming within standard Eclipse-IDE

Hello jBehave Team,

i'm a student from Dresden, Germany currently writing my diploma (master) at TU-Dresden. I'm currently designing a DSL (aka. writing an easy to use API) within Flex3. I assume you have quite some knowledge about language design, what makes me write to this list and ask for a few directions.

Maybe you can refer me to a book or an important article which i should definitely read and haven't found yet -- i'm sure there are many --

Thanks in advance,
Uwe Jugel


OK, here's my problem and its constraints i hope it's not to fuzzy:

== Problem ==
I will create a web development framework (prototype) for creating clientside UIs. The framework will be used by lay programmers.
The created target applications are usually based on some simple workflow models and can be described as state machines.

== Example ==
This is how a simple application might look like:

view: simple Login screen
 
view: selectable Articlelist
    data from Webservice updated onLoad

view: show Article stats
    editable text-attributes from WS updated onLoad updateable via another WS
    dynamic values "polled" from a WS (maybe inclue messaging like JMS)

    subview: show special Info about Article

view: Logout (returns to Login)

== Constraints ==
My base tools are:
Adobe Flex 3 (ActionScript + MXML): a Java like language which mixes general curly braced code and XML-declarations (like Java + XML or like JS + HTML)
Adobe FlexBuilder: a commercial Eclipse plugin including a good UI-designer, debugging, code completion etc.
as Flex compiles to flash-movies it is mostly client side code, but might still contain some business logic
the produced client apps run within the flashplayer, i.e. in every browser.
the backend (persistence layer and business logic) is a webservice oriented architecture which i assume to behave intelligently so i can focus more on the client side

== Goals ==
My "framework" should be easy to use (easy learning curve) and be used
to define workflows,
to bind data/webservices to UI-Widgets,
to declare simple behavior/connections between UI-Widgets,
to express simple conditions (maybe)

== Research Goals ==
Therefore i should be researching other (rapid) web development frameworks (currently only: ruby on rails, which consumed quite some time in the beginning), graphical development techniques and language based techniques. I have read a good number of articles about rails, programming, DSLs , IDEs, graphical tools, other tools, language design etc.

== Current Work / My Idea ==
I recently decided to write an "internal DSL" to get symbolic integration with the base language and the tools (Flex3 and FlexBuilder). The idea is to use the UI-designer for easy creation of named widgets and be able to use their names easily within myDSL and thus within the IDE. Some portions of the problem can not be covered by creating a "simple" library and an Eclpise plugin or external tool has to be provided (not the main focus).

In a nutshell: lay programmer will layout with the UI-designer and "code" mainly in myDSL within an Eclipse-IDE


I hope this is a good abstract of my problem and that you maybe have a few directions for me.

Thanks and best regards,
Uwe Jugel

--
Uwe Jugel
fon: +49 351 7962858
mobile: +49 173 5858212
Mauro Talevi | 12 Oct 11:13 2007

Re: Mauro - how does the storygen work?

Elizabeth Keogh wrote:
> 
> news <news@...> wrote on 03/10/2007 
> 17:17:16:
> 
>  > Liz,
>  > ...
>  > If needed an Ant task is easy to mirror.
> 
> Would you mind terribly doing this for me please, Mauro?
> 
> I'm sure I'll convert to Maven at some point, but right now the learning 
> curve is more than I have time for. An Ant task would help me understand 
> the workings better than trying to fudge my way through Maven.
> 

I'll have a crack at it on weekend.

Cheers

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Mauro Talevi | 14 Oct 15:51 2007

Re: Mauro - how does the storygen work?

Elizabeth Keogh wrote:

> Would you mind terribly doing this for me please, Mauro?
> 
> I'm sure I'll convert to Maven at some point, but right now the learning 
> curve is more than I have time for. An Ant task would help me understand 
> the workings better than trying to fudge my way through Maven.
> 

I've added the StoryCodeGeneratorTask.  Requires at least two arguments:

- the generated source directory
- one or more story paths

Check out the StoryCodeGeneratorTaskBehaviour.

I've kept it as similar as possible to the other story tasks, in particular the stories are 
specified in exactly the same way, via the task addStories(FileSet) method, which in one case refers 
to story class names and in the code generator case to story paths.

Cheers

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Gmane