You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sirona.apache.org by Olivier Lamy <ol...@apache.org> on 2014/10/14 02:13:34 UTC
UI rewrite with Angularjs
Hi Gents,
So I finished to rewrite the UI using angularjs.
I will try to work on a UI plugin mechanism with this framework now.
Feel free to fix any issue you will find
Cheers
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: UI rewrite with Angularjs
Posted by helio frota <00...@gmail.com>.
Hi Gents,
So I finished to rewrite the UI using angularjs.
I will try to work on a UI plugin mechanism with this framework now.
Feel free to fix any issue you will find
awesome !
On Wed, Oct 15, 2014 at 3:50 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> 2014-10-15 1:26 GMT+02:00 Olivier Lamy <ol...@apache.org>:
> > On 15 October 2014 09:52, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> >> well mvn sirona:run should be the same as tomee-embedded:run ;).
> >
> > Haha I prefer tomcat7:run :P
> >
>
> [friendly troll]
> but then you don't have jaxrs for free
> [/troll]
>
> >>
> >> a first simple version should be enough then we'll enhance depending
> the need
> >>
> >> if existing plugins are supported it is already not bad
> >
> > Uhm not sure.
> > Because we will need to generate some metadata for requirejs, angularjs.
> > I mean the new ui/plugin sirona need to record some new dependencies
> > for requirejs and new modules for angularjs.
> > My idea is on the start of sirona ui, those new datas will be added
> > automatically coming from rest call
> >
> >
>
> got it but it also means you need to isolate each plugins (ie load js
> lazily when needed and only for the plugin) cause they can need
> conflicting js. Until now it was handled by plugin and by page which
> was simple. That said it is not a blocker.
>
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2014-10-15 0:38 GMT+02:00 Olivier Lamy <ol...@apache.org>:
> >>> On 14 October 2014 17:59, Jean-Louis MONTEIRO <je...@gmail.com>
> wrote:
> >>>> Wow, how many kids to you have to work for you? lol
> >>>
> >>> Haha I have 4 but a bit young to coding. I start teaching vi to the
> >>> oldest but he doesn't like.
> >>> It looks cool kids do not use that anymore :-)
> >>>
> >>> Anyway I reckon I was a bit long to do that as it's really anymore my
> >>> $DAYJOB. But I will try to work on this plugin mechanism.
> >>>
> >>> @Romain I was thinking of generating some metadata from the plugin
> >>> code (mix of java REST services and js code) which will be loaded by
> >>> requirejs and angularjs on startup.
> >>> I imagine being able to have a maven packaging: sirona-plugin
> >>> And develop/run your plugin just using: mvn sirona:run
> >>>
> >>> But that's still in the dream state :-) I need a bit of time to do
> that.
> >>>
> >>>
> >>>>
> >>>> Thanks
> >>>> JLouis
> >>>>
> >>>> 2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> >>>>
> >>>>> Great !!!
> >>>>>
> >>>>> Thanks Olivier !
> >>>>>
> >>>>> Regards
> >>>>> JB
> >>>>>
> >>>>>
> >>>>> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
> >>>>>
> >>>>>> Hi Gents,
> >>>>>> So I finished to rewrite the UI using angularjs.
> >>>>>> I will try to work on a UI plugin mechanism with this framework now.
> >>>>>> Feel free to fix any issue you will find
> >>>>>>
> >>>>>> Cheers
> >>>>>>
> >>>>>>
> >>>>> --
> >>>>> Jean-Baptiste Onofré
> >>>>> jbonofre@apache.org
> >>>>> http://blog.nanthrax.net
> >>>>> Talend - http://www.talend.com
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Jean-Louis
> >>>
> >>>
> >>>
> >>> --
> >>> Olivier Lamy
> >>> http://twitter.com/olamy | http://linkedin.com/in/olamy
> >
> >
> >
> > --
> > Olivier Lamy
> > http://twitter.com/olamy | http://linkedin.com/in/olamy
>
Re: UI rewrite with Angularjs
Posted by Romain Manni-Bucau <rm...@gmail.com>.
2014-10-15 1:26 GMT+02:00 Olivier Lamy <ol...@apache.org>:
> On 15 October 2014 09:52, Romain Manni-Bucau <rm...@gmail.com> wrote:
>> well mvn sirona:run should be the same as tomee-embedded:run ;).
>
> Haha I prefer tomcat7:run :P
>
[friendly troll]
but then you don't have jaxrs for free
[/troll]
>>
>> a first simple version should be enough then we'll enhance depending the need
>>
>> if existing plugins are supported it is already not bad
>
> Uhm not sure.
> Because we will need to generate some metadata for requirejs, angularjs.
> I mean the new ui/plugin sirona need to record some new dependencies
> for requirejs and new modules for angularjs.
> My idea is on the start of sirona ui, those new datas will be added
> automatically coming from rest call
>
>
got it but it also means you need to isolate each plugins (ie load js
lazily when needed and only for the plugin) cause they can need
conflicting js. Until now it was handled by plugin and by page which
was simple. That said it is not a blocker.
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2014-10-15 0:38 GMT+02:00 Olivier Lamy <ol...@apache.org>:
>>> On 14 October 2014 17:59, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
>>>> Wow, how many kids to you have to work for you? lol
>>>
>>> Haha I have 4 but a bit young to coding. I start teaching vi to the
>>> oldest but he doesn't like.
>>> It looks cool kids do not use that anymore :-)
>>>
>>> Anyway I reckon I was a bit long to do that as it's really anymore my
>>> $DAYJOB. But I will try to work on this plugin mechanism.
>>>
>>> @Romain I was thinking of generating some metadata from the plugin
>>> code (mix of java REST services and js code) which will be loaded by
>>> requirejs and angularjs on startup.
>>> I imagine being able to have a maven packaging: sirona-plugin
>>> And develop/run your plugin just using: mvn sirona:run
>>>
>>> But that's still in the dream state :-) I need a bit of time to do that.
>>>
>>>
>>>>
>>>> Thanks
>>>> JLouis
>>>>
>>>> 2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>>>
>>>>> Great !!!
>>>>>
>>>>> Thanks Olivier !
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>>
>>>>> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
>>>>>
>>>>>> Hi Gents,
>>>>>> So I finished to rewrite the UI using angularjs.
>>>>>> I will try to work on a UI plugin mechanism with this framework now.
>>>>>> Feel free to fix any issue you will find
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jean-Louis
>>>
>>>
>>>
>>> --
>>> Olivier Lamy
>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: UI rewrite with Angularjs
Posted by Olivier Lamy <ol...@apache.org>.
On 15 October 2014 09:52, Romain Manni-Bucau <rm...@gmail.com> wrote:
> well mvn sirona:run should be the same as tomee-embedded:run ;).
Haha I prefer tomcat7:run :P
>
> a first simple version should be enough then we'll enhance depending the need
>
> if existing plugins are supported it is already not bad
Uhm not sure.
Because we will need to generate some metadata for requirejs, angularjs.
I mean the new ui/plugin sirona need to record some new dependencies
for requirejs and new modules for angularjs.
My idea is on the start of sirona ui, those new datas will be added
automatically coming from rest call
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-10-15 0:38 GMT+02:00 Olivier Lamy <ol...@apache.org>:
>> On 14 October 2014 17:59, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
>>> Wow, how many kids to you have to work for you? lol
>>
>> Haha I have 4 but a bit young to coding. I start teaching vi to the
>> oldest but he doesn't like.
>> It looks cool kids do not use that anymore :-)
>>
>> Anyway I reckon I was a bit long to do that as it's really anymore my
>> $DAYJOB. But I will try to work on this plugin mechanism.
>>
>> @Romain I was thinking of generating some metadata from the plugin
>> code (mix of java REST services and js code) which will be loaded by
>> requirejs and angularjs on startup.
>> I imagine being able to have a maven packaging: sirona-plugin
>> And develop/run your plugin just using: mvn sirona:run
>>
>> But that's still in the dream state :-) I need a bit of time to do that.
>>
>>
>>>
>>> Thanks
>>> JLouis
>>>
>>> 2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>>
>>>> Great !!!
>>>>
>>>> Thanks Olivier !
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>
>>>> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
>>>>
>>>>> Hi Gents,
>>>>> So I finished to rewrite the UI using angularjs.
>>>>> I will try to work on a UI plugin mechanism with this framework now.
>>>>> Feel free to fix any issue you will find
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>
>>>
>>>
>>> --
>>> Jean-Louis
>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: UI rewrite with Angularjs
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well mvn sirona:run should be the same as tomee-embedded:run ;).
a first simple version should be enough then we'll enhance depending the need
if existing plugins are supported it is already not bad
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2014-10-15 0:38 GMT+02:00 Olivier Lamy <ol...@apache.org>:
> On 14 October 2014 17:59, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
>> Wow, how many kids to you have to work for you? lol
>
> Haha I have 4 but a bit young to coding. I start teaching vi to the
> oldest but he doesn't like.
> It looks cool kids do not use that anymore :-)
>
> Anyway I reckon I was a bit long to do that as it's really anymore my
> $DAYJOB. But I will try to work on this plugin mechanism.
>
> @Romain I was thinking of generating some metadata from the plugin
> code (mix of java REST services and js code) which will be loaded by
> requirejs and angularjs on startup.
> I imagine being able to have a maven packaging: sirona-plugin
> And develop/run your plugin just using: mvn sirona:run
>
> But that's still in the dream state :-) I need a bit of time to do that.
>
>
>>
>> Thanks
>> JLouis
>>
>> 2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>
>>> Great !!!
>>>
>>> Thanks Olivier !
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
>>>
>>>> Hi Gents,
>>>> So I finished to rewrite the UI using angularjs.
>>>> I will try to work on a UI plugin mechanism with this framework now.
>>>> Feel free to fix any issue you will find
>>>>
>>>> Cheers
>>>>
>>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>
>>
>>
>> --
>> Jean-Louis
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: UI rewrite with Angularjs
Posted by Olivier Lamy <ol...@apache.org>.
On 14 October 2014 17:59, Jean-Louis MONTEIRO <je...@gmail.com> wrote:
> Wow, how many kids to you have to work for you? lol
Haha I have 4 but a bit young to coding. I start teaching vi to the
oldest but he doesn't like.
It looks cool kids do not use that anymore :-)
Anyway I reckon I was a bit long to do that as it's really anymore my
$DAYJOB. But I will try to work on this plugin mechanism.
@Romain I was thinking of generating some metadata from the plugin
code (mix of java REST services and js code) which will be loaded by
requirejs and angularjs on startup.
I imagine being able to have a maven packaging: sirona-plugin
And develop/run your plugin just using: mvn sirona:run
But that's still in the dream state :-) I need a bit of time to do that.
>
> Thanks
> JLouis
>
> 2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
>> Great !!!
>>
>> Thanks Olivier !
>>
>> Regards
>> JB
>>
>>
>> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
>>
>>> Hi Gents,
>>> So I finished to rewrite the UI using angularjs.
>>> I will try to work on a UI plugin mechanism with this framework now.
>>> Feel free to fix any issue you will find
>>>
>>> Cheers
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
> --
> Jean-Louis
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
Re: UI rewrite with Angularjs
Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Wow, how many kids to you have to work for you? lol
Thanks
JLouis
2014-10-13 23:43 GMT-07:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Great !!!
>
> Thanks Olivier !
>
> Regards
> JB
>
>
> On 10/14/2014 02:13 AM, Olivier Lamy wrote:
>
>> Hi Gents,
>> So I finished to rewrite the UI using angularjs.
>> I will try to work on a UI plugin mechanism with this framework now.
>> Feel free to fix any issue you will find
>>
>> Cheers
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Louis
Re: UI rewrite with Angularjs
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Great !!!
Thanks Olivier !
Regards
JB
On 10/14/2014 02:13 AM, Olivier Lamy wrote:
> Hi Gents,
> So I finished to rewrite the UI using angularjs.
> I will try to work on a UI plugin mechanism with this framework now.
> Feel free to fix any issue you will find
>
> Cheers
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: UI rewrite with Angularjs
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Awesome Olivier!
About the plugin I guess we can keep the idea to change of page by
plugin which would make it easier, wdyt?
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2014-10-14 2:13 GMT+02:00 Olivier Lamy <ol...@apache.org>:
> Hi Gents,
> So I finished to rewrite the UI using angularjs.
> I will try to work on a UI plugin mechanism with this framework now.
> Feel free to fix any issue you will find
>
> Cheers
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy