HTML 5Javascript for kiosk based applications - Stack Overflow

Does anyone have any experience using HTML 5 and Javascript to build long running kiosk applications? W

Does anyone have any experience using HTML 5 and Javascript to build long running kiosk applications?

We are currently using Silverlight but would like to move to something more lightweight/flexible. Things we are concerned about are potential for memory leaks, reliable offline ability (devices may lose internet connection quite often).

Ideally we would use the same framework for both online and on the kiosk so there's a shared codebase

Thanks for your time

Does anyone have any experience using HTML 5 and Javascript to build long running kiosk applications?

We are currently using Silverlight but would like to move to something more lightweight/flexible. Things we are concerned about are potential for memory leaks, reliable offline ability (devices may lose internet connection quite often).

Ideally we would use the same framework for both online and on the kiosk so there's a shared codebase

Thanks for your time

Share Improve this question asked Apr 17, 2013 at 10:08 JeremyBeadleJeremyBeadle 6931 gold badge9 silver badges23 bronze badges 1
  • Very good question, Would maybe be better to make it more general that kiosk but +1 ! – Lemex Commented Apr 17, 2013 at 10:14
Add a ment  | 

2 Answers 2

Reset to default 1

Very good question. I've never developed for Kiosk as such but for other offline/online application that have to be on a website and desktop.

I used QT Project which turned my website in to an exe. Which worked for me because i developed it correctly and was able to share around 90% of the code base and im aiming for 100% soon.

If you develop in a sense where the application doesn't require server side code embedded in the HTML i.e no php but more rely on calling the server and municating using JSON for example you should be able to do this.

Then if you ever have to it will be allot easier for you to move between platforms and you could even package using BB Webworks for Blackberry you might not want this but just trying to make the point if you develop your client side and server side separately the portability of the client bees amazing!

you should have no issues with HTML5. I would remend a Windows 8 touch device. First you get touch which makes your kiosk more interactive. Second you get IE 10 which is a pretty darn good html5 browser providing good client-side storage options.

in IE 10 you get 555 MB of bined client-side storage, http://labs.ft./2012/06/text-re-encoding-for-optimising-storage-capacity-in-the-browser/. It also supports offline mode. You get great GPU accelerated animations, transitions, etc.

As for your application architecture I remend a Single Page App. I am not a fan of the MVVM junk floating around because they are code and memory bloats. I wrote and article a while back on using localStorage as a storage medium, http://professionalaspnet./archive/2011/10/08/Use-Local-Storage-to-Make-Your-Single-Page-Web-Application-Rock.aspx. I have advanced that mechanism since then. You can also read about doing this here, http://tech.pro/tutorial/1165/use-the-jquery-localstorage-and-prefetch-filter-to-optimize-performance.

As for memory leaks. I have been doing SPAs for about 2 years now. Because most mobile OSes limit your memory usage, for example mobile safari will just crash. Keep your variables to a minimal, one of the reasons why I utilize local storage.

This is a great question, thanks for asking it. Now my mind will be buzzing all day long!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745609952a4635890.html

相关推荐

  • HTML 5Javascript for kiosk based applications - Stack Overflow

    Does anyone have any experience using HTML 5 and Javascript to build long running kiosk applications? W

    7小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信