Gentlefolk, I've searched your archive and I cannot find a discussion of how to build just a REST app server in Pylons.
A little background: I am an iOS developer and I specialize in developing apps that interface via REST to both my client's and public app servers. When pressed, I will also write a simple REST app server. For good reasons, which I support, my client prefers to write their app server in Python. My experience is with Ruby. They, nonetheless, still want me to write the app server in Python. Hence, my asking the below questions. I want a server to implement the following sample routes: https://api.example.com/1/routeA/route1.json https://api.example.com/1/routeB/route2.json https://api.example.com/1/routeB/route3.json I will potentially use all 4 REST verbs: GET, PUT, POST and DELETE. Due to the mobile nature of my apps, most interactions will use the idempotent methods GET and PUT. I only wish to have JSON responses -- no HTML, no text. If I was doing this in Ruby, I would start with a nice little framework called Sinatra. It is, in essence, just a routes server. If I need to, I can bring in a Rails subsystem, such as ActiveRecord. I want to have small stack on my Python based REST app server. I have looked at both django-piston and django-tastypie. While I haven't ruled them out, they are tied to Django. Hence, if I used them, I would likely have a pretty heavyweight app server. >From my initial skim of your feature description, you support a routes system. Because the Pylons community touts the modularity of Pylons, I was hoping that I could run a system with just Python and the Pylons routing engine. If I need access to a database model, I suspect I can always bring in SQLAlchemy. Hence, should Pylons be my development home? Does it really support a modular style where I eject most of the framework from my runtime? Or is it "yet another monolithic MVC framework"? In addition to the Pylons book, is there another book I should be reading to grok the Pythonic (Pylonic?) path? Has someone else implemented a thin REST app server in Pylons? Thank you in advance for any insight you may care to share, Andrew -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
