You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by james yong <i_...@yahoo.com.sg> on 2010/09/01 13:10:33 UTC

Scripting language

Hi all,

Can anyone recommends a scripting language that can be used with Wicket for
productivity?

Regards,
James
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by Sigmar Muuga <me...@gmail.com>.
It depends, what do you want to do.
If you want to develop your site in some scripting language, then use
php or rails instead.

I have seen groovy in some projects build scripts.

Sigmar

On Wed, Sep 1, 2010 at 2:10 PM, james yong <i_...@yahoo.com.sg> wrote:
>
> Hi all,
>
> Can anyone recommends a scripting language that can be used with Wicket for
> productivity?
>
> Regards,
> James
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Scripting language

Posted by "Brown, Berlin [GCG-PFS]" <Be...@Primerica.com>.
I would like to point out that Scala is far from what one might consider
a dynamic scripting language.

I haven't tried it, but you may see if Clojure works with Wicket.  That
has some of the attributes where you can embed clojure into a java
application and change code on the fly.

Scala would require that you code be recompiled. 

-----Original Message-----
From: Thomas Singer [mailto:wicket@regnis.de] 
Sent: Wednesday, September 01, 2010 12:34 PM
To: users@wicket.apache.org
Subject: Re: Scripting language

Just curious: what makes you think that using a scripting language makes
you more productive than using Java? Do you mean productivity in the
first two days or in the long run?

Tom


On 01.09.2010 13:10, james yong wrote:
> 
> Hi all,
> 
> Can anyone recommends a scripting language that can be used with 
> Wicket for productivity?
> 
> Regards,
> James

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by Thomas Singer <wi...@regnis.de>.
Just curious: what makes you think that using a scripting language makes you
more productive than using Java? Do you mean productivity in the first two
days or in the long run?

Tom


On 01.09.2010 13:10, james yong wrote:
> 
> Hi all,
> 
> Can anyone recommends a scripting language that can be used with Wicket for
> productivity?
> 
> Regards,
> James

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by Peter Thomas <pt...@gmail.com>.
On Wed, Sep 1, 2010 at 9:20 PM, Ben Tilford <be...@gmail.com> wrote:
> It depends how much time you want to take to learn the language. With Groovy
> you don't have to know anything but Java to start with and can learn more
> about the language as needed or interested. Scala is nothing like Java or
> any other language.
>
> The issues Groovy had with inner classes almost all been fixed since the
> Stack Overflow posting so as long as your using 1.7.x you should be good
> there.

I actually used 1.7.0 the moment it was released because until then
inner classes in Groovy were not supported at all.  You can look at
the code / pom.xml and see for yourself.  I didn't bother trying any
later versions though.

- Peter

>
> Whats better is going to come down to what your  comfortable with, willing
> to learn, and if squeezing a couple milliseconds of performance matters or
> not.
>
> On Wed, Sep 1, 2010 at 11:38 AM, James Carman <ja...@carmanconsulting.com>wrote:
>
>> On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas <pt...@gmail.com> wrote:
>> >
>> > Done as an experiment a long time ago though, in a big hurry.
>> > Personally, I didn't like the combination of Groovy + Wicket, for
>> > reasons mentioned in the "Scala + Wicket" StackOverflow link below.
>> > Others may have different opinions though.
>> >
>>
>> So, you would recommend using Scala as opposed to Groovy, then?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by James Carman <ja...@carmanconsulting.com>.
On Wed, Sep 1, 2010 at 11:50 AM, Ben Tilford <be...@gmail.com> wrote:
> Whats better is going to come down to what your  comfortable with, willing
> to learn, and if squeezing a couple milliseconds of performance matters or
> not.

