it's faster and reads config files automatically. and you don't need to 
redefine a storage at every request.

On Friday, April 3, 2015 at 1:43:50 PM UTC+2, 黄祥 wrote:
>
> hi,
>
> i notice that the new 2.10.3 have an AppConfig what is the difference with 
> Storage? 
> At the earlier i usually use Storage 
> e.g.
> from gluon.storage import Storage
> settings = Storage()
> settings.email_server = 'logging' or 'smtp.gmail.com:587'
>
> yet right now in the new version it change into AppConfig
> e.g.
> [smtp]
> server = smtp.gmail.com:587
>
> thanks and best regards,
> stifan
>

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