Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #265 (closed defect: wontfix)

Opened 14 years ago

Last modified 12 years ago

Comment on docs/wiki20/page4.html

Reported by: guillaume@… Owned by: anonymous
Priority: normal Milestone:
Component: Documentation Version:
Severity: normal Keywords:


(sorry for my english, it seem to be more easy to learn TG than english :)

I'm reading that tutorial with lot's of interest because i have the feeling that web develoment will never be the same. (I come from php...)

But can you explain me, why, WHY did you use a trick that look very bad for new pages in that tutorial ? Why using a hidden file NEW when it will be more easy to do something such as


page = Page.byPagename(pagename) page.data = data

except SQL...:

page = Page(pagename=pagename, data=data)

For sure, it take one SQL request more, but:

1) less html, less crazy hidden files. My philosophie is, if you have to hide something to the user, then this havn't to apear in the HTML. It seam that TG can share data between two request (TGflash use that, no), so why you don't use the same trick for hidden file. 2) less problem.

Imagine that someone create the page during the time that take the other users to create his page ?

This is not a big problem for a tutorial but why make unclean stuff when you can make it clean ?


Change History

comment:1 Changed 14 years ago by SuperJared <jared.kuolt@…>

  • Status changed from new to closed
  • Resolution set to wontfix

I like your idea as well, but it's really not much of a big deal. These tutorials are not necessarily to show how to do something, but that it's very easy to do it in TurboGears.

Note: See TracTickets for help on using tickets.