Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Questions about offline tutorial

Hi,

I'm trying to follow your tutorial here (http://devcenter.appery.io/tutorials/...).

1)
Currently, I'm troubled understanding this line:
preApperyio.storage._echo.set(JSON.stringify(this.data));/pre

This line as per the tutorial, is supposed to be placed on list_service success event.
However, whenever I use it with the event, I get the error "Cannot read property "set" of undefined"".

I added the following before the line and this is their results:
preconsole.log('stringify :'+JSON.stringify(this.data)); //undefined
console.log('storage :'+Apperyio.storage.echo); //undefined
Apperyio.storage.echo.set(JSON.stringify(this.data));/pre

What is this line is supposed to do here? what is "storage"? and what is "this.data" in this case"?

2) Does _echo store all tasks (those created online and offline) or only those created offline? If stores online and offline tasks, where in the tutorial script, the online tasks are added to _echo?

3) If _echo stores all tasks (online and offline), where the newly offline created ones are supposed to be stored? I assume that there is _echo for the entire list of tasks that created online and offline, and there is another LSV store newly offilne created tasks. Am I correct?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Questions about offline tutorial

Hi Hawk,

We will pass your requested questions to our developers and we will update with more detailed information here.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Questions about offline tutorial

Hello Hawk,

Sorry for delay. It really seams that there is some mess with this tutorial, thank you for noticed that. We'll fix it and will get back to you with the update.

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Questions about offline tutorial

Is this ever going to be fixed - because it is still in the tutorial for offline applications.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Questions about offline tutorial

Which specific tutorial do you mean? Can you point out the link to it?

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Questions about offline tutorial

https://devcenter2.appery.io/tutorial...

The tutorial for building an offline application.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Questions about offline tutorial

Hello Jackson,

This is an outdated tutorial, we don't support "devcenter" for years.
Please check this link: https://docs.appery.io/docs/building-...

Jackson
Posts: 9
Joined: Wed Nov 01, 2017 10:44 pm

Questions about offline tutorial

Thanks for the quick response. Good to know.

Return to “Issues”