Re: Scala-Wicket Help and Advice

2011-04-26 Thread mb-td
Thank you for the extensive overview! I wish you the best of luck and success for this endeavour. Don't forget to let us know when a project website is up and running :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3475536

Re: Scala-Wicket Help and Advice

2011-04-21 Thread mb-td
Is the port still in progress? Please write one or two lines about the status. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3466499.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-04-21 Thread richard emberson
. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3466499.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com. -- Quis custodiet ipsos custodes

Re: Scala-Wicket Help and Advice

2011-01-19 Thread richard emberson
Yea, I have consistently advocated using Scala with strong coding standards - standards that are actually believed in and enforced. I have referred to it as OO Scala, Scala which is strong on the Java-like Object-Oriented features plus functional programming in-the-small, but refrains from using

Re: Scala-Wicket Help and Advice

2011-01-19 Thread Martin Makundi
The only thing that bugs me about scala is its flexibility of accepting different kind of notation. It's that what was the downfall of html: making complilers flexible to allow various human input and as end result none of the browsers work correctly because the truth is only in the eye of the

Re: Scala-Wicket Help and Advice

2011-01-19 Thread Gustavo Hexsel
Flexible syntax is a big part of it, but combined with operator override, it's a potential hole for understanding. They will never officially do that because one big use-case for scala is DSLs, in which this is an advantage (and the main scala team just got a reasonably large funding from a

Re: Scala-Wicket Help and Advice

2011-01-19 Thread Martin Makundi
Yeah.. scala is like javazcribl ;) 2011/1/19 Gustavo Hexsel ghex...@gmail.com:  Flexible syntax is a big part of it, but combined with operator override, it's a potential hole for understanding.  They will never officially do that because one big use-case for scala is DSLs, in which this is

Re: Scala-Wicket Help and Advice

2011-01-19 Thread Martin Makundi
What about rewriting wicket into most wonderful tight functional scala style? def : webserver { homepage, logoutpage, onlinestore, } ... ;) ** Martin 2011/1/19 James Carman ja...@carmanconsulting.com: I believe this conversation has gone enough off-course that it no longer belongs

Re: Scala-Wicket Help and Advice

2011-01-19 Thread James Carman
Don't get me wrong, I'm all about seeing a Wicket-like Scala-based project (and would contribute to it), but that's not what we've been debating here lately on this thread. If you guys want to talk about coming up with a from-the-ground-up Scala-based, Wicket-inspired project, then I'm all ears

Re: Scala-Wicket Help and Advice

2011-01-18 Thread Liam Clarke-Hutchinson
Hey mate, I code Java for my day job, and write my fun code in Scala. I just love the flexibility of Scala combined with the power to use all my existing Java libraries. That said, I don't see Scala overcoming Java anytime soon because it offers developers _too much_ freedom. I had a real bad

Re: Scala-Wicket Help and Advice

2011-01-18 Thread Martin Makundi
Why people use C++ to facilitate making business a mess? ** Martin 2011/1/19 Liam Clarke-Hutchinson l...@steelsky.co.nz: Hey mate, I code Java for my day job, and write my fun code in Scala. I just love the flexibility of Scala combined with the power to use all my existing Java libraries.

Re: Scala-Wicket Help and Advice

2011-01-17 Thread richard emberson
I originally mentioned the Kuhn book in the context of the politics of change. Altering the focus, you brought up *the truth* as the view held by those resisting change, which I believe is not the larger insight to be gained from his book. It is still my contention that my original

Re: Scala-Wicket Help and Advice

2011-01-11 Thread Liam Clarke-Hutchinson
/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-11 Thread Rodolfo Hansen
I guess Project Lombok could be extended for this. You would be inviting the same problems encountered by C++ with its multiple inheritance, and all that magic will probably make things harder to follow. But; like all shotguns, it's everyone's responsibility where they aim, lest they shoot

Re: Scala-Wicket Help and Advice

2011-01-11 Thread Martin Makundi
One can always get better at following but tools must improve to be better for building ;) ** Martin 2011/1/11 Rodolfo Hansen kry...@gmail.com: I guess Project Lombok could be extended for this. You would be inviting the same problems encountered by C++ with its multiple inheritance, and

Re: Scala-Wicket Help and Advice

2011-01-10 Thread richard emberson
I am sorry, but I can not disagree with you more about Kuhn's The Structure of Scientific Revolutions. Its about resistance to change and not scientific truth and, as such, it has generally applicable. At its crudest, its about the old, vested guard being unwilling and/or unable to move with the

Re: Scala-Wicket Help and Advice

2011-01-10 Thread Gustavo Hexsel
me it has pretty nice Scala support. Jon Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help

Re: Scala-Wicket Help and Advice

