On Monday, June 20, 2016 at 6:05:17 PM UTC-7, Dominic Mayers wrote:
>
> The problem space is in terms of wrapper applications. The original 
> question is can we have a wrapper [without an http request] as we can in 
> PHP?   
>
> [...] 

> I have been talking about the value of the  concept of wrapper application 
> to pass the config file location, but it was not my intention at all to 
> discuss that. I just wanted to know if it is possible to do this in web2py 
> as we can in PHP [without an extra HTTP request].   I do not complain. I 
> appreciate very much what we discuss and I am sure we will find a way to 
> wrap an application in web2py without an extra HTTP request. It just did 
> not happen, because we did not focus on this and instead tried to argue 
> that it is not interesting.  
>
>
Perhaps my imagination is too small, but I'm failing to see a value in a 
general concept of a wrapper.  I can see some value for the particular 
problem that opened the discussion, but I'm missing a more general value.  
I admit to thinking "tool in search of a problem", a design strategy I've 
been guilty in the past.

Also, you keep mentioning PHP's "include".  I would answer with Python's 
"import".

And finally, I would deprecate my suggestion in favor of a file in the 
models directory or in favor the the routes.py changes, both suggestions 
that Anthony offered.

I apologize for missing the point, and look forward to greater 
understanding.

/dps



-- 
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