IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New So say it already
Which templating systems in Python are "the few that are not"? I am one of those newbies who have "hard time discerning".
--

This guy's ahead of his time! He's using quantum programming methods: in universes where invalid data is passed to this function, it does not return. Thus you are ensured that you will only have valid data after calling it. Optimally you'd destroy the universe on failure, but computers haven't quite advanced to that level yet.

-- [link|http://thedailywtf.com/archive/2004/10/26/2920.aspx|The] Daily WTF

New I can't think of any that do *everything* you want
The idea is simple enough:

===================
| |
| Logo |
| Company Name |
| Person Name |
| Address |
| Phone |
| FAX |
===================

Company name may be a link in some cases. URL and logo file name come from DB.

Repeat the above for all record in query result...


At this point pick whichever you like. Cheetah is probably best, given your simple page requirements. But there's no built-in database layer--you'll have to write that glue yourself using DBAPI or an odbc package.

...placing 15 record per page, generating links to next page, previous page, first, last.


I can't think of any that will do this part for you. So you'd have to write *some* code. Which leads us back to "might as well do it yourself". Soooo many projects like yours start with a templating engine, then hit the limitations of it, and roll their own anyway.
New *Sigh*
Then again, I get to code Python. Nothing to sigh about :)
--

It is illegitimate and utterly intolerant to impose such a view upon anyone, even upon yourselves.
-- [link|http://belmontclub.blogspot.com/|The Belmont Club]

     Static HTML from database - (Arkadiy) - (19)
         Or VB. - (mmoffitt)
         Prebuilt template system just for you - (FuManChu) - (15)
             Come on. - (Arkadiy) - (14)
                 XSLT? - (altmann) - (3)
                     UGH! He's better off with plain ol C code. - (tuberculosis) - (2)
                         Sorry - (altmann)
                         XSL isn't bad for simple, quick and dirty formatting - (admin)
                 How complex do you want to get? - (admin) - (9)
                     So, what would be a good one for Python? - (Arkadiy) - (8)
                         Sounds like a job for Perl's HTML::Template - (Yendor) - (1)
                             There are a ton of good Perl template modules - (ben_tilly)
                         That's the reason many people would choose Python - (FuManChu) - (5)
                             That's going a bit far... - (admin) - (4)
                                 Meh. I'll meet that halfway - (FuManChu) - (3)
                                     So say it already - (Arkadiy) - (2)
                                         I can't think of any that do *everything* you want - (FuManChu) - (1)
                                             *Sigh* - (Arkadiy)
         Me? :-) - (static) - (1)
             Can't rely on anything in th esrever beyond static pages. -NT - (Arkadiy)

Her English wasn't so good...
63 ms