Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Re: Some comments on XWT

Hi Angelo,

I don't know what you mean "Declarative Business Object" exactly, and the
relationship between "Declarative Business Object" and scripting
languages. But for the JavaScript support, for sure XWT should support it.
Here is a bug I created to keep it on track:
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=266772

We appreciate If someone can contribute on this task.

yves
> Hi,
>
>>Agree, this seems the most practical approach.  But you know Angelo has a
> lot of energy so he'll probably just write us a new >CSS3 SAC parser this
> weekend :)
>
> It's nice Kevin to think that about me:) Indead with CSS3 we can manage
> namespace like this :
>
> To disting org.eclipse.swt.widgets.Label and my.Label, you can write :
>
>
> @namespace swt "org.eclipse.swt.widgets";
> @namespace my "my";
>
>
> swt|Label {
>    color;red;
> }
>
>
> my|Label {
>    color;red;
> }
>
>
> I would like speak too about "Declarative Business Object". Today with XWT
> we have :
>
> * Declarative UI
> * Declarative Binding
>
> But I think it shoudl be cool to have "Declarative Business Object", on
> other words declare with script (Javascript or another), several scripting
> object and bind it to UI. I had done that into
> Akrogen<http://akrogen.sourceforge.net/>and your Eclipse wizard is
> totaly declaratif.
>
> <http://akrogen.sourceforge.net/>Ex we could write with XWT :
>
> <script>
>    function Person(name) {
>       this.name = name;
>    }
>    var p = new Person();
>    p.name = 'XXX';
> </script>
> <Text value={Binding source=p path=name} />
>
> What do you yhink about that? Yves do you think it's possible to extend
> XWT
> to add this feature if you like the idea?
>
> If you don't like the idea, you can stop read the mail. To manage this
> case,
> we must have Scripting binding. I have start to implement JFace
> Databinding
> with Rhino (Javascript). If you are interested, I could tell you more. For
> the moment I think put my work into UFacekit.
>
> Regards Angelo
>
>
>
>
>
> 2009/3/3 Kevin McGuire <Kevin_McGuire@xxxxxxxxxx>
>
>>
>> > Thanks for clarifying this, Kevin. I didn't realize that there are
>> more
>> > than one declarative UI technologies being explored - my fault, I
>> missed
>> > the discussion on the mailing list, so I'm sorry for the noise.
>>
>> No noise at all Ralf.  First of all, I think it's very difficult for
>> everyone to track everything going on in e4.  Second, I thought that



Back to the top