2011-01-10 Thread Jonathan Locke
, but this reasoning has nothing to do with any entrenched political interests I might have. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3207861.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-09 Thread Martin Makundi
Either way, you have to put logic somewhere that tries to figure out what the heck you want to borrow and then figure out where the heck to get it. If it is done at compile time you don't need messaging logic. It would be uniquely defined what you can get. Please explain. Think about

Re: Scala-Wicket Help and Advice

2011-01-09 Thread Liam Clarke-Hutchinson
.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-08 Thread James Carman
. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive

Re: Scala-Wicket Help and Advice

2011-01-08 Thread Gustavo Hexsel
Scala friends tell me it has pretty nice Scala support. Jon Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help

Re: Scala-Wicket Help and Advice

2011-01-08 Thread Martin Makundi
.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-08 Thread James Carman
On Sat, Jan 8, 2011 at 1:25 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: What I hate about java is its one-dimensionality... ehh.. say you have: object man object man carrying bag bag carrying pencil case. This isn't a Java problem.  This is a design problem. How would you

Re: Scala-Wicket Help and Advice

2011-01-08 Thread Martin Makundi
Hi! You would use a more domain-oriented design approach.  Setters/getters are merely used because of all the frameworks that support (and expect) them.  Why do you care where the man is carrying his pencil? Perhaps he's keeping it in his sock. All you want to do is ask the man object for a

Re: Scala-Wicket Help and Advice

2011-01-08 Thread James Carman
On Sat, Jan 8, 2011 at 2:59 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: It should be possible to say that man will proxy by default all get methods of his belongings, It should be possible to say that bag will proxy by default all get methods of his belongings. Same with

Re: Scala-Wicket Help and Advice

2011-01-08 Thread Martin Makundi
Hi! public T T borrowObject(ClassT objectType) where you can do Pencil p = man.borrowObject(Pencil.class); Either way, you have to put logic somewhere that tries to figure out what the heck you want to borrow and then figure out where the heck to get it. If it is done at compile time

Re: Scala-Wicket Help and Advice

2011-01-08 Thread James Carman
On Sat, Jan 8, 2011 at 4:19 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Either way, you have to put logic somewhere that tries to figure out what the heck you want to borrow and then figure out where the heck to get it. If it is done at compile time you don't need messaging

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Jonathan Locke
/Scala-Wicket-Help-and-Advice-tp3174601p3181566.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Martin Makundi
that, it's because of all this green paper stuff they keep throwing at me. Maybe I really have gotten old. Jon Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Jonathan Locke
Have you checked out IDEA? My Scala friends tell me it has pretty nice Scala support. Jon Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Martin Makundi
in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Liam Clarke-Hutchinson
Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Gustavo Hexsel
/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3185239.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: Scala-Wicket Help and Advice

2011-01-07 Thread Martin Makundi
you checked out IDEA? My Scala friends tell me it has pretty nice Scala support. Jon Less is more. http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket

Re: Scala-Wicket Help and Advice

2011-01-06 Thread Jonathan Locke
. Clarity, precision and simplicity are far more important than brevity and power. Jon Less is more. http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3178126

Re: Scala-Wicket Help and Advice

2011-01-06 Thread Gustavo Hexsel
brevity and power. Jon Less is more. http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3178126.html Sent from the Forum for Wicket Core developers

Re: Scala-Wicket Help and Advice

2011-01-06 Thread richard emberson
.1842946.n4.nabble.com/Scala-Wicket-Help-and-Advice-tp3174601p3178126.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com. -- Quis custodiet ipsos custodes

Re: Scala-Wicket Help and Advice

2011-01-06 Thread richard emberson
Everyone has opinions, myself included. Curious the mention of Lift. It highlights Scala's functional goodies and type classes which is certainly the wrong approach - more in line with being less clear and less simple. It is actually recommended that a Ruby programmer would have a easier time

Scala-Wicket Help and advice

