@David.
Yes. I did.
I ve been using GXT for a couple of years now. Even wrote some extensions.

But for the type of application I m working now Ext JS is the  framework
 customers chooses.
So it was either do it in pure JS or write a wrapper. I choosed the second.

Hopefully other people will find this useful.

You can see a preview here by the way : http://eemi2010.github.io/ext4j

The first release should come out soon.


2013/12/11 David Hoffer <[email protected]>

> Okay sounds like you've thought about the GXT option/issues.
>
>
> On Wed, Dec 11, 2013 at 12:02 PM, Alain Ekambi <[email protected]>wrote:
>
>> @David
>>
>> Good question. I actually get this question all the time.
>>
>> Ext4j is for people that want to (or are already using) use Ext JS in
>> their project.
>> Below are a coupe of reasons why I decided to write a wrapper instead of
>> using GXT.
>> Which by the way  is a great tool but dont quit meet the requirements of
>> my customers.
>>
>>
>> 1) Licensing.
>> Most of my customers already have an Ext JS license and are not willing
>> to pay for another product.
>> Since Ext4j wil be Apache nothing will change for existing Ext JS c users.
>>
>> 2) Develeopement Pace
>> Ext JS is always a step ahead of GXT when it comes to features,
>> components, themes etc..
>>
>> 3) Community.
>> The Ext JS  community seems a bit more active than the GXT one. There for
>> example way more extensions for Ext JS than GXT. One could argue that it s
>> easy to create those in GXT but no one does.
>>
>> 4) Look and feel
>> This is a bit subjective but I found that Ext looks a bit better than GXT
>>
>> 5) Code Reuse.
>> People I work  for most of the time also want a mobile client next to
>> their  desktop client. Ext4j will play more nicely with some  mobile
>> wrappers I wrote. I could nt get GXT to work with  my existing tools.
>>
>>
>> So if you want to build on Top of Ext JS and add structure programming
>> and the powerful Java ecosystem Ext4j could help.
>>
>> Otherwise simply go with GXT.
>>
>>
>> 2013/12/11 Alain Ekambi <[email protected]>
>>
>>> Unlike C++ JavaScript is a dynamic language.
>>> I m just not sure it s possible  for such a tool to generate descent
>>> wrapper for JS code.
>>>
>>> For example take the following JS code
>>>
>>> function doSomething(o){
>>>
>>> }
>>>
>>> How would a tool what the type of o is. Object ? Number ? String ?
>>>
>>> Commenting the code could be a solution (Like Closure does).
>>> But  not all JS libraries have descent comment informations.
>>>
>>> That s why I m saying I m not sure  how such a tool  would work for
>>> every given JS library.
>>> But I might be wrong though.
>>>
>>>
>>> 2013/12/11 David Hoffer <[email protected]>
>>>
>>>> Alain,
>>>>
>>>> Your in the process of writing a wrapper so you might know if there are
>>>> technical hurdles that would prevent this...but I think it would be
>>>> possible.  The folks at SWIG manage to auto generate wrapper code starting
>>>> with incredibly complex C++ code and manage to generate perfectly fine Java
>>>> wrapper code (as well as about a dozen other languages)...so it seems that
>>>> it would be possible.
>>>>
>>>> -Dave
>>>>
>>>>
>>>> On Wed, Dec 11, 2013 at 11:40 AM, Alain Ekambi 
>>>> <[email protected]>wrote:
>>>>
>>>>> Would be nice. I m just not sure if that can work for every JS library
>>>>> out there.
>>>>> I heard that GWT 3 will have a better interop with JS libraries.
>>>>> Just not sure how that will work.
>>>>>
>>>>>
>>>>> 2013/12/11 Juan Pablo Gardella <[email protected]>
>>>>>
>>>>>> It is more easy if we have a tool that writes the wrapper for us, but
>>>>>> for now I suppose this tool does not exist, but will be very useful.
>>>>>>
>>>>>>
>>>>>> 2013/12/11 Alain Ekambi <[email protected]>
>>>>>>
>>>>>>> What about writing a wrapper ?
>>>>>>> I m not sure it s even possible to "auto wrap"  everything exisiting
>>>>>>>  js library.
>>>>>>> I m writing a wrapper for Ext JS and  there are some "places"   that
>>>>>>> I m not sure they can be auto generated.
>>>>>>>
>>>>>>>
>>>>>>> 2013/12/11 Juan Pablo Gardella <[email protected]>
>>>>>>>
>>>>>>>> I like a tool for that. If some tool exists, GWT will be very
>>>>>>>> attractive because currently a big problem is that is not very easy 
>>>>>>>> reuse
>>>>>>>> javascript libs.
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/12/11 dhoffer <[email protected]>
>>>>>>>>
>>>>>>>>> Are there any tools out there that can auto generate the GWT
>>>>>>>>> wrapper code for native JavaScript code?  I'm looking for a way to 
>>>>>>>>> automate
>>>>>>>>> using JavaScript in GWT applications, sometimes it's best to start 
>>>>>>>>> with an
>>>>>>>>> existing JavaScript client library and wrap for use in GWT.  I have 
>>>>>>>>> in mind
>>>>>>>>> the CometD JS client library for instance.  Ideally I'd like to 
>>>>>>>>> integrate
>>>>>>>>> this with the maven build.  What I'm looking for is exactly like SWIG 
>>>>>>>>> for
>>>>>>>>> generating wrapper code from existing C/C++ code.
>>>>>>>>>
>>>>>>>>> -Dave
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit.
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit.
>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Google Web Toolkit" 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/google-web-toolkit
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "Google Web Toolkit" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/google-web-toolkit/GkvZUIs2knY/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, 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/google-web-toolkit.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" 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/google-web-toolkit.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google Web Toolkit" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-web-toolkit/GkvZUIs2knY/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" 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/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to