[web2py] Full-Text Search Functions

2016-10-11 Thread Marcelo Theodoro
I'm planning to use Full-Text Search Functions from Mysql[0]. I think DAL doesn't support it yet, right? What would be my options to use it integrated with the DAL? Just like the "contains" function, ex: db.product.name.contains('name of my product') Something like this: >>> query = db.product

Re: [web2py] web2py as a frontend for monitoring serial ports

2016-02-08 Thread Marcelo Theodoro
An web application will not have access to your serial port. Unless there's some kind of module/dll for that. I think the easiest way to do that is writing a script that you will run local in your machine and send the data to web2py through a post/get request. To send the data to an web application

Re: [web2py] Re: Good Practices - Custom Auth (default table) VS. Defining Own Auth Tables (for different user level)

2016-01-29 Thread Marcelo Theodoro
See [1]. I'm working on a project that needs seller/buyer logins, where the seller needs to input information about the store and the buyer must provide and address. But instead of be using the auth_user table to store that information, I'm using db.store and db.address, and then after the user(se

[web2py] Cart module for web2py.

2016-01-24 Thread Marcelo Theodoro
I've just started to work on a cart module for web2py. It's not higly tested and It's not in production yet. But I'll be working on this modules for the next days. Any kind of suggestion or help would be appreciated. https://github.com/Marcelo-Theodoro/web2py_cart -

[web2py] Re: Condicional Models

2016-01-05 Thread Marcelo Theodoro
Thanks folks. Maybe I will try the model-less approach in the future. But for now the response.models_to_run will work fine. :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/lis

[web2py] Condicional Models

2016-01-04 Thread Marcelo Theodoro
I'm working on a project that has a lot of table definitions. For reasons of better performance and design, I've decided to use Condicional models. The problem is: Each one of the controllers, needs more than one model, and each model is used by more than one of the controllers. Something like: