On Tue, 2010-11-09 at 16:50 +0800, 橡树 wrote: > Dear Mr. Evan Prodromou, > > Thanks for your patient answers. > > According to your sentence "You can register your own actions if you > have other pages you want to show", I have a question. Does each > action correspond to a single page? Thanks! > > Regards, > Blue
Hi, Blue. I've redirected your request back to the mailing list so everyone can benefit from the answers. Yes, almost always a single action corresponds to a single kind of page. So the email settings page, public timeline, and login pages are all actions. Sometimes an action does a whole class of pages; for example every user profile page is a showstream action. Some actions don't come out as an HTML page. For example, each API method (like statuses/friends_timeline) is also its own action. RSS streams are their own actions. There are some actions that just handle a POST request and redirect to another page. And there are some that only redirect, ever -- like userbyid or groupbyid. By and large, though, "action == page" is probably an OK first approximation. -Evan -- Evan Prodromou, CEO, StatusNet Inc. 1124 rue Marie-Anne Est #32, Montreal, QC, Canada H2J 2B7 E: e...@status.net T: 438-380-4801 x101 W: http://evan.status.net/ _______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev