LOAD is a very cool thing! And beginners just say WOW when they can create 
ajax-like experience so easy.
But, IMO, it lacks some important features for modern apps, like error 
handling and history handling.

I have written some simple functions to help cover these things...

Another way I found very useful was to use unpolly.js. It's magic but makes 
me a little lazyer about getting things done with vue.js.
(BTW they created unpolly to avoid using things like vue, react, etc, 
really!)

I would like very much to use vue.js but I am still noob regarding how to 
use it with py4web.
Maybe we should really encourage vue.js and stuff alike... but an initial 
pattern would be cool.
And IMO it should be simple and very cleared stated in the docs.
So no one will miss LOAD.

Em domingo, 23 de fevereiro de 2020 15:18:51 UTC-3, RHC escreveu:
>
> HI,
>
> I am beginning to experiment with py4web, I like the sound of it and I am 
> looking to convert a web2py project to py4web to see how they compare.
>
> It appears that the LOAD (helper?) that was available in web2py templates 
> is not available in py4web. I was using this to populate part of a web 
> page, I liked the way you had the option to use LOAD to call a separate URL 
> (within the same app) and insert the result into your page before returning 
> the page to the client.
>
> What is the reason for the absence of LOAD in py4web? is there a 
> recommended alternative method of achieving the same effect? I have used a 
> mixture of ajax=True and ajax=False options for this feature.
>
> Thanks,
>
> Richard.
>

-- 
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/89450727-f077-4ce0-9046-29b39bfc8a90%40googlegroups.com.

Reply via email to