Re: Integrating a thrift javascript client sdk with angularjs

2014-03-20 Thread Shameera Rathnayaka
Hi Vijayendra, My idea is, first connect the gap what we have with our previous project using the suggested approach, which is write a angular service by wrapping the exiting JS client. But saying that, i also +1 for completely implement the angular service by wrapping Thrift JS client in one go.

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-20 Thread Subho Banerjee
Hi Shameera, I don't want to shoot down that idea outright. But I have severe reservations with that proposal (this was one of the main problems that Sanchit and I had in integrating the backend to the frontend). The problem with wrapping the Thrift client is that AngularJS' $promise framework is

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-20 Thread Supun Nakandala
Hi All, On Thu, Mar 20, 2014 at 1:22 AM, Suresh Marru sma...@apache.org wrote: Hi Supun, Sanchit, Vijayendra, As Mentores we should not dictate what projects you write proposals, but let me summarize all the projects and let you come to a consensus of who does what. * Re-architecting

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-19 Thread Suresh Marru
Hi Vijayendra, Are you planning to write a proposal? Suresh On Mar 19, 2014, at 12:21 PM, Vijayendra Grampurohit vijayendra@gmail.com wrote: Hi Suresh Can you tell us more about the division of the project into sub modules? It would be helpful in writing the proposal. Regards

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-19 Thread Supun Nakandala
Hi Vijayendra, On Wed, Mar 19, 2014 at 9:48 PM, Vijayendra Grampurohit vijayendra@gmail.com wrote: Hi All @Shameera : It would be better if we come up with new javascript client in AngularJS instead of wraping exiting javaScript client as angular service. We faced lot of issues last

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-19 Thread Vijayendra Grampurohit
Hi Suresh Yes. I and sanchit were thinking of writing the proposal. As the individual projects overlap and finally have to work together as a single unit, I think it would be appropriate to divide the work and project. Regards Vijayendra On Wed, Mar 19, 2014 at 10:34 PM, Suresh Marru

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-19 Thread Suresh Marru
Hi Supun, Sanchit, Vijayendra, As Mentores we should not dictate what projects you write proposals, but let me summarize all the projects and let you come to a consensus of who does what. * Re-architecting Airavata Data Management — Sachith is working on this proposal. * EC2 provider to be

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-18 Thread Suresh Marru
Hi Supun, Since there are no further comments on this thread, I would encourage you to start working on the GSoC proposal. Just start a proposal on google melegenge portal, make it publicly readable and share it on the dev list for comments. Suresh On Mar 17, 2014, at 3:24 PM, Suresh Marru

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-17 Thread Shameera Rathnayaka
Hi Supun, This is great, I too found this $scope.apply()[1] would solve our issue . And i was going to follow this[2] and come up with a sample demo but you already have done it :) (didn't check it, will do). For now we can wrap exiting javaScript client as angular service and use it inside the

Re: Integrating a thrift javascript client sdk with angularjs

2014-03-17 Thread Suresh Marru
Thanks Supun for taking the initiative. I echo Shameera that this seem to be a good working stop-gap strategy. But I am not knowledgable enough to judge on this topic and would like to listen critical feedback from others. Suresh On Mar 17, 2014, at 2:58 PM, Shameera Rathnayaka