Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Yahoo Store Going Mobile

Posted on 2012-09-21
Medium Priority
Last Modified: 2012-09-21
I have created a Yahoo store that needs to go mobile.  One of my concerns is that from my research I see that it is undesirable to have Javascript.

Our site depends on Javascript to emit a pop-up which then can take up to three seconds to do a connection to a backend database (mysql).  This is one of those ecommerce merchant starter solutions.  

My concerns are 1) do i need to redesign the main site to avoid emitting the popup? 2) do I need to re-do the site to take out the Javascript.

The site is architected such that Dreamweaver is used to allow customer to choose the product and Yahoo store pages are only involved for checking out.

Is Javascript and pop-up really taboo for Mobile site?
Question by:supportoranges
  • 3
  • 2
LVL 111

Expert Comment

by:Ray Paseur
ID: 38422115
I would not say that JS is "taboo" but you might want to set up the mobile site and make some timed tests with iPad, Android, etc.  If you're using jQuery, the latest minified version is only about 30K, which is the size of a modest image.  If you're using your own JS library you might consider the bandwidth requirements.  It takes about 10x as much battery energy to move data from the server to the client device, when compared to cacheing the data on the client device, so a separate mobile app might be the way to go here.  Or at least a streamlined experience for the mobile version of the site.

Author Comment

ID: 38422503
what about a pop up for a mobile site?  is that okay to do?
LVL 111

Accepted Solution

Ray Paseur earned 2000 total points
ID: 38422635
I can't think of anything wrong with a pop-up on a mobile device.  Most of the mobile developers that I've talked with advise things like "make sure it's readable."  That implies using percentages to size things rather than explicit point-sizes, etc.

Author Closing Comment

ID: 38422645
Thank you for your help on this.  I really appreciate it!
LVL 111

Expert Comment

by:Ray Paseur
ID: 38422825
Thanks for the points - I think you're doing the right thing.  There won't be nearly as many desktop computers in a few more years!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
When you put your credit card number into a website for an online transaction, surely you know to look for signs of a secure website such as the padlock icon in the web browser or the green address bar.  This is one way to protect yourself from oth…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question