you're the one choosing an app without models :P there's nothing on modules that is available globally on views if not a model. That being said, the model-less approach was done in a time where the thing that hurted performances was table definitions, that later got the possibility to be lazy-defined (hence the relatively small adoption of the model-less approach). You can still have a model that defines functions that you need globally, and it's the perfect place for them to be.
On Sunday, November 30, 2014 12:42:21 PM UTC+1, Ruud Schroen wrote: > > Hi there, > > I'm building a webapp with the model less app approach by Bruno Rocha and > I stumble upon a problem. > Usually when you use models you can define function which can later be > used inside a view. > > How would I do this with a model less approach? > -- 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.