Building the new AppExchangeusing Responsive DesignPratima Nambiar, salesforce.com, Tech Lead, AppExchangeJochem Geerdink,...
Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contai...
Agenda   Background   Demo of responsive features of the new AppExchange   Responsive Web Design highlights   Integrat...
AppExchange
AppExchange Goes Mobile
Mobile Technologies Considered   Native app   Mobile version of the application   Web application using Responsive Web ...
Agenda   Background   Demo of responsive features of the new AppExchange   Responsive Web Design highlights   Integrat...
Agenda   Background   Demo of responsive features of the new AppExchange   Responsive Web Design highlights   Integrat...
Definition Responsive Web Design (RWD) is an approach to web design in which a site is crafted to provide an optimal viewi...
How to RWD? Media queries! Media queries allow the page to use different CSS styles based on device capabilities. For RWD,...
Media queries code structure@media screen and (max-width: 767px) {    …}@media screen and (min-width: 768px) and (max-widt...
RWD and Images 1. Use background images when possible. 2. How to create flexible or fluid images 3. Lazy load images for b...
Background Image Example: logo<div class="df-logo">    <a href="#">AppExchange</a></div>.df-logo a {                      ...
How to Create Flexible or Fluid Images<div class="df-tile">                       .df-tile {  <div class="tile-content">  ...
Lazy Load Images for Better Page Performance<div class="tile-img tile-img-brand"> <img src="p.gif" data-src="tile-01-280.p...
Lazy Load Images for Better Page Performance<span id="phone-test"></span><span id="small-test"></span>             /* S: P...
Lazy Load Images for Better Page Performance getCurrentSiteState = function() {      var state = medium;      if     (jQue...
Lazy Load Images for Better Page Performance <div class="tile-img tile-img-brand">      <img src="p.gif" data-src="tile-01...
Agenda   Background   Demo of responsive features of the new AppExchange   Responsive Web Design highlights   Integrat...
Integrating with Force.com   Tile Example   Saved List Example
Pratima Nambiar   Jochem Geerdink   Tech Lead       Product Designer  AppExchange       AppExchange
Building the new AppExchange using Responsive Design
Upcoming SlideShare
Loading in …5
×

Building the new AppExchange using Responsive Design

879 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
879
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building the new AppExchange using Responsive Design

  1. 1. Building the new AppExchangeusing Responsive DesignPratima Nambiar, salesforce.com, Tech Lead, AppExchangeJochem Geerdink, salesforce.com, Product Designer, AppExchange
  2. 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward- looking statements.
  3. 3. Agenda  Background  Demo of responsive features of the new AppExchange  Responsive Web Design highlights  Integrating with Force.com
  4. 4. AppExchange
  5. 5. AppExchange Goes Mobile
  6. 6. Mobile Technologies Considered  Native app  Mobile version of the application  Web application using Responsive Web Design
  7. 7. Agenda  Background  Demo of responsive features of the new AppExchange  Responsive Web Design highlights  Integrating with Force.com
  8. 8. Agenda  Background  Demo of responsive features of the new AppExchange  Responsive Web Design highlights  Integrating with Force.com
  9. 9. Definition Responsive Web Design (RWD) is an approach to web design in which a site is crafted to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones). In short: the site should be usable on all devices and should feel optimized for all devices.
  10. 10. How to RWD? Media queries! Media queries allow the page to use different CSS styles based on device capabilities. For RWD, we will look at browser width.
  11. 11. Media queries code structure@media screen and (max-width: 767px) { …}@media screen and (min-width: 768px) and (max-width: 979px) { …}@media screen and (min-width: 980px) { …}
  12. 12. RWD and Images 1. Use background images when possible. 2. How to create flexible or fluid images 3. Lazy load images for better page performance
  13. 13. Background Image Example: logo<div class="df-logo"> <a href="#">AppExchange</a></div>.df-logo a { /* S: Phone */ display: block; @media (max-width: 767px) { text-indent: -9999px; .df-logo a { display: none; } width: 223px; .df-logo { height: 47px; width: 100px; background: url(appex-logo.png) no-repeat 0 0; height: 21px;} margin-left: -50px; position: absolute; top: 5px; left: 50%; background: url(appex-logo-small.png) no-repeat 0 0; } }
  14. 14. How to Create Flexible or Fluid Images<div class="df-tile"> .df-tile { <div class="tile-content"> width: 240px; <div class="tile-img tile-img-brand"> height: 200px; <img src="tile-01-280.png" /> } </div> </div> .df-tile .tile-img-brand {</div> padding: 10px; } .df-tile img { border: 1px solid #999; max-width: 100%; width: auto; /* IE */ height: auto; /* IE */ }
  15. 15. Lazy Load Images for Better Page Performance<div class="tile-img tile-img-brand"> <img src="p.gif" data-src="tile-01-280.png" class="desktop-img" /></div>
  16. 16. Lazy Load Images for Better Page Performance<span id="phone-test"></span><span id="small-test"></span> /* S: Phone */<span id="large-test"></span> @media screen and (max-width: 767px) { #phone-test { display: block; } }#phone-test, #small-test, #large-test { width: 1px; /* M: Portrait tablet */ height: 1px; @media screen and (min-width: 768px) and (max-width: 979px) { display: none; #small-test { display: block; }} } /* XL: Desktop */ @media screen and (min-width: 1220px) { #large-test { display: block; } }
  17. 17. Lazy Load Images for Better Page Performance getCurrentSiteState = function() { var state = medium; if (jQuery(#phone-test).css(display) === block) { state = phone; } else if (jQuery(#small-test).css(display) === block) { state = small; } else if (jQuery(#large-test).css(display) === block) { state = large; } return state; };
  18. 18. Lazy Load Images for Better Page Performance <div class="tile-img tile-img-brand"> <img src="p.gif" data-src="tile-01-280.png" class="desktop-img" /> </div> jQuery(document).ready(function() { loadDesktopImages(); }); loadDesktopImages = function() { if (getCurrentSiteState() !== phone) { jQuery(img.desktop-img).each(function() { jQuery(this).attr(src’, jQuery(this).attr(data-src)); }); } };
  19. 19. Agenda  Background  Demo of responsive features of the new AppExchange  Responsive Web Design highlights  Integrating with Force.com
  20. 20. Integrating with Force.com  Tile Example  Saved List Example
  21. 21. Pratima Nambiar Jochem Geerdink Tech Lead Product Designer AppExchange AppExchange

×