On Dec 14, 8:04 pm, Mark Ramm [EMAIL PROTECTED] wrote:
And, of course you will be able to use Mako for projects that need it.
Perhaps I missed this point. If this is the case, there would be no
strong performance arguments against using TG. Still some
performance arguments, just no strong
Em Friday 14 December 2007 22:20:13 zunzun escreveu:
On Dec 14, 11:28 am, Mark Ramm [EMAIL PROTECTED] wrote:
...let people who have crazy performance optimization
needs help us out by adding Mako templates to components as the need
arises.
I imagine going to my boss and saying, Yes it
On Dec 15, 7:07 am, Jorge Godoy [EMAIL PROTECTED] wrote:
And I imagine: Sure boss! I will just swap the default for this other
specialist option (see how the raise you gave me paid itself?) to get 10x
more performance!.
Hey, that sounds really easy - just swap the default. Almost no work
On Sat, 2007-15-12 at 15:00 +, Alberto Valverde wrote:
Mark Ramm wrote:
Oh, I think I know what's happening here. This is something I didn't
think about when we created our own turbogears baseapp, and took
pylons out of the picture, I think redirect_to is trying to use routes
to do
Hey folks, I realize I'm being a big pest here and I appreciate the
indulgences. The scoop is that I need to establish whether porting my
base framework to TG2 is realistic for three upcoming projects that will
take up most of my time for the next six months, so I'd really like to
avoid porting
I would love another beta tester on dbsprockets.
http://code.google.com/p/dbsprockets/
Happy to help you get it up and running.
-chris
On Dec 15, 12:15 pm, iain duncan [EMAIL PROTECTED] wrote:
Hey folks, I realize I'm being a big pest here and I appreciate the
indulgences. The scoop is that
I am trying to simplify the way you create sprockets, because it seems
a little complicated. I need some expert help with metaclasses. A
little background.
SessionConfig is where you get the data from the database given the
input that comes in from the controller. You have to call the
getValue
iain duncan wrote:
I got toscawidgets working in the python shell ( as in I could call and
render a widget ) and in the pylons simple toscawidget example, where
the widget gets attached to that handy 'c' object. Couldn't figure out
what to do in TG2 though. Doing the regular tg way gives me
percious wrote:
In the old days of TG1 I wrote a function that was called by the
@validate decorator, and then I would go into the Cherrypy request and
pull out the information that I needed to send the appropriate form
for validation. This worked great.
Well, I am not sure how to do the
percious wrote:
I am trying to simplify the way you create sprockets, because it seems
a little complicated. I need some expert help with metaclasses. A
little background.
SessionConfig is where you get the data from the database given the
input that comes in from the controller. You have
Here's what I figure I have to get in there to port my work so far:
- SA 0.4 with assign_mapper equivalent syntax ( Foo.query.get_by() )
You'll need to use the DBSession.mapper (which is a contextual mapper)
for this (just in case you haven't figured that out already)
To be a bit more
Mark Ramm wrote:
- validation and error handling, both with decorator and within a method
in the case of unknown form length
We have a validation decorator, but Alberto has suggested changing it,
and I agree with that his plan is probably the best way to do this.
Rick Copland has also
Wow, alberto, you are going above and beyond on this one.
I'm going to take your advice and keep it the way it is.
I changed my viewconfig so that the field settings get passed along,
but I am going to keep
getValue in sessionConfig requiring a super(). That seems ok to me.
maybe I should
On Sat, 2007-15-12 at 14:48 -0800, percious wrote:
In the old days of TG1 I wrote a function that was called by the
@validate decorator, and then I would go into the Cherrypy request and
pull out the information that I needed to send the appropriate form
for validation. This worked great.
On Sat, 2007-15-12 at 23:37 +, Alberto Valverde wrote:
percious wrote:
In the old days of TG1 I wrote a function that was called by the
@validate decorator, and then I would go into the Cherrypy request and
pull out the information that I needed to send the appropriate form
for
On Sat, 2007-15-12 at 23:28 +, Alberto Valverde wrote:
iain duncan wrote:
I got toscawidgets working in the python shell ( as in I could call and
render a widget ) and in the pylons simple toscawidget example, where
the widget gets attached to that handy 'c' object. Couldn't figure out
Ok, thanks to everyone's keen help, I got some stuff going. Here is the
controller. I don't know ( yet! ) how to:
- log
- validate the form
- redirect on error or save
- simulate flash
Any comments would be awesome.
from app1.lib.base import BaseController
from tg import expose, validate
I think what I am going to do is implement the hacky functional
version of this and get more information about StackedObjectProxy and
implement that later. That way I can see something on the screen post-
haste and get people using this thing a bit. How hard do you think it
will be to retrofit
18 matches
Mail list logo