SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
Rapid Prototyping
      Even Wu
• 30~40 mins Talk
• 20~30 mins Q&A + Live Demo
http://evendesign.tw
http://rocodev.com
Prototyping Tools

• Photoshop / Illustrator / Artwork...
• Dreamweaver or handcraft HTML / CSS...
• Back-end Code...
• Axure RP?...
• Keynote?...
很久以前...
           BOSS




           PM
           翻譯官



Designer          Developer
今天

           co-work
Designer             Developer



           產品
今天

 老闆?                 老闆?...XD
           co-work
Designer             Developer



           產品
Rapid Prototyping
流程的改變

• Logo & Branding
• Design Colors
• Design partials
• Design layouts
• Fonts & Rhythm
天瓏
書局
widget



         widget
工具的改變

• ruby
• middleman
• sass/compass
  framework
• haml markup
Middleman
middleman init new_project_name



.
!"" config.rb
#"" source
    !"" index.html.haml
    !"" javascripts
    $   #"" all.js
    !"" layout.haml
    #"" stylesheets
        #"" all.css.scss
Middleman
                 css, js, img... 路徑, 壓縮方式...

.                             haml
!"" config.rb
#"" source
    !"" index.html.haml
    !"" javascripts
    $   #"" all.js             scss / compass
    !"" layout.haml
    #"" stylesheets
        #"" all.css.scss
Middleman
= partial ”partial_name”
                ruby
                                rails helper
- 5.times do
  %li= link_to( @name, @url )



<html>
<head>
  <title>text</title>
</head>           content
<body>
  <%= yield %>
</body>
</html>
<html>
<head>
                        %html
  <title>text</title>
                          %head
</head>
                            %title text
<body>
                          %body
  <%= yield %>
                            = yield
</body>
</html>
<div class=”book”>
  <div>
    <h2>text</h2>         .book
  </div>                    %div
  <article>                   %h2 text
    <div class=”inner”>     %article
       <%= yield %>           .inner
    </div>                       = yield
  </article>
</div>
<div class=”book”>
  <div>
    <h2>text</h2>         .book
  </div>                    %div
  <article>                   %h2 text
    <div class=”inner”>     %article
       <%= yield %>           .inner
    </div>                       = yield
  </article>
</div>



<div class=”book”>
  <h2>text</h2>           .book
  <article>                 %h2 text
    <%= yield %>            %article
  </article>                  = yield
</div>
compass


• 使用語言 sass http://sass-lang.com
  其實就跟 less 差不多好用

• 但加上 compass 後完全不⼀一樣
compass basic

@import “compass”;

@include global-reset;
• Logo & Branding
• Design Colors
• Design partials
• Design layouts
• Fonts & Rhythm
blog design


                          partials
#"" stylesheets
    !"" _article.scss
    !"" _formalize.sass
    !"" _global.scss
    !"" _icon.scss
    !"" _layout.scss      hacks
    !"" _setting.scss
    !"" _superfish.scss   import them...
    !"" ie.css.scss
    #"" main.css.scss
#"" stylesheets
    !"" _ggs.scss
    !"" _setup.scss
    !"" ggs
    $   !"" _border-box.scss
    $   !"" _default-style.scss
                                      import media...
    $   !"" _mixins.scss
    $   !"" _prettify.scss
    $   !"" _responsive-layout.scss
    $   !"" _type-size-presets.scss
    $   #"" media
    $       !"" _desktop-wide.scss
    $       !"" _desktop-wide2.scss
    $       !"" _desktop-wide3.scss
    $       !"" _desktop.scss
    $       !"" _mobile-wide.scss
    $       !"" _mobile.scss
    $       !"" _tablet-wide.scss
    $       #"" _tablet.scss
    #"" main.css.scss
殺手功能簡介
css                          scss
a {                         a {
  color: blue;                color: blue;
}                             &:hover {
a:hover {                       color: black;
  color: black;               }
}                             &:visited {
a:visited {                     color: blue;
  color: blue;                }
}                           }



                  compass

a {
  @include link-colors(blue, black);
}
compass css3
   @include border-radius(5px);




              prefix
    -ms-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -khtml-border-radius: 5px;



$experimental-support-for-khtml: false
$experimental-support-for-mozilla: false
inline block
    @include inline-block;




@mixin inline-block {
  @if $legacy-support-for-ie {
    & {                     hack
      *display: inline; } }
  display: -moz-inline-box;        hack
  -moz-box-orient: vertical;
  display: inline-block;
  vertical-align: middle;
                                   hack
  @if $legacy-support-for-ie {
    *vertical-align: auto; } }
圖片取代文字
                  量⼀一下圖片寬高 orz...

width: 439px;             高手都知道的普通技巧 orz...
height: 276px;
text-indent: -99999px;
background: url(logo.png) no-repeat;


              clearfix
                           hack
         .group {
           *zoom: 1;      hack
         }
         .group:after {
           content: “”;
           display: table;
           clear: both;
         }
圖片取代文字
@include replace-text-with-dimensions($img);


                                    沒人在算寬高的啦XDDD



                 clearfix
           @include pie-clearfix;
                     or
             @include clearfix;


                    沒人在記 ie 怎麼 hack 的啦
內建 Vertical Rhythm!!
內建 Vertical Rhythm!!


$base-font-size: 16px;
$base-line-height: 24px;
@import “compass”;

h2 {
  @include adjust-font-size-to(24px);
}

                                font-size: 0.938em;
                                line-height: 1.6em;

                                電腦幫你算啦!!!
Spriting with Compass
@import "icon/*.png";
@include all-icon-sprites;

           自動產生 (^o^)

.icon-sprite,
.icon-delete,
.icon-edit,
.icon-new,
.icon-save    { background: url('/images/icon-
s34fe0604ab.png') no-repeat; }
                                                     沒人在算座標的啦

.icon-delete   {   background-position:   0   0; }
.icon-edit     {   background-position:   0   -32px; }
.icon-new      {   background-position:   0   -64px; }
.icon-save     {   background-position:   0   -96px; }
更多請參閱
非 ruby,rails 專案可使用...
Q&A
http://rgba.tw
Thanks.

http://rocodev.com       http://rgba.tw




             Twitter @evenwu

Weitere ähnliche Inhalte

Was ist angesagt?

HTML5のメリットを活かしたコンテンツアイデア
HTML5のメリットを活かしたコンテンツアイデアHTML5のメリットを活かしたコンテンツアイデア
HTML5のメリットを活かしたコンテンツアイデアTakami Yamada
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockMarco Pinheiro
 
Bringing Typography to the Web with sIFR 3 at <head>
Bringing Typography to the Web with sIFR 3 at <head>Bringing Typography to the Web with sIFR 3 at <head>
Bringing Typography to the Web with sIFR 3 at <head>Mark Wubben
 
Teddy Bear Blue
Teddy Bear BlueTeddy Bear Blue
Teddy Bear Blueangeliclv
 
DBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たちDBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たちRyo Miyake
 
Web Typography with sIFR 3 at Drupalcamp Copenhagen
Web Typography with sIFR 3 at Drupalcamp CopenhagenWeb Typography with sIFR 3 at Drupalcamp Copenhagen
Web Typography with sIFR 3 at Drupalcamp CopenhagenMark Wubben
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSSRachel Andrew
 
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designSCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designFrédéric Harper
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publiEddy_TKJ
 
Nanoformats
NanoformatsNanoformats
Nanoformatsrozario
 
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)CSS Grid Layout is Just Around the Corner (CSSConf US 2015)
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)Igalia
 
PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)TaiShunHuang
 
Worth the hype - styled components
Worth the hype - styled componentsWorth the hype - styled components
Worth the hype - styled componentskathrinholzmann
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & CompassRob Davarnia
 

Was ist angesagt? (20)

Md5 decrypter
Md5 decrypterMd5 decrypter
Md5 decrypter
 
HTML5のメリットを活かしたコンテンツアイデア
HTML5のメリットを活かしたコンテンツアイデアHTML5のメリットを活かしたコンテンツアイデア
HTML5のメリットを活かしたコンテンツアイデア
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
 
Bringing Typography to the Web with sIFR 3 at <head>
Bringing Typography to the Web with sIFR 3 at <head>Bringing Typography to the Web with sIFR 3 at <head>
Bringing Typography to the Web with sIFR 3 at <head>
 
Haml, Sass & Compass
Haml, Sass & CompassHaml, Sass & Compass
Haml, Sass & Compass
 
Teddy Bear Blue
Teddy Bear BlueTeddy Bear Blue
Teddy Bear Blue
 
DBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たちDBIx::Skinnyと仲間たち
DBIx::Skinnyと仲間たち
 
Web Typography with sIFR 3 at Drupalcamp Copenhagen
Web Typography with sIFR 3 at Drupalcamp CopenhagenWeb Typography with sIFR 3 at Drupalcamp Copenhagen
Web Typography with sIFR 3 at Drupalcamp Copenhagen
 
Speeding up Red Team engagements with carnivorall
Speeding up Red Team engagements with carnivorallSpeeding up Red Team engagements with carnivorall
Speeding up Red Team engagements with carnivorall
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSS
 
Css web side
Css web sideCss web side
Css web side
 
LESS
LESSLESS
LESS
 
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your designSCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
SCREENS - 2012-09-28 - Responsive Web Design, get the best from your design
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publi
 
Nanoformats
NanoformatsNanoformats
Nanoformats
 
This is a test
This is a testThis is a test
This is a test
 
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)CSS Grid Layout is Just Around the Corner (CSSConf US 2015)
CSS Grid Layout is Just Around the Corner (CSSConf US 2015)
 
PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)PHP記帳網頁教材(第一頁是空白的)
PHP記帳網頁教材(第一頁是空白的)
 
Worth the hype - styled components
Worth the hype - styled componentsWorth the hype - styled components
Worth the hype - styled components
 
Getting Started with Sass & Compass
Getting Started with Sass & CompassGetting Started with Sass & Compass
Getting Started with Sass & Compass
 

Ähnlich wie Rapid Prototyping

Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)emrox
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors. Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors. The University of Akron
 
Advanced Technology for Web Application Design
Advanced Technology for Web Application DesignAdvanced Technology for Web Application Design
Advanced Technology for Web Application DesignBryce Kerley
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentationMario Noble
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebEduardo Shiota Yasuda
 
Palestra pré processadores CSS
Palestra pré processadores CSSPalestra pré processadores CSS
Palestra pré processadores CSSJust Digital
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeDerek Christensen
 
Using Sass - Building on CSS
Using Sass - Building on CSSUsing Sass - Building on CSS
Using Sass - Building on CSSSayanee Basu
 
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassBringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassClaudina Sarahe
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatRachel Andrew
 
CSS 開發加速指南-Sass & Compass
CSS 開發加速指南-Sass & CompassCSS 開發加速指南-Sass & Compass
CSS 開發加速指南-Sass & CompassLucien Lee
 
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"bentleyhoke
 
CSS: A Slippery Slope to the Backend
CSS: A Slippery Slope to the BackendCSS: A Slippery Slope to the Backend
CSS: A Slippery Slope to the BackendFITC
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsKaelig Deloumeau-Prigent
 
Web Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosWeb Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosMatteo Papadopoulos
 

Ähnlich wie Rapid Prototyping (20)

Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)
 
Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors. Managing responsive websites with css preprocessors.
Managing responsive websites with css preprocessors.
 
Sass compass
Sass compassSass compass
Sass compass
 
Advanced Technology for Web Application Design
Advanced Technology for Web Application DesignAdvanced Technology for Web Application Design
Advanced Technology for Web Application Design
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da Web
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
Palestra pré processadores CSS
Palestra pré processadores CSSPalestra pré processadores CSS
Palestra pré processadores CSS
 
CSS3
CSS3CSS3
CSS3
 
From PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to lifeFrom PSD to WordPress Theme: Bringing designs to life
From PSD to WordPress Theme: Bringing designs to life
 
Using Sass - Building on CSS
Using Sass - Building on CSSUsing Sass - Building on CSS
Using Sass - Building on CSS
 
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and CompassBringing sexy back to CSS: SASS/SCSS, LESS and Compass
Bringing sexy back to CSS: SASS/SCSS, LESS and Compass
 
Theming and Sass
Theming and SassTheming and Sass
Theming and Sass
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for that
 
CSS 開發加速指南-Sass & Compass
CSS 開發加速指南-Sass & CompassCSS 開發加速指南-Sass & Compass
CSS 開發加速指南-Sass & Compass
 
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
Brian Hoke: WordCamp Toronto 2014 Presentation "Sass & WordPress"
 
CSS: A Slippery Slope to the Backend
CSS: A Slippery Slope to the BackendCSS: A Slippery Slope to the Backend
CSS: A Slippery Slope to the Backend
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
 
CSS Extenders
CSS ExtendersCSS Extenders
CSS Extenders
 
Web Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosWeb Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaos
 

Mehr von Even Wu

WebFont & CSS3 交響曲
WebFont & CSS3 交響曲WebFont & CSS3 交響曲
WebFont & CSS3 交響曲Even Wu
 
Middleman 一小時完成你的專案原形
Middleman 一小時完成你的專案原形Middleman 一小時完成你的專案原形
Middleman 一小時完成你的專案原形Even Wu
 
Welcome! RGBA
Welcome! RGBAWelcome! RGBA
Welcome! RGBAEven Wu
 
設計與程式的溝通之道
設計與程式的溝通之道設計與程式的溝通之道
設計與程式的溝通之道Even Wu
 
Iphone icon design
Iphone icon designIphone icon design
Iphone icon designEven Wu
 
basic web typography
basic web typographybasic web typography
basic web typographyEven Wu
 

Mehr von Even Wu (6)

WebFont & CSS3 交響曲
WebFont & CSS3 交響曲WebFont & CSS3 交響曲
WebFont & CSS3 交響曲
 
Middleman 一小時完成你的專案原形
Middleman 一小時完成你的專案原形Middleman 一小時完成你的專案原形
Middleman 一小時完成你的專案原形
 
Welcome! RGBA
Welcome! RGBAWelcome! RGBA
Welcome! RGBA
 
設計與程式的溝通之道
設計與程式的溝通之道設計與程式的溝通之道
設計與程式的溝通之道
 
Iphone icon design
Iphone icon designIphone icon design
Iphone icon design
 
basic web typography
basic web typographybasic web typography
basic web typography
 

Kürzlich hochgeladen

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Kürzlich hochgeladen (20)

Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

Rapid Prototyping

  • 2. • 30~40 mins Talk • 20~30 mins Q&A + Live Demo
  • 5. Prototyping Tools • Photoshop / Illustrator / Artwork... • Dreamweaver or handcraft HTML / CSS... • Back-end Code... • Axure RP?... • Keynote?...
  • 6. 很久以前... BOSS PM 翻譯官 Designer Developer
  • 7. 今天 co-work Designer Developer 產品
  • 8. 今天 老闆? 老闆?...XD co-work Designer Developer 產品
  • 10. 流程的改變 • Logo & Branding • Design Colors • Design partials • Design layouts • Fonts & Rhythm
  • 12.
  • 13.
  • 14. widget widget
  • 15.
  • 16.
  • 17. 工具的改變 • ruby • middleman • sass/compass framework • haml markup
  • 18.
  • 19. Middleman middleman init new_project_name . !"" config.rb #"" source !"" index.html.haml !"" javascripts $   #"" all.js !"" layout.haml #"" stylesheets #"" all.css.scss
  • 20. Middleman css, js, img... 路徑, 壓縮方式... . haml !"" config.rb #"" source !"" index.html.haml !"" javascripts $   #"" all.js scss / compass !"" layout.haml #"" stylesheets #"" all.css.scss
  • 21. Middleman = partial ”partial_name” ruby rails helper - 5.times do %li= link_to( @name, @url ) <html> <head> <title>text</title> </head> content <body> <%= yield %> </body> </html>
  • 22.
  • 23. <html> <head> %html <title>text</title> %head </head> %title text <body> %body <%= yield %> = yield </body> </html>
  • 24. <div class=”book”> <div> <h2>text</h2> .book </div> %div <article> %h2 text <div class=”inner”> %article <%= yield %> .inner </div> = yield </article> </div>
  • 25. <div class=”book”> <div> <h2>text</h2> .book </div> %div <article> %h2 text <div class=”inner”> %article <%= yield %> .inner </div> = yield </article> </div> <div class=”book”> <h2>text</h2> .book <article> %h2 text <%= yield %> %article </article> = yield </div>
  • 26.
  • 27. compass • 使用語言 sass http://sass-lang.com 其實就跟 less 差不多好用 • 但加上 compass 後完全不⼀一樣
  • 29. • Logo & Branding • Design Colors • Design partials • Design layouts • Fonts & Rhythm
  • 30. blog design partials #"" stylesheets !"" _article.scss !"" _formalize.sass !"" _global.scss !"" _icon.scss !"" _layout.scss hacks !"" _setting.scss !"" _superfish.scss import them... !"" ie.css.scss #"" main.css.scss
  • 31. #"" stylesheets !"" _ggs.scss !"" _setup.scss !"" ggs $   !"" _border-box.scss $   !"" _default-style.scss import media... $   !"" _mixins.scss $   !"" _prettify.scss $   !"" _responsive-layout.scss $   !"" _type-size-presets.scss $   #"" media $   !"" _desktop-wide.scss $   !"" _desktop-wide2.scss $   !"" _desktop-wide3.scss $   !"" _desktop.scss $   !"" _mobile-wide.scss $   !"" _mobile.scss $   !"" _tablet-wide.scss $   #"" _tablet.scss #"" main.css.scss
  • 33. css scss a { a { color: blue; color: blue; } &:hover { a:hover { color: black; color: black; } } &:visited { a:visited { color: blue; color: blue; } } } compass a { @include link-colors(blue, black); }
  • 34. compass css3 @include border-radius(5px); prefix -ms-border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; -khtml-border-radius: 5px; $experimental-support-for-khtml: false $experimental-support-for-mozilla: false
  • 35. inline block @include inline-block; @mixin inline-block {   @if $legacy-support-for-ie {     & { hack       *display: inline; } }   display: -moz-inline-box; hack   -moz-box-orient: vertical;   display: inline-block;   vertical-align: middle; hack   @if $legacy-support-for-ie {     *vertical-align: auto; } }
  • 36. 圖片取代文字 量⼀一下圖片寬高 orz... width: 439px; 高手都知道的普通技巧 orz... height: 276px; text-indent: -99999px; background: url(logo.png) no-repeat; clearfix hack .group { *zoom: 1; hack } .group:after { content: “”; display: table; clear: both; }
  • 37. 圖片取代文字 @include replace-text-with-dimensions($img); 沒人在算寬高的啦XDDD clearfix @include pie-clearfix; or @include clearfix; 沒人在記 ie 怎麼 hack 的啦
  • 39. 內建 Vertical Rhythm!! $base-font-size: 16px; $base-line-height: 24px; @import “compass”; h2 { @include adjust-font-size-to(24px); } font-size: 0.938em; line-height: 1.6em; 電腦幫你算啦!!!
  • 40. Spriting with Compass @import "icon/*.png"; @include all-icon-sprites; 自動產生 (^o^) .icon-sprite, .icon-delete, .icon-edit, .icon-new, .icon-save { background: url('/images/icon- s34fe0604ab.png') no-repeat; } 沒人在算座標的啦 .icon-delete { background-position: 0 0; } .icon-edit { background-position: 0 -32px; } .icon-new { background-position: 0 -64px; } .icon-save { background-position: 0 -96px; }
  • 43. Q&A
  • 45. Thanks. http://rocodev.com http://rgba.tw Twitter @evenwu