Author: Lyle Luppes
Paperback: 87 pages
Publisher: Syncfusion Inc. (2012)
Formats: Amazon Kindle and PDF
I was curious to read ASP.NET MVC 4 Mobile Websites Succinctly as the title really intrigued me. I thought it was solely about creating mobile websites using the Mobile Application template in ASP.NET MVC 4. And while that is an option that is mentioned in this book it is really about more than that.
Author Lyle Luppes takes the reader through the creation of a mobile website while using the Internet Application template and Razor view engine. This template comes with the following meta tag built into the Layout pages:
<meta name="viewport" content="width=device-width" />;
By using functionality that Microsoft provides right out of the box we can see immediately how easy it is to create a new mobile website or to add mobile support to an existing one.
Throughout the book we build out our MVC mobile site and the majority of this done by adding jQuery Mobile options to our website. If you are unfamiliar with jQuery then this book will do little to get you started. However, if you have used it in the past and are familiar with the syntax then this book gives a good overview of what is available to developers who use jQuery Mobile.
One of the strengths of the book is also one of its weaknesses. The text has lots of examples of what you can do with MVC 4 and jQuery Mobile. However, they mostly focus on the Apple line-up of products, especially the iPad and iPhone. The copy could have done with more mention of things to look out for when developing for other platforms – especially Android and Windows Phone.
Overall the book is an excellent introduction to incorporating jQuery Mobile into your MVC 4 applications so that you can easily make your websites mobile friendly. I know that I will refer to it again over the coming months to use many of the tips mentioned in this book within my future projects.
Visit the Syncfusion website to download ASP.NET MVC 4 Mobile Websites Succinctly or to see the entire Succinctly Series.
Disclaimer: In the interest of full disclosure I have received compensation from Syncfusion for this book review. However, Syncfusion had no editorial control over the writing of this blog post and did not instruct me on what I could or could not say in my review. In fact I have been meaning to read the Syncfusion books for some time and their offer was the impetus I needed to get started,