you can use json-rpc2 with py4web but it is not built-into the framework. 
It does not need to be. I will post an example.

py4web has jwt auth support although the syntax is a different.

py4web is not as mature as web2py but very mature. The pros are the speed, 
the cleaner/leaner implementation and works better with third party 
modules. At this time more development is going into py4web than into 
web2py.

I think web2py remains the only choice for python2. If you are moving to 
python3 than you have a choice.
On Friday, 25 December 2020 at 04:10:30 UTC-8 vinid...@gmail.com wrote:

> What are the benefits of porting to py4web?
>
> I use json-rpc2 extensively in my web2py app.
>
> Does py4web support json-rpc2 (or other rpc services) out of the box the 
> way web2py does?
>
> Does it support jwt authentication the way web2py does?
>
> Is py4web stable and mature enough to consider switching?
>
> On Monday, December 14, 2020 at 9:52:49 PM UTC+7 villas wrote:
>
>> The framework is compatible with both.  
>> However, your own code may only be compatible with one or the other - 
>> that's up to you.
>> Once you get to know what the differences are, you can scan the code 
>> pretty easily yourself.  Still, the 2to3 is helpful if you have lots of 
>> code.
>> One simplistic approach is simply to make a copy of your app,  try it 
>> under python 3, and fix what is broken.
>> Important:  anyone making such a conversion is being increasingly 
>> encouraged to also consider porting it to py4web.  This is a steeper 
>> learning curve,  but it may be a better long term solution.
>>
>> On Saturday, 12 December 2020 at 17:37:44 UTC Tele Tom wrote:
>>
>>> I'm looking to run 2to3 to upgrade my python code.  How do I get it?  Is 
>>> it easy to do?  Is it worth it?
>>>
>>> Can I run my web2py 2.21.1 with python 2.7 or must I use python 3?
>>>
>>> thanks
>>> Davey
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/8a049c07-63a3-4cef-95a0-af5ec62d0ca4n%40googlegroups.com.

Reply via email to