Re: [FlexJS] Injection library

2017-02-13 Thread Carlos Rovira
Hi Alex, while I understand your proposal I will prefer to have not only that mechanism but as well falcon to know more about metadata and evolve to make more things. Having best of both worlds looks more "flex"-ible to me :) 2017-02-13 17:43 GMT+01:00 Alex Harui : > > > On 2/13/17, 2:56 AM, "car

Re: [FlexJS] Injection library

2017-02-13 Thread Alex Harui
On 2/13/17, 2:56 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >DI frameworks has many more things. For example If I configure a model >bean >of type ProductModel and give it an id of "productModel", in each class I >declare a >var productModel:ProductModel, the fr

Re: [FlexJS] Injection library

2017-02-13 Thread Carlos Rovira
Hi Alex, DI frameworks has many more things. For example If I configure a model bean of type ProductModel and give it an id of "productModel", in each class I declare a var productModel:ProductModel, the framework will inject it. With bead/strands we would need to make that in all declarations. A

Re: [FlexJS] Injection library

2017-02-10 Thread Alex Harui
On 2/10/17, 4:22 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I check PureMVC many years ago, and liked it so much. But For me Swiz (or >Parsely) has sometihing I can't pass without... Dependency Injection. For >me annotations or metadata is a must, not only in this kind of

Re: [FlexJS] Injection library

2017-02-10 Thread OK
>If you want injection and PureMVC maybe you should check fabrication [1] This probably also need some refactoring to remove the mx/flash depenencies... Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Injection-library-tp59177p59217.html Sent

Re: [FlexJS] Injection library

2017-02-10 Thread piotrz
Carlos, If you want injection and PureMVC maybe you should check fabrication [1] [1] https://github.com/rafalszemraj/fabrication Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Injection-librar

Re: [FlexJS] Injection library

2017-02-10 Thread Carlos Rovira
I check PureMVC many years ago, and liked it so much. But For me Swiz (or Parsely) has sometihing I can't pass without... Dependency Injection. For me annotations or metadata is a must, not only in this kind of micro architectures, but a must in other type of code. For example validation with annot

Re: [FlexJS] Injection library

2017-02-10 Thread Dev LFM
I like Swiz too.. all the others need more code to get things started, but I believe it's really tight to flex, if other mvc frameworks are easier to port, I think you should go for the fastest way.. 2017-02-10 8:57 GMT+00:00 OK : > Hi , > I don't want to start a framework discussion here but I'm

Re: [FlexJS] Injection library

2017-02-10 Thread OK
Hi , I don't want to start a framework discussion here but I'm loving PureMVC and would like to describe my point of view: I'm using PureMVC for years and these days it turns out that is more powerful than ever for me. I remember a lot of discussions regarding AS3 framework benchmarks and their p

Re: [FlexJS] Injection library

2017-02-09 Thread Josh Tynjala
I ported Robotlegs to Starling a while back, and that conversion wasn't too complicated. That might be another good candidate for FlexJS. - Josh On Thu, Feb 9, 2017 at 4:01 PM, Alex Harui wrote: > > > On 2/9/17, 3:45 PM, "piotrz" wrote: > > >Carlos, > > > >I was using Swiz, Parsley and PureMVC

Re: [FlexJS] Injection library

2017-02-09 Thread Alex Harui
On 2/9/17, 3:45 PM, "piotrz" wrote: >Carlos, > >I was using Swiz, Parsley and PureMVC. If I would choose some integration >with FlexJS it would be definately PureMVC, cause It has pure AS3 >implementation. If I would build some old Fashion Flex app - >mobile/desktop >- my pick up would be Parsl

Re: [FlexJS] Injection library

2017-02-09 Thread piotrz
Carlos, I was using Swiz, Parsley and PureMVC. If I would choose some integration with FlexJS it would be definately PureMVC, cause It has pure AS3 implementation. If I would build some old Fashion Flex app - mobile/desktop - my pick up would be Parsley. But I looking forward to the results of y

Re: [FlexJS] Injection library

2017-02-09 Thread Harbs
We used PureMVC which worked as-is with no modifications at all. I think PureMVC is much simpler than Swiz though. > On Feb 10, 2017, at 1:20 AM, Alex Harui wrote: > > Hi Carlos, > > Are you sure you don't just want to try to port Swiz? I think > Harbs/Yishay and maybe others got some other f

Re: [FlexJS] Injection library

2017-02-09 Thread Alex Harui
Hi Carlos, Are you sure you don't just want to try to port Swiz? I think Harbs/Yishay and maybe others got some other framework to port over. If you port, you know the untouched code paths are operational. If you start over you have to prove every line of code. And if you do port Swiz, that wi

Re: [FlexJS] Injection library

2017-02-09 Thread Carlos Rovira
Thanks Alex, I'll try to make things simple and bypass class domain stuff. If at the end I need it I'll check that. My approximation is get the most simple engine working and then make progress from there. Thanks! 2017-02-09 21:14 GMT+01:00 Alex Harui : > > > On 2/9/17, 11:07 AM, "carlos.rov..

Re: [FlexJS] Injection library

2017-02-09 Thread Carlos Rovira
Hi Piotr, I always thought Swiz was more easy, simple, confortable and also very powerful :) 2017-02-09 20:12 GMT+01:00 piotrz : > Carlos, > > Out of curious you did choose Swiz as an example cause you know this > framework ? Why not Parsley which seems to be more popular back in the day. > > Pi

Re: [FlexJS] Injection library

2017-02-09 Thread Alex Harui
On 2/9/17, 11:07 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >HI Alex, > >Swiz use ApplicaionDomain extensively. If we don't have yet and doesn't >have sense in FlexJS world I can try to remove it. What is it using ApplicationDomains for? IOW, if it is just as the wrapper

Re: [FlexJS] Injection library

2017-02-09 Thread piotrz
Carlos, Out of curious you did choose Swiz as an example cause you know this framework ? Why not Parsley which seems to be more popular back in the day. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.co

Re: [FlexJS] Injection library

2017-02-09 Thread Carlos Rovira
HI Alex, Swiz use ApplicaionDomain extensively. If we don't have yet and doesn't have sense in FlexJS world I can try to remove it. At last this wouldn't be Swiz at all, but new code that is based in the Swiz principles. I think we could even rename it to other name. I was thinking on "Struct", "

Re: [FlexJS] Injection library

2017-02-09 Thread Alex Harui
On 2/9/17, 1:11 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >I'm trying to craft an Injection library for FlexJS based on Flex 4 Swiz >Framework. > >So in order to do this, I would need some support. First is to know more >about "ApplicationDomain" in FlexJS > >does w