Hi Robin,
Thanks for sharing. The Akka core team doesn't have the bandwidth to review
this.
Regards,
Patrik


On Tue, Mar 18, 2014 at 9:21 AM, Robin Bakkerus <[email protected]>wrote:

> Hi
>
> After participating in the Scala reactive course at Coursera last year, I
> jumped on the Scala, Slick, Spray and Akka bandwagons. The results so far
> are promising, and a delight compared with the Java, Hibernate stack I
> worked on for (too) many years.
> In fact so promising that I created a completely new cartridge based on my
> *EasyMda* to generate a reactive backed, based on the tools mentioned
> above. At this point I am able to generate a fully functional working
> application, in just a few second, after the model is defined!
> There are still many things that need improved in this 'reactive'
> cartridge, but I believe it is now ready enough to demonstrate.
> Hence my question to you, if you want to have a look at this generated
> reactive demo app, and tell me what is good, and more important tell me
> what can be improved, so that I can update the cartridge accordingly.
> I have attached the following:
>
>    - A zipfile with the generated app "generated-reactive". This is a
>    regular Scala project that can be opened in a Scala Ide (3.0.2). It
>    contains a DemoMain file that starts the webserver on port 8000. The
>    datasource(s) can be controlled in application.conf. It also contains a
>    number of junit tests to test the dao layer (see pck:
>    *flca.demo.data.test.dao*)
>    All the files under *src /main/scala* resp *src/test/scala*. Under
>    src-easy-model, the Java files can be found that were used to generate the
>    application.
>
> You may find more info on *EasyMda* at: *https://code.google.com/p/easymda/
> <https://code.google.com/p/easymda/> * here you can also find links to
> YouTube videos how to use *EasyMda (*for example: http://www.youtube.
> com/watch?v=s1bCPQGYjOY  )
>
> I hope you can give me feedback, because a good code generator may not
> only give you the ability  quickly generate a lot of plumbing code, but
> (imo) more important, may generate high quality code. So that you can
> concentrate on the actual implementation.
>
> About the current reactive cartridge:
> I wanted to generate an application that is completely stateless and
> asynchronously, without all Hibernate headaches and very fast! This lead me
> to Spray to handle the http/json requests. Akka as the asynchronous
> middle-ware and Slick for persistence.
> Most of the time was spent in the ability to support complete ORM mapping,
> similar to Hibernate but than better. See the README uncer "
> *flca.demo.entity.dao*"
>
> Foreseen improvements
>
>    - see the TODO's in the Eclipse task window
>    - @ManyToMany resulting in a join is not yet supported.
>    - Optimistic locking using a Version should be supported
>    - The *findXxx *should support an optional filter and also paging
>    facility
>    - Before a *saveXxx *is executed, the object should be validated
>    first, that returns all the problems to the client if validation fails.
>    - All the retrieve queries should run in parallel
>    - Security should be supported, not only globally but also fine
>    grained and role-base per service call.
>    - Cors headers should be supported
>    - Actors should be monitored
>    - And many more minor improvements ...
>
> Next steps
>
> In the coming weeks I want update the hosting site with the new cartride
> and prepare a new plugin, including this cartridge. I also want to migrate
> the Dojo cartridge and I am thinking of creating new frontend cartridges
> Play? .. Dart? But most important is to in-cooperate your comments in order
> to  generate a state-of-art next generation web-based application based on
> the principles of the Reactive Manifesto.
>
> I am looking to you comments.
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to