On Saturday, June 18, 2016 at 8:47:42 AM UTC-4, Dominic Mayers wrote:
>
> I am just starting to learn web2py and I want to better understand the 
> issue.  Is the issue simply that Bootstrap 3 is not backward compatible 
> with v2.x and therefore we cannot use Bootstrap3 with the templates in 
> web2py that have been created with Bootstrap 2 ?
>

Yes, though this is not really an issue because even if you want a custom 
Bootstrap 2 theme, you still cannot simply use the existing front-end 
scaffolding app without making significant modifications. The front-end 
scaffolding application is just intended as a quick and easy starting 
point. If you want a custom layout, you need to implement that, and 
implementing a custom layout is equally easy/difficult regardless of which 
CSS framework you are using.
 

>   The issue seems to be bigger than that because we would need to modify 
> "all parts of web2py that are tightly bound  to bootstrap", but what does 
> this mean?
>

You should read back through this thread, as that statement has been 
debunked. No parts of web2py are tightly bound to Bootstrap, as web2py 
itself predates Bootstrap. The front-end scaffolding application is based 
on Bootstrap 2, and web2py forms and the grid include some convenience 
formatting options for Bootstrap 2 and 3, but you can use all of these 
elements without Bootstrap at all, as they always had been used prior to 
Bootstrap's existence.
 

>   Of course, we expect a coupling between the view and the remainder of 
> the code. The code has to provide data as expected in the view. There is no 
> way this can be avoided, even in a loosely coupled framework. So, is this 
> the only issue? I would like to know if there was a fundamental flaw in the 
> design of web2py?
>

Keep in mind that most server-side web frameworks don't provide a front-end 
scaffolding application nor built-in formatting options for any CSS 
frameworks. web2py happens to provide a bit more than other frameworks in 
this regard. Some of what it provides happens to be based on Bootstrap, but 
you can simply ignore all of that and use whatever CSS framework you want 
-- and at that point, you are no worse off than you would be with one of 
the many other server-side frameworks.

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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to