What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated May 08, 2008 by majo44
Labels: Featured
LeaveYourFeedbackHere  

What do you think about PGR ?

Do you test it ?

Have you got any suggestions ?

Do you find some bug ?

Please leave your feedback here as comment.


Comment by geveinc, May 10, 2008

Awesome, I have a big GWT project that I'm integrating with AppEngine?. This code should serve as a great starting point.

I haven't tried it yet, but once I start using it I will provide some feedback.

Comment by pokstad, Jun 06, 2008

I'm surprised Google hasn't started an official project to make this a reality. Have you guys been contacted by Google?

Comment by derek.liang.ca, Jun 19, 2008

Great work.

I just added server side exception support. (see the issue tab)

Everything seems to be working as expected.

It is a great solution for GWT and GAE integration.

Comment by mitchbritton, Jul 08, 2008

Hi. I've been trying this out with some success. Any ideas when full support for exceptions will be ready. The comment on the issues tab suggests that derek liang's patch won't do custom exceptions. I'm willing to help.

Comment by nevin.freeman, Jul 08, 2008

Thanks for putting this out there; the ability to make GWT RPCs to AppEngine? apps is really going to help a lot of people out. I'm trying to implement an example of my own in order to solidify my understanding of how this works, and I am a little confused; is the ExampleServiceImpl? class in the example ever actually used? The serverside python methods are completely separate from GWT's serverside Java, right?

Comment by majo44, Jul 09, 2008

Hello nevin.freeman, the ExampleServiceImpl? is only for testing in GWT Shell without -noserver option. Remember that the GWT allow to start with it own server and if you add <servlet path="/services" class="package.and.class"/> to gwt.xml, then GWT serve implementation of service on /service url. But in runtime, on AppEngine? there is only python code on server side.

Comment by nevin.freeman, Jul 09, 2008

Thanks, that makes sense. Is it necessary to have the testing implementation in order for the GWT compiler to produce the signatureMap = ... info? I've added the servlet path declaration to my module.gwt.xml and am still not able to find the signature info in my compiled JS files. I see the methodMap = ... line, but no signatureMap.

Comment by daniel.wilkerson, Jul 11, 2008

Please explain why you made it GPL? Do you really want to prevent people from using it to write commercial applications?

Also, the GPL doesn't really make much sense for a web app. The GPL only requires that a derived work, such as code that links with GPLed code also be GPLed if that code is released. If I keep my server side code on my server and never release it, then the GPL "viral" quality is irrelevant, even though other people can use the app.

However, if part of your library/framework is client side, which a cursory glance suggests that it is, then I have to release all of my client side source if someone using my app in their browser is legally considered to be "releasing" it; if not, then again the GPL is irrelevant.

I am not a lawyer, but the GPL wasn't really designed for web services and choosing a less confusing license, such as BSD or public domain, would sure make things simpler and probably doesn't make any difference to you.

Comment by majo44, Jul 14, 2008

Hello daniel.wilkerson,

I was not think to long about license, I select first one witch I have in mind :). Maybe You have right, I have to read and think about this. It is my first non commercial project, so I probably made mistake. Thank you for your voice.

Comment by ampieb, Jul 17, 2008

I used PGR from a gadget in a demo and it worked beautifully. Great work, thanks! If our demo turns into a fully fledged project, would it be advisable using PGR in a production environment? Couldn't find anything wrong but the fact that it is version 0.3.1 tends to make managers nervous.

I would also like to know how far the Python generator is and how you were planning to do this. If you had some ideas around Eclipse I may be able to help.

Comment by majo44, Jul 21, 2008

The 1.0 version will be release when generator will be finished, and all knows bugs and requirements will be realized.

"Generator is mostly done. We have to integrate it into PGR but I will be able to complete it only in few weeks." - Michael

Comment by maoyang.chien, Aug 03, 2008

if I used this library , Did my Web app which build on GAE need to opensource ?

Comment by majo44, Aug 04, 2008

Hello maoyang.chien

If You only use this library, Web app which build on GAE do not need to be opensource. But if you will create new library/framework based on PGR and You will want to publish them then your library need to be opensource.

Comment by khansensf, Aug 12, 2008

I've been looking to pass datastore objects directly back to GWT without writing routines to explicitly convert them to DTO objects.

I found this possible, at least on the dev_appserver, as long as I precede the keys in the serialization dict with an underscore.

I've just started working with this and thought I'd raise the concept.

class TestDto(db.Model):
    tileStr = db.StringProperty(required = True)
    tileIndex = db.IntegerProperty(required = True)
    tileCount = db.IntegerProperty(required = True)
    
    __serialization__ = {
       "_tileIndex": core.Types.INT,
       "_tileCount": core.Types.INT,
       "_tileStr": core.Types.STRING,
    }

Comment by yfaihe, Sep 04 (2 days ago)

What are the benefits of using this approach vs. JSON.

Thank you.


Sign in to add a comment