Hi Hugo,

Thanks, I must have missed that information in the past. I will take a look
at your github project next weekend. And the powerpoint presentation will
be interesting for many, I am sure.

Best of luck with the launch on the Office Store!

Cheers,
Greg




On Mon, Nov 8, 2021 at 9:39 AM Hugo Ferreira <hferreira...@gmail.com> wrote:

> Hi Greg,
>
> Yes, there seems to be a specific issue with the Add-In environment (I
> debuged very deeply) and it seems that the Royale it's not responsible for
> this issue (that was resolved for standard web applications).
> Anyway, yes, this reduction, fixed the problem anyway and it's always a
> performance improvement.
>
> I already shared the Add-In wrapper as open source on github as it's not
> the project him-self and the community can use my Add-In as future
> reference.
> As soon as I finish it (maybe in a week or two), I will publish it on the
> Microsoft Office Store, so anyone can see it in action. It's for my users
> and there is a test account.
>
> I will also create a presentation in PowerPoint, that I can also share it
> too.
>
>
> Greg Dove <greg.d...@gmail.com> escreveu no dia domingo, 7/11/2021 à(s)
> 20:29:
>
> > Hi  Hugo,
> >
> > Pleased to hear it helped.
> > For the Add-in issue, I don't know what that was, but making the change
> for
> > the remote service to send less data (avoid the unnecessary fields) seems
> > like it would be a natural improvement to your application anyway, even
> if
> > it was in a 'swf' implementation. One of the main benefits for AMF is the
> > compact data format that can reduce network traffic (although using json
> > with gzip compression is probably pretty good now too, but json does not
> > natively have the strong typing support). So, it seems like always a good
> > idea not to send unnecessary bytes if that can be avoided.
> >
> > Your use of Royale for this Office Add-In project seems non-typical (i.e.
> > it is not a standard 'web-application') and interesting to me. I am sure
> > that if you were able to share information about  the nature of your
> > project, and the benefits of using Royale to achieve what you needed to
> do,
> > it would also be interesting to the community at large. Perhaps you can
> > give that some thought... and let us know if you want to do that, and
> > whether you need any help if you do.
> >
> > Cheers,
> > Greg
> >
> >
> >
> > On Mon, Nov 8, 2021 at 6:24 AM Hugo Ferreira <hferreira...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > Just to let any one know.
> > > This new flag solved the problem on the "normal" browser.
> > > However the problem persists on Office Web Add-In for macOS (seems an
> > issue
> > > more deeply - problem in Add-In himself).
> > > I solved my problem with a specific remote service for this case (using
> > > only the properties that I need).
> > >
> > > Thank you all.
> > >
> > >
> > > Greg Dove <greg.d...@gmail.com> escreveu no dia segunda, 1/11/2021
> à(s)
> > > 12:53:
> > >
> > > > Yes, you can simply do that:
> > > >
> > > > AMFBinaryData.verboseLogging = false;
> > > >
> > > > Which is only an option for JS.
> > > >
> > > > How are you registering your class aliases? I assume you are coding
> > that
> > > > manually with registerClassAlias?
> > > >
> > > > If not, the ClassAliasBead (and AMFClassAliasBead) do that for you as
> > > > application-level beads for all classes marked with
> > [RemoteClass(alias='
> > > > my.alias.Name')] metadata, only those within the application
> > dependency
> > > > coverage.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Mon, 1 Nov 2021, 11:32 pm Hugo Ferreira, <hferreira...@gmail.com>
> > > > wrote:
> > > >
> > > > > How to access this ?
> > > > >
> > > > > AMFBinaryData.verboseLogging = false;
> > > > >
> > > > > Hugo Ferreira <hferreira...@gmail.com> escreveu no dia segunda,
> > > > 1/11/2021
> > > > > à(s) 10:28:
> > > > >
> > > > > > Hi Greg,
> > > > > >
> > > > > > Thank you.
> > > > > >
> > > > > > I'm not using js:AMFClassAliasBead
> > > > > >
> > > > > > I call the services by AS code, using SimpleRemoteObject:
> > > > > >
> > > > > > private var remoteObject:SimpleRemoteObject = null;
> > > > > > remoteObject = new SimpleRemoteObject();
> > > > > > remoteObject.send(service, arguments);
> > > > > >
> > > > > > Of course, I don't type this all the time. I have a helper class
> to
> > > do
> > > > > so.
> > > > > >
> > > > > > Greg Dove <greg.d...@gmail.com> escreveu no dia segunda,
> 1/11/2021
> > > > à(s)
> > > > > > 04:24:
> > > > > >
> > > > > >> With the latest code, you should be able to control it easily by
> > > > > swapping
> > > > > >> your class alias bead:
> > > > > >> <js:AMFClassAliasBead verboseLogging="false" />
> > > > > >>
> > > > > >> It is true by default (same as it was before), but only in debug
> > > > build.
> > > > > If
> > > > > >> you set it to false (like above) it should be quiet.
> > > > > >>
> > > > > >> Please let me know if you see any issues or anything to be
> > improved.
> > > > > >>
> > > > > >> Cheers,
> > > > > >> Greg
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> On Mon, Nov 1, 2021 at 11:24 AM Hugo Ferreira <
> > > hferreira...@gmail.com
> > > > >
> > > > > >> wrote:
> > > > > >>
> > > > > >> > Thank you very much.
> > > > > >> >
> > > > > >> > Greg Dove <greg.d...@gmail.com> escreveu no dia domingo,
> > > 31/10/2021
> > > > > >> à(s)
> > > > > >> > 07:12:
> > > > > >> >
> > > > > >> > > Hi Hugo,
> > > > > >> > >
> > > > > >> > > I did some work on this tonight.
> > > > > >> > > I realise it's not a substantial change, but plan to test it
> > > along
> > > > > >> with a
> > > > > >> > > couple of other changes, and push it to the asjs repo first
> > > thing
> > > > > >> > tomorrow
> > > > > >> > > before I start regular work (about 12 hours from the time of
> > > this
> > > > > >> email).
> > > > > >> > > Hope that will make things easier for you in the coming
> week.
> > > I'll
> > > > > >> reply
> > > > > >> > to
> > > > > >> > > this thread with more info after I add it.
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > On Sun, Oct 31, 2021 at 8:10 AM Hugo Ferreira <
> > > > > hferreira...@gmail.com
> > > > > >> >
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > > Hi Greg,
> > > > > >> > > >
> > > > > >> > > > Having a switch option is great for a specific project
> that
> > > the
> > > > > >> > developer
> > > > > >> > > > knows that will not consume all properties from the server
> > > (it's
> > > > > >> not a
> > > > > >> > > bug
> > > > > >> > > > on the project but a feature :D).
> > > > > >> > > >
> > > > > >> > > > In this case, what happens is that the case warning is
> > printed
> > > > > many
> > > > > >> > > times.
> > > > > >> > > > With 200 records and more than 200 properties we get and
> > > block.
> > > > > >> > > >
> > > > > >> > > > Thank you very much.
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Greg Dove <greg.d...@gmail.com> escreveu no dia sábado,
> > > > > 30/10/2021
> > > > > >> > à(s)
> > > > > >> > > > 19:39:
> > > > > >> > > >
> > > > > >> > > > > Ok Hugo, you already answered my question from the other
> > > > > thread, I
> > > > > >> > will
> > > > > >> > > > > look at this today and give you an option to switch that
> > > off.
> > > > > >> > > > >
> > > > > >> > > > > Thanks,
> > > > > >> > > > > Greg
> > > > > >> > > > >
> > > > > >> > > > > On Sun, 31 Oct 2021, 6:57 am Hugo Ferreira, <
> > > > > >> hferreira...@gmail.com>
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > > Hi,
> > > > > >> > > > > >
> > > > > >> > > > > > Today I mentioned about ignoring the warning:
> > > > ReferenceError:
> > > > > >> Error
> > > > > >> > > > > #1056:
> > > > > >> > > > > > Cannot create property
> > > > > >> > > > > >
> > > > > >> > > > > > While I'm building and testing my application, I'm
> > seeing
> > > > the
> > > > > >> > > > performance
> > > > > >> > > > > > slowing down, until I added a new dropdownlist and now
> > it
> > > > > takes
> > > > > >> > > about a
> > > > > >> > > > > > minute to only 200 records on the dropdownlist and the
> > > page
> > > > > >> > > > > > freezes completely.
> > > > > >> > > > > > I found that this is related to this warning because
> > this
> > > > > value
> > > > > >> > > object
> > > > > >> > > > > has
> > > > > >> > > > > > many properties that I'm intentionally ignoring and
> the
> > > > trace
> > > > > is
> > > > > >> > > slow.
> > > > > >> > > > > >
> > > > > >> > > > > > So, I commented out the line trace('ReferenceError:
> > Error
> > > > > #1056:
> > > > > >> > > Cannot
> > > > > >> > > > > > create property ' + prop + ' on ' +
> localTraits.qName);
> > at
> > > > > >> > > > AMFContext.as
> > > > > >> > > > > > and now the dropdown load the data instantly without
> any
> > > > > break.
> > > > > >> > > > > >
> > > > > >> > > > > > OK, this will only happen in debug mode, even so, it's
> > not
> > > > > >> viable
> > > > > >> > to
> > > > > >> > > > wait
> > > > > >> > > > > > about one minute everytime I test a new build.
> > > > > >> > > > > >
> > > > > >> > > > > > Would be nice to ignore this warning for this specific
> > > > project
> > > > > >> but
> > > > > >> > I
> > > > > >> > > > > don't
> > > > > >> > > > > > know what's the best practice to do this (meanwhile I
> > will
> > > > do
> > > > > a
> > > > > >> > > monkey
> > > > > >> > > > > > patch on my side to solve this issue without being
> > forced
> > > to
> > > > > >> > comment
> > > > > >> > > > the
> > > > > >> > > > > > line everytime I update Royale and build).
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to