消费导航项目小结
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
1,127
On Slideshare
1,107
From Embeds
20
Number of Embeds
1

Actions

Shares
Downloads
24
Comments
1
Likes
5

Embeds 20

http://product.alipay.net 20

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

























Transcript

  • 1. Python+YUI compressor+Google compressor
  • 2. STEP 1 static css js pub config tools user persn admin-global.js admin.xml compiler-google.jar admin-global.css admin admin front.xml compiler-yahoo.jar front front front-core.css user.xml build.py index.css index.js front-index.css personal.xml front-index.js
  • 3. STEP 2
  • 4. md5Hash( '../' + ochild.text) if(( oldMD5 != newMD5)) ochild.set( 'ver',str(int(ver) + 1) )
  • 5. 1. <CMS name=”1”></CMS> <MM name=” ”> 2. <BB name=” 1”> <a href=”##text: 1”>##text: 1</a> </BB> </MM> ##text: 1 => http://www.alipay.com 3. ##text: 1 => !
  • 6. <MM name=” ”> <div> <BB name=” 1”> <a href=”##text: 1”>##text: 1</ a> </BB> </div>
  • 7. 
  • 8. l-g-16 l-g-3 l-g-13
  • 9. Python+ImageMagic convert "+ filePath +" -compress JPEG -quality 85 activity 300M 200M
  • 10. YUI 3 YUI({ base: "../../build/", timeout: 10000, charset:'utf-8', combine:true, modules:{ calendar:{ type:'js', path:'calendar/calendar.js', requires:['node'] } } }).use('calendar', function(Y){ var calendar = new Y.Calendar({ el: '#J_A' }); });
  • 11. Lighter Faster More Consistent More Powerful More Securable
  • 12. YUI Global Object   
  • 13. Event       
  • 14. Node