I have only ONE section:

*<section id="HOME" class="panel" selected="true" data-title="Name of the
APP" data-hidebackbutton="true"></section>*

In the *function goingTo(val)* I also have
*document.getElementById("viewTitle").innerHTML=getTitle(val)* which
updates the title, so the user gets the feeling of moving between different
screens. I don't use *emy.ajax()*, but I have made my own function for it.

R


2018-03-22 12:08 GMT+02:00 Remi Grumeau <[email protected]>:

>
> *I like Emy.*
>
>
> Me too :)
>
>
> I use callbacks only in order to send/receive something to/from another
> App via the server. I've also made it possible for making  a backup of the
> ldb in the server and of course to retrieve the ldb from there. At leat 95%
> of my code is JavaScript. I tiny little bit of my code is in the server.
>
> The link may look like this: *href="javascript:goingTo(11);"*
>
> In *goingTo(val)* I have *switch (val)* ...
>
> ...
> *case 11: MAKE_MAIN(); break*
> ...
>
> *MAKE_MAIN()* stuffs the html code into a variable *dump*, and finally I
> have
> *document.getElementById("HOME").innerHTML=dump*
>
> I have two variables "comingFrom" and "whereAmI". I have a back button up
> in the right corner with goingTo(comingFrom). As I already mentioned, it's
> very fast.
>
> *If not Emy, what then?*
>
>
> If you use emy.ajax() for the ajax calls, emy.$ for selectors or other
> screens transitions to the rest of the app, or simply like the UI themes,
> then stick with it :)
> https://emy-library.org/documentation/latest/core-
> documentation.html#emy-ajax
> https://emy-library.org/documentation/latest/core-documentation.html#emy-$
> --> document.getElementById("HOME") can be emy.$(‘#HOME’) or
> emy.getSelectedView() if you are on this view.
>
>
> If not, then you probably don’t need a library at all to just pull / push
> data from a server.
>
> Remi
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to