When comparing Foundation vs jQuery Mobile, the Slant community recommends Foundation for most people. In the question“What are the best frontend frameworks?” Foundation is ranked 2nd while jQuery Mobile is ranked 7th. The most important reason people chose Foundation is:
Foundation allows designing for multiple screen sizes simultaneously easily, meaning your content will always fit.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Responsive design philosophy
Foundation allows designing for multiple screen sizes simultaneously easily, meaning your content will always fit.
Pro Uses REMs instead of pixels
Foundation uses REMs instead of pixels, meaning you don't have to state an explicit height, width, padding, etc, for every device. Simply put, using REMs means you can just state font-size: 80%; and have the whole component (and its nested elements) shrink by 20%.
This is great for making your site mobile friendly. There is also a Sass function in Zurb that converts pixels to REMs so if you're used to thinking in pixels, you don't have to learn a different system.
Pro No style lock-in
Styles are purposefully undeveloped to encourage differentiation between different sites using Foundation.
Pro Block grid
Foundation has a feature called block grid. Block grid gives designers the power to divide the contents of an unordered list into a grid that is evenly spaced. Furthermore, Foundation also takes care of collapsing columns as well as removing gutters.
Pro Easy customization
Just by looking at the name, Foundation merely provides designers with a foundation of sorts on which they can build their design. It can be customized easily through SASS, a powerful CSS pre-processor or by overriding the default CSS styles.
Pro Easily extensible with a selection of add-ons
There's a variety of front-end templates, icon fonts, responsive table examples, SVG icons and stencils that help you quick-start or easily improve on your site.
Pro Support for off-canvas navigation
Foundation comes with an easy way of creating off-canvas menus.
Pro Uses Interchange to load responsive content
Foundation comes with Interchange, it makes use of media queries to load images responsively and create content that's suited to different browsers and devices.
Pro RTL support
Allows easily changing text direction.
<html class="no-js" lang="ar" dir="rtl">
Pro Built-in form validation
Foundation comes with Abide plugin, an HTML5 form validation library.
Pro Good mobile support
Foundation was one of the first frameworks to adopt a mobile-first philosophy. By focusing on mobile design first, Foundation makes designers think on what kind of content is important, relevant and interesting to the users without thinking too much on the space.
Pro Resources
With HTML5 development being relatively amateur jQuery Mobile has a vast selection of resources to assist. These resources include websites, books, apps and other frameworks, 3rd party plugins and extensions, and more. All of these can help ramp up and excel the project development cycle.
Pro ThemeRoller
An interactive tool that has been created to customize an apps theme. Users can import a current theme, make changes, and export the theme back to the app for integration.
Pro Download Builder
To optimize application development jQuery Mobile provides a tool to allow the user to customize the framework. It contains the ability to pick and choose which modules to include and then bundles the framework so it contains only what is needed.
Cons
Con Can be hard for beginners to grasp
Since Foundation is built to be customizable, it's default style may not be very appealing for most. While it's true that most production-ready websites shouldn't be using the default style of a css framework (they would all end up looking the same), this is even more true for Foundation.
Con Needs more pre-built components
Example would be a scroll-spy not only for one cell, but cell to cell.
Con Not UMD pattern in core
This problem will bring attention when used with Angular, React and other JS framework. It is important to know that they create app version of this framework.
Con Documentation is a bit better than average
Documentation could be written better and clearer, with many more example than they currently have. Sometimes hard to find solutions for detailed css problems.
Con The project is practically abandoned
The last release was in 2014. Samsung Tizen Advanced UI (TAU), for example, was started with JQuery, but it was forked off and completely rebuilt from scratch with jQuery concepts but without JQuery dependency itself.
Con Clunky and slow
Con No MVC support
There is no included MVC support in jQuery Mobile. It is possible to achieve this, however, using other frameworks such as BackboneJS in combination with jQuery Mobile, but there are a few limitations. Specifically that MVC frameworks, such as BackboneJS or KnockoutJS, are not compatible with jQuery Mobile page routing.