2011-01-06 Thread Gustavo Hexsel
I agree with that. Considering the amount of effort involved in the porting, and specially in the maintenance of that port, I think it would be (would have been? http://www.youtube.com/watch?v=cY_oKve-bH0) easier to create a shell on top of Wicket to make Scala programmers' lives easier, rather

Re: Scala-Wicket Help and advice

2011-01-06 Thread James Carman
On Thu, Jan 6, 2011 at 7:24 PM, Gustavo Hexsel ghex...@gmail.com wrote:  One of the cool things about scala is that you could have a model concept without a model class.  You just need to receive 2 functions, a setter and a getter (or just a setter for read-only models).  So for instance a

Re: Scala-Wicket Help and advice

2011-01-06 Thread Johan Edstrom
I know of several other Apache projects like Camel, ActiveMQ, ServiceMix that happily look at projects like http://hawtdispatch.fusesource.org/ as well as integrate Scala and of course use them as they were written by Apache people, they just used Scala to solve problems in an elegant manner.

Re: Scala-Wicket Help and advice

2011-01-06 Thread Gustavo Hexsel
That signature binds the function call to the function call expected in the listview (i.e. the function itself is the parameter, not the results). This means that the myService.list function is called only when the model is evaluated, not when the listview is created. On Thu, Jan 6, 2011 at

Re: Scala-Wicket Help and Advice

2011-01-05 Thread Juergen Donnerstag
Cool. May I ask which tools (IDE) you've been using and what your experience with these tools has been. -Juergen On Wed, Jan 5, 2011 at 2:34 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Tue, Jan 4, 2011 at 5:15 PM, richard emberson richard.ember...@gmail.com wrote: Dev Wicketers,

Re: Scala-Wicket Help and Advice

2011-01-05 Thread Martin Grigorov
On Wed, Jan 5, 2011 at 9:38 AM, Juergen Donnerstag juergen.donners...@gmail.com wrote: Cool. May I ask which tools (IDE) you've been using and what your experience with these tools has been. #scala suggests IDEA 10 + SBT plugin as the most mature one. -Juergen On Wed, Jan 5, 2011 at

Re: Scala-Wicket Help and Advice

2011-01-05 Thread richard emberson
No IDE, I use Vim. Also, my build environment is Ant-based using scalac and javac. Of course, what I was doing was porting from Java to Scala. To that end I've got some 400 Vim scripts that aid in the port. For instance, :g/final \([a-zA-Z]\+\) \([a-zA-Z]\+\)\[\]\s*=/s//val \2: Array[\1] =/g

Re: Scala-Wicket Help and Advice

2011-01-05 Thread James Carman
Is this in IntelliJ IDEA? On Wed, Jan 5, 2011 at 6:04 PM, Gerolf Seitz gerolf.se...@gmail.com wrote: It's cmd+shift+G (OSX) and it works quite well ;) On Wed, Jan 5, 2011 at 11:55 PM, Justin Lee evancho...@gmail.com wrote: You can paste a java class into a .scala file and it'll autoconvert.

Re: Scala-Wicket Help and Advice

2011-01-05 Thread Gerolf Seitz
Is this in IntelliJ IDEA? yes On Wed, Jan 5, 2011 at 6:04 PM, Gerolf Seitz gerolf.se...@gmail.com wrote: It's cmd+shift+G (OSX) and it works quite well ;) On Wed, Jan 5, 2011 at 11:55 PM, Justin Lee evancho...@gmail.com wrote: You can paste a java class into a .scala file and

Re: Scala-Wicket Help and Advice

2011-01-05 Thread richard emberson
So there is an IDE that you can point at a directory tree and tell it to convert all of the Java files to Scala files. Does it do a 100% conversion, 90%, 50% or 10% (on average)? Do you have a link to a page documenting this feature? Thanks Richard On 01/05/2011 03:04 PM, Gerolf Seitz wrote:

Re: Scala-Wicket Help and Advice

2011-01-05 Thread James Carman
I've got to try it! On Jan 5, 2011 6:10 PM, Gerolf Seitz gerolf.se...@gmail.com wrote: Is this in IntelliJ IDEA? yes On Wed, Jan 5, 2011 at 6:04 PM, Gerolf Seitz gerolf.se...@gmail.com wrote: It's cmd+shift+G (OSX) and it works quite well ;) On Wed, Jan 5, 2011 at 11:55 PM, Justin

Re: Scala-Wicket Help and Advice

2011-01-05 Thread Cemal Bayramoglu
Richard, This would effectively result in Java code translated directly to Scala, pretty naively. From what you describe, you have already manually done much better than that. As you have already hinted at in your previous posts, one of the key points of this would be to take advantage of the

Scala-Wicket Help and Advice

2011-01-04 Thread richard emberson
Dev Wicketers, What: I have ported Wicket to Scala A couple of months ago I took a 1.5 snapshot and ported to Scala. This encompasses all of the source and test code. As successive 1.5 snapshots were released, I ported those differences to my Scala version. I am current with 1.5

Re: Scala-Wicket Help and Advice

2011-01-04 Thread James Carman
I haven't had time to read all of this (hard to get through it all on my phone), but I don't think that mere port of Wicket to Scala is what is needed. I'd rather see a project built for Scala from the ground up based on some of the concepts from Wicket. Wicket wasn't designed with a functional

Re: Scala-Wicket Help and Advice

2011-01-04 Thread Jeremy Thomerson
On Tue, Jan 4, 2011 at 5:15 PM, richard emberson richard.ember...@gmail.com wrote: Dev Wicketers, What: I have ported Wicket to Scala A couple of months ago I took a 1.5 snapshot and ported to Scala. This encompasses all of the source and test code. As successive 1.5 snapshots