No problem... and yes Crux is an IOC approach, it is a close approximation
of Swiz, that works in Javascript (with a few tweaks, like emulation of
stage events, for example)
I think Cairngorm 3 is more a set of additional tools and libraries, some
that work with various other IOC libraries (I assume Cairngorm 3 was a
recognition of the growing popularity of those other options at the time it
was developed). That set of options includes Swiz, which is what Crux is
based on, but also Parsley and others. However I expect that other things
in the Cairngorm 3 code will continue to work with the original Cairngorm 2
that you are using. See [1] below ... I would assume that any of the
'libraries' that don't say 'requires' probably would still work with the
original Cairngorm 2.
So, as Alex said, I think the only thing to check is whether you are using
any of Cairngorm 3 (those libraries). I did not see evidence of that in
your minimized example.


1.https://sourceforge.net/adobe/cairngorm/wiki/CairngormLibraries/#Libraries




On Thu, Oct 31, 2019 at 1:37 PM Takeshita Shoichiro <[email protected]>
wrote:

> Greg, thanks a lot.  The URL is very helpful. At a glance, the new thing
> for Cairngorm 3 is an introduction of Inversion of Control. And your Crux’s
> recommendation is the use of injection.  Right?  So, Crux is more
> equivalent to Cairngorm 3. That’s my impression.
>
> As to the new Dropbox, the download at the customer’s office is
> prohibited.  I will do the work at home tonight.
>
> 2019年10月31日(木) 8:41 Greg Dove <[email protected]>:
>
>>
>> Just another quick update, Takeshita. Please re-download the same zip
>> from dropbox, which has been updated
>>
>> ' Using Visual Studio Code with ActionScript & MXML and Chrome Debugger
>> extension is desirable.'
>> I am not a frequent user of VSCode (although I do think it's great!). I
>> updated the zip file in dropbox with something that works for me using
>> VSCode. Hopefully it works for you too. It probably will not represent
>> 'best practice' for using VSCode, but others may be able to advise for that.
>> I expect you need to check this:
>> "settings": {
>> "as3mxml.sdk.framework": "c:\\development\\asf\\royale-asjs"
>> }
>> inside 'cairngorm-port-example.code-workspace' to be whatever makes sense
>> on your system.
>>
>> 'Mock service helper in the Crux library'
>> I added a mock response in the LoginServiceDelegate - I am not sure what
>> the various fields should be returning, so there are some random values in
>> those, but I expect you can substitute those with more realistic contents.
>>
>>
>>
>>
>> On Thu, Oct 31, 2019 at 11:39 AM Greg Dove <[email protected]> wrote:
>>
>>>
>>> I was just investigating this also. The main MVC setup does not change,
>>> and version 3 is more about enhancing general approaches: 'The original
>>> Cairngorm library remains a part of Cairngorm 3, but has not been updated
>>> for this release.' [1]
>>>
>>> I only saw the original Cairngorm 2 approach in your (minimal) code so
>>> far, Takeshita.
>>>
>>> 1. Here is a good description for version 3 Cairngorm:
>>> https://sourceforge.net/adobe/cairngorm/wiki/GettingStartedWithCairngorm/
>>>
>>> On Thu, Oct 31, 2019 at 11:12 AM Takeshita Shoichiro <[email protected]>
>>> wrote:
>>>
>>>> Alex, I think version 2 by looking at the source. Version 3 seems to
>>>> have a different application architecture, which is not our case.  If I can
>>>> find the different information from the build materials, I will inform.
>>>>
>>>> 2019年10月31日(木) 1:01 Alex Harui <[email protected]>:
>>>>
>>>>> Hi T-San,
>>>>>
>>>>>
>>>>>
>>>>> Just to make sure:  What version of Cairngorm did you use in your app?
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> -Alex
>>>>>
>>>>>
>>>>>
>>>>> *From: *Takeshita Shoichiro <[email protected]>
>>>>> *Reply-To: *"[email protected]" <[email protected]>
>>>>> *Date: *Wednesday, October 30, 2019 at 5:02 AM
>>>>> *To: *"[email protected]" <[email protected]>
>>>>> *Subject: *Re: Cairngorm to Crux
>>>>>
>>>>>
>>>>>
>>>>> Greg, thanks a lot for your great work.  It seems it's very possible
>>>>> to migrate from Cairngorm to Crux.  I will check the changes you made in
>>>>> details tomorrow at the office.
>>>>>
>>>>>
>>>>>
>>>>> I have your favors for the following matters.
>>>>>
>>>>>
>>>>>
>>>>> *- Mock service helper in the Crux library*
>>>>>
>>>>> I'm interested in this.  Would you provide the information?
>>>>>
>>>>> *- I used maven locally to build that, as a local variation inside the
>>>>> royale crux examples.*
>>>>>
>>>>> Could you provide your maven build procedure for this application?  I
>>>>> do not know how to build an application with product-like architecture 
>>>>> (the
>>>>> one I sent to you).  I'd like to build my application and see the result
>>>>> quickly.  Using Visual Studio Code with ActionScript & MXML and Chrome
>>>>> Debugger extension is desirable.  However, if it takes time, Maven is fine
>>>>> but I want to build one application.
>>>>>
>>>>>
>>>>>
>>>>> Appreciate your help.
>>>>>
>>>>>
>>>>>
>>>>> S. Takeshita
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 30, 2019 at 3:52 PM Greg Dove <[email protected]> wrote:
>>>>>
>>>>>
>>>>> @aharui
>>>>>
>>>>> Actually it looks like I already based the 'QuickStart' examples in
>>>>> crux-examples on that, so maybe I did already 'test' the 
>>>>> serviceHelper/Mock
>>>>> services stuff. I had forgotten these details. I need to attribute those 2
>>>>> specific examples with that Swiz source. I will add that tomorrow.
>>>>>
>>>>>
>>>>>
>>>>> For the Cairrngorm stuff I believe Cairngorm 3 became more generic and
>>>>> provided various enhancements to the other newer architectural frameworks
>>>>> (Swiz, Robotlegs, Parsley etc) instead of being an evolution of the
>>>>> original Cairngorm, but I might be wrong about that. The app I ported was
>>>>> using Cairngorm 2 which was the 'original' I think (I don't know about any
>>>>> Cairngorm 1, but presumably there was a Cairngorm 1 before 2) . I'll take 
>>>>> a
>>>>> look at those version 3 examples as well, but in terms of 'porting' I 
>>>>> think
>>>>> the main use will probably be Cairngorm 2 -> Crux. It still might be 
>>>>> viable
>>>>> to port the Cairngorm 2 code itself to Royale, I think I only saw 
>>>>> something
>>>>> that would need to be resolved with the view processing part,  but I don't
>>>>> know about the Adobe licence for that (it is permissive, but I don't know
>>>>> offhand whether it is compatible for Apache).
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 30, 2019 at 7:11 PM Alex Harui <[email protected]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From: *Greg Dove <[email protected]>
>>>>> *Reply-To: *"[email protected]" <[email protected]>
>>>>> *Date: *Tuesday, October 29, 2019 at 10:22 PM
>>>>> *To: *"[email protected]" <[email protected]>
>>>>> *Subject: *Re: Cairngorm to Crux
>>>>>
>>>>>
>>>>>
>>>>> Snip…
>>>>>
>>>>> I will try to make another example (maybe the github viewer again) in
>>>>> royale examples using MXRoyale instead of Jewel/Basic in the coming days.
>>>>>
>>>>> regards,
>>>>>
>>>>> Greg
>>>>>
>>>>>
>>>>>
>>>>> It would be interesting to find out how many changes to this example
>>>>> are needed to get it to run in Royale
>>>>>
>>>>>
>>>>> https://swizframework.jira.com/wiki/spaces/SWIZ/pages/1999155/Quick+Start
>>>>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fswizframework.jira.com%2Fwiki%2Fspaces%2FSWIZ%2Fpages%2F1999155%2FQuick%2BStart&data=02%7C01%7Caharui%40adobe.com%7C16584df9b54f4aec3c6b08d75d310608%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637080337450723727&sdata=F7LuD8HU62Oj5F7FcWO4TrLsBMUnWEhS7mL2VOrhpH4%3D&reserved=0>
>>>>>
>>>>>
>>>>>
>>>>> Same for some of the Cairngorm examples:
>>>>>
>>>>>
>>>>> https://sourceforge.net/adobe/cairngorm/code/HEAD/tree/cairngorm3/trunk/samples/
>>>>> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fadobe%2Fcairngorm%2Fcode%2FHEAD%2Ftree%2Fcairngorm3%2Ftrunk%2Fsamples%2F&data=02%7C01%7Caharui%40adobe.com%7C16584df9b54f4aec3c6b08d75d310608%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637080337450723727&sdata=%2Fi0YFVVCiT1Cq1ioD0Q4KH4Jf08p3f2iaDS9BBQMqCg%3D&reserved=0>
>>>>>
>>>>>
>>>>>
>>>>> Just an idea…
>>>>>
>>>>> -Alex
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Shoichiro Takeshita
>>>>> 武下 祥一郎
>>>>>
>>>> --
>>>> Shoichiro Takeshita
>>>> 武下 祥一郎
>>>>
>>> --
> Shoichiro Takeshita
> 武下 祥一郎
>

Reply via email to