Right, no backend at all, is based on todomvc.com so our plan is submit to
that web, and they only use local storage.
Best
Carlos


El lun., 17 feb. 2020 a las 10:55, Takeshita Shoichiro (<[email protected]>)
escribió:

> Carlos, thanks for your explanation.  Understood.
>
> As to TodiMVC, it is front end and no back end server code is used. Is my
> understanding correct?
>
> 2020年2月17日(月) 18:45 Carlos Rovira <[email protected]>:
>
> > Hi Takeshita,
> >
> > AMFStorage is like the old Flash LSO (Local Shared Object, already
> emulated
> > in MXRoyale) that you use as a cookie, but LSO was better since it allows
> > much more size than a cookie and was encoded in AMF, what means you just
> > need to annotate the class with RemoteClass Metadata like we did with
> > TodoVO and you don't need to add methods to encode/decode the saved
> object
> > from/to the browser local storage, AMF does that for you (we left JSON
> > methods commented to showcase the extra code you need to add to each VO
> if
> > you use JSON instead of AMF. There's as well some obfuscation in what you
> > save since if you save in JSON format is more easy to access the stored
> > data. LSO/AMFStorage can be used for example to save the user app
> > preferences or login data for usability purposes.
> >
> > About Spring Framework, we had an App migrated from Flex that used Spring
> > with Hibernate and BlazeDS
> >
> >
> >
> > El dom., 16 feb. 2020 a las 23:46, Takeshita Shoichiro (<
> [email protected]
> > >)
> > escribió:
> >
> > > Carlos, great news!
> > >
> > > Could you explain a bit on what AMFStorage is?
> > >
> > > One question. Is there any accompanying server code using Spring?  I
> > think
> > > this is for presentation code?
> > >
> > > 2020年2月17日(月) 7:23 Carlos Rovira <[email protected]>:
> > >
> > > > Hi
> > > >
> > > > there was a RegisterClass metadata issue that was making AMFStorage
> not
> > > > work as expected in the Crux version (white rows was generated when
> > > loading
> > > > from local storage).
> > > >
> > > > With recent changes by Greg, now it's finished! :)
> > > >
> > > > As I said, this example is worth it since it showcase many things
> > worked
> > > > out the past months as Harb's Router and AMFStorage, Greg's Crux, and
> > > Jewel
> > > > theme customization with an MVC structured to keep it simple,
> organized
> > > and
> > > > separated. Other things like Injection of models or event handling
> with
> > > > metadata in controllers make it a must in big projects, where we want
> > > > models that should be easily accessible from any part of the app.
> > > >
> > > > Thanks to the rest of the team to make possible to reach this
> > milestone!
> > > :)
> > > >
> > > > Carlos
> > > >
> > > >
> > > > El vie., 14 feb. 2020 a las 13:14, Carlos Rovira (<
> > > [email protected]
> > > > >)
> > > > escribió:
> > > >
> > > > > Hi Takeshita,
> > > > >
> > > > > thanks, forgot to post the url [1]
> > > > >
> > > > > Notice that there's an issue with AMFStorage that is not saving
> > objects
> > > > as
> > > > > TodoVO, while is doing ok in Non-Crux example. I need to
> investigate
> > > why
> > > > is
> > > > > this happening.
> > > > > So when you reload the app the rows appears blank.
> > > > >
> > > > > The rest is working fine.
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> https://github.com/apache/royale-asjs/tree/develop/examples/crux/todomvc-jewel-crux
> > > > >
> > > > > El vie., 14 feb. 2020 a las 12:12, Takeshita Shoichiro (<
> > > > [email protected]>)
> > > > > escribió:
> > > > >
> > > > >> Carlos, where can I find this markup?
> > > > >>
> > > > >> 2020年2月13日(木) 4:29 Carlos Rovira <[email protected]>:
> > > > >>
> > > > >> > Hi,
> > > > >> >
> > > > >> > just let you know that I committed a new Crux version of the
> > TodoMVC
> > > > >> > example
> > > > >> >
> > > > >> > Is good to notice how the example is greatly simplified thanks
> to
> > > > Crux:
> > > > >> >
> > > > >> >    - Controller and Model are no more Beads but plain classes,
> and
> > > are
> > > > >> not
> > > > >> >    wired through CSS
> > > > >> >    - Controller now uses EventHandler metadata to annotate
> > functions
> > > > >> that
> > > > >> >    needs to do actions
> > > > >> >    - Setup in views are more easy and not need to pass model
> > > objects,
> > > > >> you
> > > > >> >    instead Inject the model in the view
> > > > >> >    - Is more easy to share and feed common models or any other
> > bean
> > > > >> through
> > > > >> >    the rest of the application
> > > > >> >    - Less code are required and is more clear to read and
> maintain
> > > > >> >
> > > > >> > This does not come without cost. This Crux versions adds weight,
> > > > around
> > > > >> > 150kb. But I think is worth it for projects, where will improve
> in
> > > > less
> > > > >> > user code and things more clean to read and maintain in general.
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > Carlos Rovira
> > > > >> > http://about.me/carlosrovira
> > > > >> >
> > > > >> --
> > > > >> Shoichiro Takeshita
> > > > >> 武下 祥一郎
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > Carlos Rovira
> > > > > http://about.me/carlosrovira
> > > > >
> > > > >
> > > >
> > > > --
> > > > Carlos Rovira
> > > > http://about.me/carlosrovira
> > > >
> > > --
> > > Shoichiro Takeshita
> > > 武下 祥一郎
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> --
> Shoichiro Takeshita
> 武下 祥一郎
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to