Yeah,
Your example has a bug in it. I get:
"
<type 'exceptions.NameError'> name 'auth' is not defined
Traceback (most recent call last):
File "/Users/xxx/web2py/gluon/restricted.py", line 212, in restricted
exec ccode in environment
File "/Users/xxx/web2py/applications/benchmark/controllers/default.py"
<http://localhost:8000/admin/default/edit/benchmark/controllers/default.py>,
line 60, in <module>
@auth.requires_signature()
NameError: name 'auth' is not defined
"
I think that Seth ran into same troubles when he tried your code.
Best,
Oj
On Tuesday, February 5, 2013 12:40:23 AM UTC+2, Massimo Di Pierro wrote:
>
> I did not find it myself the first time I looked. ;-)
>
> Notice I used sqlite api and not DAL to comare with bottle and flask where
> the examples also use the sqlite api instead of SQLA.
>
> On Monday, 4 February 2013 15:04:07 UTC-6, OJ wrote:
>>
>> Hey Thanks Massimo!
>>
>> I didn't notice that one, sorry! I have to be careful, I know. I'll try
>> to rule out (or measure) all possible moving parts. I fell in love with DAL
>> therefore I took web2py to my agenda to do in 2013 in the first place. All
>> "other" features has stunned me ever since I've moved to other parts of
>> web2py :)
>>
>> On Monday, February 4, 2013 10:52:33 PM UTC+2, Massimo Di Pierro wrote:
>>>
>>> This was my previous comment:
>>>
>>>
>>> https://github.com/seedifferently/the-great-web-framework-shootout/issues/14
>>>
>>> Notice that some of the frameworks are using native sqlite api and some
>>> are using ORMs. A comparison is difficult.
>>>
>>> On Monday, 4 February 2013 13:26:14 UTC-6, OJ wrote:
>>>>
>>>> I would gladly accept if anyone else could provide me web2py
>>>> application with same spesifications as this shootout had. I would do it
>>>> myself but it is unfair for web2py (I'm just getting to know it) if I
>>>> would
>>>> do it and test it with other frameworks :)
>>>>
>>>> On Sunday, February 3, 2013 12:08:50 AM UTC+2, OJ wrote:
>>>>>
>>>>> Could you send it to me? Or did you mean that you don't have it
>>>>> anymore :)
>>>>>
>>>>> I tried to contact the author about it, but haven't heard from him.
>>>>>
>>>>> On Saturday, February 2, 2013 10:40:36 PM UTC+2, Massimo Di Pierro
>>>>> wrote:
>>>>>>
>>>>>> I do not recall. I do not see it there which is strange.
>>>>>>
>>>>>> On Saturday, 2 February 2013 05:24:05 UTC-6, OJ wrote:
>>>>>>>
>>>>>>> Massimo, where can I find your patch? I understood that you
>>>>>>> submitted web2py -patch for the shootout. I'm currently interested to
>>>>>>> see
>>>>>>> how hw aspect would have effect to results and I need web2py to be part
>>>>>>> of
>>>>>>> it.
>>>>>>>
>>>>>>> On Monday, February 20, 2012 3:51:36 PM UTC+2, Massimo Di Pierro
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I did submit a patch. I also submitted a comment on reddit. Those
>>>>>>>> benchmarks are misleading. For example in Django they use the ORM
>>>>>>>> but
>>>>>>>> in Flask they use native sqlite, not SQLAlchemy. In Django I think
>>>>>>>> they have sessions enabled, in Flask, I think no.
>>>>>>>>
>>>>>>>> On Feb 19, 11:23 pm, Bruno Rocha <[email protected]> wrote:
>>>>>>>> > I did not see web2py on the list...
>>>>>>>> > Em 20/02/2012 03:03, "pbreit" <[email protected]> escreveu:
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > >http://blog.curiasolutions.com/the-great-web-framework-shootout/
>>>>>>>> > >
>>>>>>>> https://github.com/seedifferently/the-great-web-framework-shootout
>>>>>>>
>>>>>>>
--
---
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/groups/opt_out.