[web2py] Re: this must be asked a 1000 times, but I couldn't find the answer

2010-08-04 Thread mdipierro
This is a good point. to do it with the current web2py the code at best would look like this: Stef Mientki View profile Translate to Translated (View Original) More options Aug 4, 3:39 am From: Stef Mientki stef.mien...@gmail.com Date: Wed, 04 Aug 2010 10:39:48 +0200 Local: Wed, Aug

Re: [web2py] Re: this must be asked a 1000 times, but I couldn't find the answer

2010-08-04 Thread Phyo Arkar
Current way is good enough , it gives programmers choices. Many of us want to code in HTML as Long as they are static . May be pure python templating system which can be enable from response.view On Wed, Aug 4, 2010 at 3:40 PM, mdipierro mdipie...@cs.depaul.edu wrote: This is a good point. to

[web2py] Re: this must be asked a 1000 times, but I couldn't find the answer

2010-08-04 Thread Michael Ellis
As my application's views have become more complex, I've also been considering the same questions concerning Python vs HTML coding. I've tried using the helpers but my brain finds the stacks of parentheses even more confusing than HTML closing tags. Currently, I'm defining functions in my views

Re: [web2py] Re: this must be asked a 1000 times, but I couldn't find the answer

2010-08-04 Thread Stef Mientki
Interesting approach ! Should be a good intermediate step, ... ... what I was thinking of (don't know yet if it's possible at all ;-) ... is a wysiwyg html editor combined with a syntax highlighter (for the embedded Python code) here is a first attempt, I'm making for totally other project,

[web2py] Re: this must be asked a 1000 times, but I couldn't find the answer

2010-08-04 Thread Andy Pardue
Everyone at some point has this thought. But there is a big down side to generating all the html in code, it makes the application hard to skin. I can skin a web2py application in half and hour not including cleaning up the menus with any template I come across. I do like generate the html I am