Thanks a lot.
I'll try load_and_trap, but I think htmx may be better. I will look at your
applications.
El jueves, 17 de febrero de 2022 a las 0:10:33 UTC+1, Jim S escribió:
> See this thread for how to replicate LOAD in py4web -
> https://groups.google.com/u/1/g/py4web/c/EUpv9IRJ_eo/m/niHzrnR
See this thread for how to replicate LOAD in py4web -
https://groups.google.com/u/1/g/py4web/c/EUpv9IRJ_eo/m/niHzrnR5AwAJ
In short, use load_and_trap from utils.js.
I was using this for a while but then transitioned to doing all my
reactive-type functions using htmx. https://htmx.org
Check ou
I have several projects with web2py and I have already started to study the
possibility of migrating to py4web.
They are all rendered on the server side and for now I want to keep it that
way.
I see some challenges that make me a little scared:
*LOAD
* A Helper: (many times with the callback p
Have you managed to make a welcome template based on Unpoly?
On Wednesday, March 4, 2020 at 8:37:51 PM UTC+7 yamand...@gmail.com wrote:
> Sorry for the typo.
> I want to make a welcome template based on unpoly soon.
>
> Em sex., 28 de fev. de 2020 às 04:21, AGRogers
> escreveu:
>
>> https://unp
Sorry for the typo.
I want to make a welcome template based on unpoly soon.
Em sex., 28 de fev. de 2020 às 04:21, AGRogers
escreveu:
> https://unpoly.com/
>
> On Fri, 28 Feb 2020 at 16:22, Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> never heard of unpolly.js and cannot find it.
https://unpoly.com/
On Fri, 28 Feb 2020 at 16:22, Massimo Di Pierro
wrote:
> never heard of unpolly.js and cannot find it. Have a link?
>
>
> On Wednesday, 26 February 2020 19:32:20 UTC-8, Carlos Costa wrote:
>>
>> LOAD is a very cool thing! And beginners just say WOW when they can
>> create aja
never heard of unpolly.js and cannot find it. Have a link?
On Wednesday, 26 February 2020 19:32:20 UTC-8, Carlos Costa wrote:
>
> 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 app
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 v
On Tuesday, February 25, 2020 at 1:14:41 PM UTC-8, RHC wrote:
>
> Just to confirm, will that call to foo(0 return the html generated using
> that function and it's template?
>
> My view on the various follow up questions about LOAD is that we should
> use existing frameworks where possible rath
Just to confirm, will that call to foo(0 return the html generated using
that function and it's template?
My view on the various follow up questions about LOAD is that we should use
existing frameworks where possible rather than complicating py4web. The
appeal of py4web is that it has less of i
I think it can be usefull if you use another template not based in vue.
Cheers.
El El lun, 24 de feb. de 2020 a la(s) 03:31, Massimo Di Pierro <
massimo.dipie...@gmail.com> escribió:
> We can add it in utils. But before we do. Do other peopl find it useful?
> Is that a pattern we should encourag
I think LOAD should be gone and we should move this kind of interaction to
the client part.
Also py4web should stick with server stuff and let client stuff integrate
better an in a more independent way.
For me FORM / smartgrid should also be gone. Vuetify and buefy tables are
awesome. dont try to c
We can add it in utils. But before we do. Do other peopl find it useful? Is
that a pattern we should encourage vs, for example, vue.js?
On Sunday, 23 February 2020 10:18:51 UTC-8, RHC wrote:
>
> HI,
>
> I am beginning to experiment with py4web, I like the sound of it and I am
> looking to conver
Or maybe using something like https://github.com/MoOx/pjax
El dom., 23 de febrero de 2020 7:02 p. m., Val K
escribió:
> for server side you can
> @action("foo")
> @action.uses("foo.html")
> def foo():
> return dict(...)
>
> @action("bar")
> @action.uses("bar.html")
> def bar():
> return
for server side you can
@action("foo")
@action.uses("foo.html")
def foo():
return dict(...)
@action("bar")
@action.uses("bar.html")
def bar():
return dict(foo_content = foo())
# bar.html
[[=XML(foo_content)]]
for the client side, I suppose, you have to do it by yourself using pure js
o
15 matches
Mail list logo