« Return to Thread: n00b help

Re: n00b help

by oso che bol :: Rate this Message:

Reply to Author | View in Thread

Hi Nick,

Much thanks.

Best Regards,
-LN

On Fri, Jul 17, 2009 at 3:10 PM, Nick Joyce <nick@...> wrote:
Hi,

If you run server.py that will create an AMF gateway that you can connect to with a compatible client (Flash, PyAMF client etc.).

client.py is an example on how to use the PyAMF client to communicate with the server.

You can run both from the shell:

jason: nick$ python server.py
Started Echo Test - WSGI server on http://localhost:8000

And in another:

jason: nick$ python client.py
Hello World
jason: nick$

Hope that all makes sense ..

Nick

On 17 Jul 2009, at 08:53, oso che bol wrote:

Hi,

I am new to pyamf.

I see in the python code there is client.py and server.py, so could you please explain me more clear about that?

I guess we just use server.py and client.py is just similar to flex client site, is that right?

Thanks,
-LN

On Sun, Jul 5, 2009 at 9:33 PM, Jesse Warden <jesse.warden@...> wrote:
Just answered my own question, yes, I can test login's locally.


On Sun, Jul 5, 2009 at 10:08 AM, Jesse Warden <jesse.warden@...> wrote:
Thanks y'all!  After Nick's explanation, I got my view's wired up.  I re-read (for the 6th time) the Django tutorial on URL's py and I think I get it now.  That + pointing it to a specific method via services object that DjangoGateway uses to know what call goes where.  Wrapping my head around a URL pointing to a class' public variable was... weird at first.

Joel, your example makes sense; the pyamf.register__class doesn't have a line break next to import User in your blog in Safari and Firefox, so it didn't compile, but I figured it out eventually, thanks!  Still reading your authentication stuff... I'm assuming I can actually test cookies locally and just use Safari's delete cookies to try again?


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users


_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users



_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

 « Return to Thread: n00b help