That's one of the key points I think folks need to think about when it
comes to considering Groovy for something like this.  It has had a bad
reputation for being slow (so did Java back in the day).  Scala is
pretty fast from what I understand.  Although Scala, as you pointed
out, has a higher learning curve.  It does seem to be a more
"cerebral" programming language.  When I read the Scala book, I was
left scratching my head on some of the topics.  I've been studying new
programming languages a lot lately and Scala is definitely one of the
ones I like, but I can see where it would be difficult to grasp for
the less-experienced folks.  Some of the others seem a bit more
intuitive.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by Ben Tilford <be...@gmail.com>.
It depends how much time you want to take to learn the language. With Groovy
you don't have to know anything but Java to start with and can learn more
about the language as needed or interested. Scala is nothing like Java or
any other language.

The issues Groovy had with inner classes almost all been fixed since the
Stack Overflow posting so as long as your using 1.7.x you should be good
there.

Whats better is going to come down to what your  comfortable with, willing
to learn, and if squeezing a couple milliseconds of performance matters or
not.

On Wed, Sep 1, 2010 at 11:38 AM, James Carman <ja...@carmanconsulting.com>wrote:

> On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas <pt...@gmail.com> wrote:
> >
> > Done as an experiment a long time ago though, in a big hurry.
> > Personally, I didn't like the combination of Groovy + Wicket, for
> > reasons mentioned in the "Scala + Wicket" StackOverflow link below.
> > Others may have different opinions though.
> >
>
> So, you would recommend using Scala as opposed to Groovy, then?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Scripting language

Posted by Peter Thomas <pt...@gmail.com>.
On Wed, Sep 1, 2010 at 9:08 PM, James Carman <ja...@carmanconsulting.com> wrote:
> On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas <pt...@gmail.com> wrote:
>>
>> Done as an experiment a long time ago though, in a big hurry.
>> Personally, I didn't like the combination of Groovy + Wicket, for
>> reasons mentioned in the "Scala + Wicket" StackOverflow link below.
>> Others may have different opinions though.
>>
>
> So, you would recommend using Scala as opposed to Groovy, then?

Yes.

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by James Carman <ja...@carmanconsulting.com>.
On Wed, Sep 1, 2010 at 11:34 AM, Peter Thomas <pt...@gmail.com> wrote:
>
> Done as an experiment a long time ago though, in a big hurry.
> Personally, I didn't like the combination of Groovy + Wicket, for
> reasons mentioned in the "Scala + Wicket" StackOverflow link below.
> Others may have different opinions though.
>

So, you would recommend using Scala as opposed to Groovy, then?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by Peter Thomas <pt...@gmail.com>.
On Wed, Sep 1, 2010 at 8:31 PM, James Carman <ja...@carmanconsulting.com> wrote:
> You might want to try Scala/Wicket.  Do some googling for Scala AND Wicket.
>

Also, there is a Groovy + Wicket version of the "hotel booking" demo
app here (SVN):

http://perfbench.googlecode.com/svn/trunk/perfbench/grocket-jpa/

Done as an experiment a long time ago though, in a big hurry.
Personally, I didn't like the combination of Groovy + Wicket, for
reasons mentioned in the "Scala + Wicket" StackOverflow link below.
Others may have different opinions though.

http://stackoverflow.com/questions/2104724/your-experience-with-scalawicket

- Peter.

> On Wed, Sep 1, 2010 at 7:10 AM, james yong <i_...@yahoo.com.sg> wrote:
>>
>> Hi all,
>>
>> Can anyone recommends a scripting language that can be used with Wicket for
>> productivity?
>>
>> Regards,
>> James
>> --
>> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Scripting language

Posted by James Carman <ja...@carmanconsulting.com>.
You might want to try Scala/Wicket.  Do some googling for Scala AND Wicket.


On Wed, Sep 1, 2010 at 7:10 AM, james yong <i_...@yahoo.com.sg> wrote:
>
> Hi all,
>
> Can anyone recommends a scripting language that can be used with Wicket for
> productivity?
>
> Regards,
> James
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Scripting-language-tp2402957p2402957.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org