Extension for web get

Can you show some blocks on what you have done?

1 Like

Yes …

Yes…
My suggestion is to do everything using only 1 Component Web Block.

Sure, I will share the blocks once i am connected to my computer.

1 Like

In a project I have I use different urls to get data from my MySql database and I use a single web component.

What you have to do is learn how to use the variables. And the IF blocks.

You use a variable, and when that variable takes a value then you get some data, if that variable takes another value you get other data.

It is true that when receiving a response with a lot of data there may be some delay. But I receive hundreds of rows and I don’t have any delay. You should receive thousands of rows to have a delay, and have a bad internet connection. And a bad or slow server. Apart in an app it is not necessary to receive too much data… only the necessary…

That’s what I’m trying to explain to him, since from the start of the topic.
Only 1 web Component.
“Teaching how to fish…”

2 Likes

there is a PR about anonymous procedure for long time, with it we can use a procedure as the callback of Web.Get
But MIT did not merge it.

photo from other distro(wxbit.com):

This is the PR @Kevinkun is talking about.

3 Likes

My solution is somewhat similar implementation. The issue i have is the ovelap of these requests (manual and timebased) which is why i have to use multiple web components.

Looks like a solution which i can try, where can i find the extension?

Thanks, is there a compiled extension available?

Can’t you, within the same script, perform N Tasks and return them and treat them in Kodular?

Let me try to explain each web component request

  1. I have 6 web gets totally which are refreshed every x seconds (x is configurable).
  2. I have dynamic card view set which lists many requests which will also refresh x seconds one by one. So if you have 10 dynamic cardview, data refresh happens for all 10 one by one each x seconds.
  3. There is a click feature, if the user clicks any dynamic cardview anytime, this request is manual anytime irrespective of #1 or #2 request.

Due to complexity increase in #1, that had to be split in multiple web component requests as it was causing delay.

regarding your issue there’s two solutions for it , you either make plenty of web components or make special response from the php and you process it with plenty of if statements in the got text block.

I hope you understood my reply.

This anonymous procedure as callback is not supported by Kodular, I think. Therefore no extension available now for Kodular.

This post was flagged by the community and is temporarily hidden.

which one?

Now it’s Downloaded successfully

Which website? What are you trying to download?

Hi @Rogerio_Rios how r u, I wish you are good
What do you think will be the fastest using 20( web.get )simultaneously or using one (web .get) and a variable and request the links (rss feed links ) in sequence ???

1 Like

20 simultaneously would be memory intensive. Serially would be less intensive but time consuming i guess depending on internet speed, data get and size of data

Mohan

1 Like