I'd like to use react to build a relatively freestanding, single-page front-end interface that communicates with web2py for dbio and heavier processing. But I'm having a hard time wrapping my mind around how to approach integrating them. I realize that I'm running into some gaps in my knowledge that may make me ask some foolish questions here. So please bear with me...
I notice the project here: https://groups.google.com/forum/?nomobile=true#!searchin/web2py/react|sort:date/web2py/OrWvYqU2yOw/lDHd9bfpBAAJ. But it seems like in that proof-of-concept web2py is doing a lot of work to present the html/js for the react components. I'd like to do something simpler (?) where the index.html and all of the client-side js are just served as static resources. Web2py would only get involved when the static js makes an ajax call (using fetch). Does that sound do-able? Are there gotchas that make that approach impractical? I've been developing small free-standing react apps using the npm dev and build tools. But am I right that if I integrate with web2py I have to abandon those tools and use a custom webpack setup to do things like building the production-ready versions of the js files? Thanks for your help. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.