On Sunday, November 15, 2015 at 9:37:34 AM UTC-5, Ramos wrote:
>
> This is the login form where i see bootstrap all over the place.
>

I think there is some confusion. Just to be clear, Bootstrap is *not* the 
default formstyle used by web2py -- the default formstyle is the generic 
"table3cols" style. Bootstrap is used only in the web2py scaffolding app, 
which is completely optional. The reason you see Bootstrap form styles in 
the scaffolding app is because of this single line in db.py:

response.formstyle = myconf.take('forms.formstyle')

The forms.formstyle setting defined in the /private/appconfig.ini settings 
file is set to "bootstrap3_inline". If you edit appconfig.ini or remove the 
line above, you're back to the "table3cols" default.

If i want to use semantic instead i not only have to change layout but also 
> have to look for all of the forms. and remove css classes.
>

As noted above, no need for this. Of course, you may need to define your 
own formstyle to work with Semantic-UI, but that will be true for any 
front-end framework with idiosyncratic forms markup requirements.
  

> I think web2py is very above average in an overall review but this issue 
> cracks my head completely. why ? and why not completely agnostic ?
>

Hopefully it is now clear that the core framework *is *front-end agnostic 
and not tied to Bootstrap. The front-end scaffold is based on Bootstrap, 
but you can simply replace the layout.html and switch to whatever you want.

in this aspect i think weppy is in a more clever path.
>

weppy (like most other frameworks) provides no front-end scaffolding app at 
all, so even if you simply remove web2py's front-end scaffold and start 
from scratch, you are no worse off than you would be with weppy (where you 
have to start from scratch whether or not you want to use Bootstrap).

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to