Wednesday 18 January 2012

Thoughts on how to create the mobile homepage

This post is a continuation of http://chilesinstockholm.blogspot.com/2012/01/about-homepage.html.

I've done a lot of reading about mobile frameworks lately. The framework I have to choose needs to work with PHP and the configuration of my ISP.

I will choose jQuery Mobile (http://jquerymobile.com/). It meets my requirements well, and I think it will be exciting to learn something new! When I created the current homepage, I wanted to use a minimum of JavaScript in order to be as browser independent as possible. But the web browsers have matured, and I think this will work fine.

I will also start using JSON (JavaScript Object Notation) (http://www.json.org/). I hope to be able to over time base the two homepages on the same code base. And here I think that JSON will provide me with functionality that makes this transition easier.

Well, we will see where I end up. Here is a prototype of the "new" mobile homepage.



A problem that I have is to handle the extensive menu lists on the chile pepper database (http://petterssononline.com/habanero/peppers.php). Both the species list that is on top (the buttons), but also the list with all the different varieties to the left. As you can see on the image below. This will be a challenge on smaller devices, so I need to figure something out.

I will let you know as soon as I have something that runs :-)

Keep it hot!
  Mats

No comments:

Post a Comment