background preloader

jQuery Mobile Tutorial: Creating a Restaurant Picker Web App

jQuery Mobile Tutorial: Creating a Restaurant Picker Web App
Mar 08 2012 With an increase in the number, diversity and complexity of smartphones, more and more companies want to have their own mobile app, but creating a native app can be pretty expensive. It requires special skills, as well as special coding tools, and then there is also the need to build an app per platform (Android, iOs, BlackBerry, Windows Phone, etc). All of this figures in to a higher price tag for the app development. The jQuery framework has been around the web for a while now, but the jQuery base technology was basically designed for browser apps. jQuery Mobile is a framework based on jQuery that enables web designers to create web-apps that are optimized for use on a mobile device (Smartphone and tablets). In this jQuery Mobile tutorial, we will create a nice demo app from scratch, to show some of the things that can be easily done using this powerful tool. The Concept of the Mini App: Restaurant Picker Wireframing Our Application. Home Screen : Choose a Plate Choose a Town

Using Backbone.js with jQuery Mobile Backbone.js is an architectural framework that helps you write well-structured Web applications. It is not, however, a user interface framework and it therefore doesn’t help you with the way your application looks. Backbone’s confined scope is a good thing: it’s lightweight, non-intrusive, not coupled to things you don’t need, and it lets you use the UI toolkit of your choice or simply roll your own styles and widgets. In my previous post, I demonstrated how to use Twitter Bootstrap on top of Backbone. Quest for a Mobile UI Toolkit After that post, I wanted to create a mobile version of the same application; a version that I could package with PhoneGap and that would look and behave like a native app. Another Way to Use jQuery Mobile jQuery Mobile (jQM) is one option that I’ve explored before (here and here), but it fits more in the category of full-stack frameworks that tie together architectural structure and UI controls and behaviors. Sample Application Here is the app: How it works

Web agency Paris 2e, création site internet HTML5 Agence web développement IPAD | Black meridian Paris When can I use... Support tables for HTML5, CSS3, etc Camera | a free jQuery slideshow by Pixedelic A simple slide This is the "simple anathomy" of a slide: Captions You can add a caption to the slide, just put a div with class "camera_caption" into the div above: <div data-src="images/image_1.jpg"><div class="camera_caption">The text of your caption</div></div> By adding one more class to the "camera_caption" div you can decide the effect of the caption. HTML elements You can also put some HTML elements into your slides. <div data-src="images/image_1.jpg"><div class="fadeIn camera_effected">The text of your html element</div></div> An HTML element can have a class "fadeIn": in this case it will be displayed with a fading effect. Videos To include a video into your slideshow you must put an iframe into one of your slides: As you can see I set the width and the height of the iframe to 100%, so it changes its size according with the size of the slideshows (I mean the iframe, the video in the iframe will mantain its ratio). The "data-" attributes or a particular alignment for one slide only:

Free iPad CSS layout with landscape/portrait orientation modes by Matthew James Taylor on 27 May 2010 The iPad has finally launched in Australia today, hooray! I will probably get one soon so I can continue to optimise my CSS layouts for as many devices as possible. But in the mean-time I will continue using the iPad emulator that comes with the iPhone SDK. To celebrate the launch of the iPad I have built a special iPad optimised website layout that uses pure CSS to change layouts in the portrait and landscape orientation modes. In Landscape mode the layout is in two columns. In both orientations there is a header at the top and a footer at the bottom. How does it work? The first thing I do is lock the layout's resolution to a 1:1 ratio so that each pixel exactly lines up with the pixels in the iPad's screen. Next I combine this with some CSS rules that change the layout in portrait and landscape modes. The method above works beautifully for changing the layout for the two orientations without JavaScript. Demo Download (ipad-css-layout.zip - 41kb)

HTML5 Please KISS by Fiona Bennett Aleksey Marina © Photography | Gift Beauty Eternity Manifiesto Futura | Somos un Estudio de Diseño Independiente InDesign Export to PDF Print Pelican Find The Pelican On Brochures Samples 8 1/2 x 11 8 1/2 x 14 11 x 17 25 1/2 x 11 Pick your own size Posters Cards Post Cards Rack Cards Business Cards Book Marks Door Hangers Tent Cards Greeting Cards Newsletters Booklet Printing 5 1/2 x 8 1/2 Catalogs + Books Magazines Bumper Stickers Labels Standard Sizes Stationery Letterhead Envelopes Calendars 8 1/2 x 5 1/2 11 x 8 1/2 12 x 12 13 1/2 x 11 Magnets Buttons Circle Buttons Rectangle Buttons Flyers Presentation Folders 9 x 12 9 1/2 x 14 1/2 My Account Register Edit My Templates View Cart Upload Files Free File Review Home About the Pelican Riviera Beach, Fla. 01/15/2006 Pelican Printing Blog Careers Our Guarantee Privacy Policy Site Map Products Print Products Design Services Commercial Printing Direct Mail Services Mailing Lists Warehouse Mail Campaigns Billing Statement Mailing Database Marketing Custom Quotes Contact Us Sample Request Techtips Press Release - February, 14 April 2005 Newsletter October 13, 2006 June 2005 - Newsletter August 2005 - Newsletter December 05 Newsletter Coupons </b>*}

Noon Solar

Related: