Re: Reactjs for Plone UI Toolbar
plone-developers <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
ReactJS is about componentizing the html in blocks in a virtual dom and firing events when the state of this components changes. That means IMO that the components of this virtual dom should be designed in a way that at least some customization is possible. On the other side ReactJS increases the complexity for thoses components that not only change state in the client/browser but that need to reload their state (and also their properties) from the server via ajax calls. Here is where the implementation of heavy (server side) interactive blocks should be evaluated. ----- AFAIK we are using Backbone on Mockup for the routing logic on structure so maybe at the end we could define ReactJS for heavy interactive html blocks (that doesn't need customization) and underscore/backbone for the normal MVC. R 2014-05-29 15:25 GMT+02:00 plone-developers <[email protected] <mailto:[email protected]> >: Some clarifying concepts: AngularJS, BackboneJS and EmberJS belong to the class of MVC frameworks. ReactJS is kind of V (the View) in MVC. Nothing prevents you to use ReactJS in combination with one of the existing frameworks (AngularJS, BackboneJS and EmberJS). You're encouraged though to combine both! Use ReactJS only for those parts where it makes sense and let one of the MVC frameworks do their work. ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. <http://www.restlet.com/download> http://p.sf.net/sfu/restlet _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org <mailto:Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> https://lists.sourceforge.net/lists/listinfo/plone-developers -- Ramon a.k.a bloodbare ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers