On Thu, 2007-27-12 at 09:29 +0200, alex bodnaru wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > thanks iain, > > as i think of it more, my problem was to put in a widget, the entire > status of a controller, like forms in the case of a crud controller. > > that is inefficient indeed, hence i need an uri way to access this info, > thus to keep it in a server wide dictionary. > > then, i could access state and data at > tg.url(/model_crud/table_name/edit?id=999), or restless, > tg.url(/model_crud/edit?table=table_name&id=999). > > to implement that, i'd make a model_crud controller, that will load on > demand and keep tables in a dictionary, and allow accessing them like that. > > thanks again for your input,
Hey Alex, I highly recommend the O'Reilly book, Restful Web Services. It's really really well written and thorough. Reading through that and the TG docs on making restful apps may be very helpful. There is a good section in the CherryPy book on that stuff too. HTH Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

