14. Preboot is a comprehensive and flexible collection of LESS
utilities. Its original variables and mixins became the precursor
to Bootstrap. Since then, it's all come full circle.!
Brief history!
Preboot was originally released in March 2011 under the name Bootstrap.less. Sensing the need for a larger
and more comprehensive framework, I copped the name and created Bootstrap based on the original
variables and mixins work here. To avoid obivous naming issues, I renamed this Preboot and essentially
didn't touch the project for two years.!
!
Fast forward two years and I'm backporting many of Bootstrap's variables and mixins back into Preboot as
v2.!
!
Disclaimer: Preboot v1 (Bootstrap.less) was released under a Creative Commons license and is still
available. Preboot 2 is now under MIT.!
!
Visit site : getpreboot.com!
Mark Otto!
Twitter : @mdo!
http://markdotto.com/ !
24. Adjust
Media
Queries
/*
Large
desktop
*/
@media
(min-‐width:
1200px)
{
...
}
/*
Portrait
tablet
to
landscape
and
desktop
*/
@media
(min-‐width:
768px)
and
(max-‐width:
979px)
{
...
}
/*
Landscape
phone
to
portrait
tablet
*/
@media
(max-‐width:
767px)
{
...
}
/*
Landscape
phones
and
down
*/
@media
(max-‐width:
480px)
{
...
}
25. Site
with
mobile
version
Configured subdomain: http://m.domainsite.com!
!
Advantages:
- Version optimized for faster loading time!
- SEO: caching mobile pages!
!
Make Your Website Work Across Multiple Devices:
http://www.google.com/think/multiscreen/!
26. Applica`ons
iOS Development: Objective-C!
Android Development: Java!
!
!
Or!
hAp://phonegap.com/
SOLUTION: Develop HTML5!
and PhoneGap or Titanium!
PhoneGap: portability application on android, iOS, windows phone, Blackberry!
28. ตัวอย่างเช่น:
MOBILEJOOMLA.COM
Mobile Joomla! is the best way to display your Joomla! site on
iPhone, iPad, Android more w/ up to 4x better performance
compared to responsive and other mobile templates.!
http://www.mobilejoomla.com/!
29. Processing
images
.htaccess
+
file
php
=
adap`ve
image
Adaptive Images detects your visitor's screen size and automatically creates, caches, and delivers device
appropriate re-scaled versions of your web page's embeded HTML images. No mark-up changes needed. It is
intended for use with Responsive Designs and to be combined with Fluid Image techniques.!
http://adaptive-images.com/!
31. Useful
links
• Test: http://emulateurmobile.com/!
• Re-Tester: Module user agent for Firefox!
• Observe: - stats of your sites over several years: !
http://httparchive.org/!
!
Probe:
• Integrate an offline cache html5 for navigation off line on your
mobile: http://appcache.rawkes.com/!