Ameya, This is exactly how we have been developing web-based UIs in the PGA, however, I’ve found that while jQuery is easy to use for writing UIs, it isn’t very maintainable. I would recommend that you use React or Vue for the UI.
Also, depending on the timeframe, it would be good to implement the REST layer in Django. I’ve started some working on this already [1] so you can build on that. Thanks, Marcus [1] https://github.com/machristie/django-airavata-gateway On Mar 25, 2017, at 3:11 PM, Ameya Advankar <[email protected]<mailto:[email protected]>> wrote: Hello dev, Based on this Discussion<https://lists.apache.org/thread.html/89eb681abea8f23e60149126747194f5e6ed88a624ebc42d353307b4@%3Cdev.airavata.apache.org%3E> initiated by Eldho, there is a requirement for a Web-based UI for Group Management which could be integrated into the PGA (web portal). I and Eldho had a discussion on this topic and below is the high level Architecture of what we propose to implement - <GroupArch.png> * PHP The sharing registry is exposed as a Thrift service and we would be using the PHP layer to make these endpoints available as-is over REST to be consumed by the UI. * jQuery We would be using jQuery based UI to make calls to the REST interface exposed in the PHP layer. At the moment, we have decided to keep the UI separate from the PHP layer, and these will only interact over REST calls, to make it easy to plug the UI into other non-PHP Web Portals later. Ameya Advankar Masters in Computer Science, Indiana University Bloomington
