× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not sure it's the size of the button. I am using both an iPhone 6 and an iPad, and I can click the button ok but nothing happens when I do. I am in deepest darkest France at the moment so maybe it's something to do with the speed of my connection.

I am not really comparing it to anything, I was just trying to work out what it was you were trying to demonstrate, and what it was an alternative to. Since we are bypassing all that conversation about .net/cobol/cgi etc and concentrating on SPA techniques, I was guessing it is something to do with that. The way we do it there is no HTML exchanged between the client and server (apart from the tiny index.html file that kicks things off). Just the data model (JSON) is exchanged, and the UI reacts to the content via observers - basically events that get triggered when a data element in the model changes. I am guessing in you demo the JSON data maps directly to the DOM element it relates to.

Sent from my iPad

On 29 May 2015, at 16:41, Nathan Andelin <nandelin@xxxxxxxxx> wrote:


I tried it on my phone Nathan, but nothing seemed to happen when I clicked
the button.


Okay, I made the <button> bigger ;-)

It works on my Android phone and iPad tablet. What phone are you using?



That aside, I am not sure I understand the benefit of downloading html and
JSON in this way. Can you elaborate?

I'm a little confused by the question. The thing that distinguishes this
approach is not the asynchronous "downloading" of content; a very common
requirement.

I'll assume that you're referring to the automated "merging" of an HTML
template with a JSON object and appending the results to an HTML
"container", such as a <div>.

For me, this is about minimizing custom coding requirements in new
applications; hence a "utility" that is smart enough to merge complex
"data" and "layout". It's about performing that step on the client rather
than on the server.

From a UI perspective, visual transformations are more fluid. Download HTML
templates only once during the life of a page. Download data incrementally
and append additional content, such as adding to a list.

Regarding benefits, I suppose it depends on what you're comparing to. What
are you comparing it to?
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.