Hi guys, We have developed POS software, in Rails 3.0 that is to run on tablet and touch screen PC''s. The main menu interface is using jQuery, and all of the buttons on the screen are simply divs that respond to onclick events. The interface is not as fast as a native application would be as we are restricted to response time by the browser itself (we are currently using firefox). We have overcome the delay on the ipad using the script and guidelines here: http://cubiq.org/remove-onclick-delay-on-webkit-for-iphone I have refactored a lot of the javascript to make it run faster (taking into account guidelines from here: http://blogs.msdn.com/b/ie/archive/2006/08/28/728654.aspx) Is there anything else we can do to make the interface a bit more snappy? I am looking into using Palemoon (http://www.palemoon.org/) also, but I still don''t think that we will match up to the response time of native apps. Anyone got any advice? thanks, Lee -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/TCRMFDMxJiwJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
anyone? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/EZ7uekyWYYMJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Eduardo Blumenfeld
2011-Sep-03 13:22 UTC
Re: Rails 3 POS Software for touch interface with jQuery
Lee Farrell wrote in post #1019906:> anyone?Did you try Google Chrome browser? It is faster than Firefox -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sep 1, 9:25 am, cipher_neo <l33...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi guys, > > We have developed POS software, in Rails 3.0 that is to run on tablet and > touch screen PC''s. > > The main menu interface is using jQuery, and all of the buttons on the > screen are simply divs that respond to onclick events. > > The interface is not as fast as a native application would be as we are > restricted to response time by the browser itself (we are currently using > firefox). > > We have overcome the delay on the ipad using the script and guidelines here:http://cubiq.org/remove-onclick-delay-on-webkit-for-iphone > > I have refactored a lot of the javascript to make it run faster (taking into > account guidelines from here:http://blogs.msdn.com/b/ie/archive/2006/08/28/728654.aspx) > > Is there anything else we can do to make the interface a bit more snappy? > > I am looking into using Palemoon (http://www.palemoon.org/) also, but I > still don''t think that we will match up to the response time of native apps. > > Anyone got any advice?Have you had a look at HTML5 specs for Safari? Offline storage might help you speed things up a little if you are constantly going back and forth to the server for repeated data. Here''s a link to an Apple demo: http://developer.apple.com/safaridemos/offline-calendar.php hth Paul> > thanks, > > Lee-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Actually chrome is a fraction faster than firefox, which helps a lot. thanks. It still needs to be faster however, so I will have to keep tweaking it as such. I think we are limited by the speed of the JS engine? In which case there is nothing we can do there. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/xY3AQCX6mhwJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I already use a lot of offline storage, and the interface is completely javascript based (all data is preloaded, and screens are switched via showing/hiding divs). I may have a problem that there is just too much JS in the interface? Could that ever be a problem? thanks for the reply -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/wcx_uMUHkFoJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.