I'm intrigued by this discussion and where it'll end up.

I'm working on a app development team that hopes to become more of a component 
toolbox team. Consultants would take our components and build/customize an 
application. The consultants will not have strong development skills, so if we 
can reduce the number and complexity of files they touch, it'll make theirs and 
our lives simpler.

Barry

----- Original Message ----
From: Paul Johnston <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 31, 2008 6:24:51 PM
Subject: [TurboGears] Re: Formetto: widgets in the template, not in the 
controller



Nando,

>I 
have 
written 
up 
the 
above 
page 
about 
why 
I 
was 
unsatisfied 
with 
the
>interface 
of 
TG 
widgets 
(which 
puts 
widgets 
in 
our 
controllers 
instead
>of 
our 
template) 
and 
why 
I 
am 
making 
a 
new 
interface: 
Formetto.
>  
>
It's 
great 
to 
see 
a 
different 
approach 
to 
widgets.

There 
is 
definitely 
a 
need 
for 
some 
kind 
of 
reusable 
components, 
and 
a 
forms 
library. 
In 
the 
Python 
world, 
TG 
widgets 
were 
probably 
the 
first 
credible 
system 
for 
this 
(does 
anyone 
know 
anything 
earlier?) 
The 
dependence 
on 
the 
controller 
is 
a 
niggle, 
and 
I 
hope 
an 
approach 
like 
yours 
can 
be 
incorporated 
into 
ToscaWidgets. 
For 
most 
of 
my 
apps 
I 
will 
continue 
to 
define 
widgets 
in 
the 
controller, 
primarily 
generating 
them 
from 
the 
model 
(using 
fieldfactory). 
But 
if 
I 
find 
a 
form 
where 
I 
need 
particularly 
granular 
control 
of 
the 
HTML, 
this 
would 
be 
fab.

I've 
realised, 
widgets 
have 
to 
work 
extremely 
hard 
to 
include 
the 
js/css 
links, 
quite 
disproportional 
to 
the 
benefits 
of 
this. 
I 
wonder, 
is 
it 
enough 
to 
just 
include 
each 
link 
right 
next 
to 
the 
first 
widget 
that 
needs 
it? 
That 
could 
be 
implemented 
much 
more 
easily.

Paul








      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to