Peter LPunkt
Posts: 0
Joined: Mon Jan 13, 2014 3:07 pm

Implementing offline "Master-Detail" page

Hi, if i am not mistaken, i thought i saw a "master - detail" page tutorial a while back and can't seem to find it anymore.
Perhaps you could help me with something i want to implement:
I have a list of about 40 terms. Each term is explained in more detail, after being clicked on the list. I know i could use the collabsible element, but then i wouldn't have a filter for faster searching. I want to have something fast, because creating and linking 40 pages is super redundant and ineffective.

Whats the best solution to create what i described with 2 pages (one with list with terms, the other with explanations of selected term)?

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

Implementing offline "Master-Detail" page

Hello Peter,

Here you can find how to implement master-detailed page: http://devcenter.appery.io/documentat...

Peter LPunkt
Posts: 0
Joined: Mon Jan 13, 2014 3:07 pm

Implementing offline "Master-Detail" page

Thanks, thats what i was the tutorial i was looking for.

A related question: is there a limit to the amount of localstorage entries? Will 200 localstorage key-values impair the performance of an app (as webapp or android iOS build)?
A rule of thumb is 5mb localstorage, but browsers can handle a lot more. I would be interested in effects on performance.

Another thing i wanted to ask: Is there a way to use the links in the html component to link to other pages inside the app. For example i create a link in the html component for a certain term somewhere in the app and want the user to be transfered to the detail page of the term, when the link is clicked.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Implementing offline "Master-Detail" page

Hi Peter.

  1. Here is discussion about local storage limits http://stackoverflow.com/questions/29...

  2. You can add to the link some parameter you need(for example pass itemId) and parse this parameters on other page.

    But it is not recomended way to implement.

    Best way with appery.io described here: http://devcenter.appery.io/documentat...

    Regards.

Shawn
Posts: 0
Joined: Sat Jun 21, 2014 11:13 pm

Implementing offline "Master-Detail" page

hi

I'm implementing a master detail page as well and was wondering how to do this on the same page insteading
of letting the user click on a master to then show details.

This is for an enquiry module. The enquiry is the master
record and then there will be comments against that
enquiry. I want to show the enquiry and the comments on the same page.

So first I fetch all enquiries and then for each fetched enquiry how do I also fetch its comments (detail records) ?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Implementing offline "Master-Detail" page

Hi Shawn,

Yes you can implement this with Appery.io platform.

But here is no needed details about what exactly you need.

Please give us some screen shots with UI you need to clarify this purpose.

Regards.

Shawn
Posts: 0
Joined: Sat Jun 21, 2014 11:13 pm

Implementing offline "Master-Detail" page

hi no worries I've implemented this with a click on master to show detail records for now. thx

Return to “Issues”