fronteers 2009
play

Fronteers 2009 , 2009 - PowerPoint PPT Presentation

Fronteers 2009 , 2009 Molly Holzschlag Peter-Paul Koch Whats New With The The Mobile Web, Or The Mobile Web Masochist's Guide To Gleeful Self-flagellation Chris


  1. Рассказ о конференции Fronteers 2009 Степан Резников, 2009

  2. Molly Holzschlag Peter-Paul Koch What’s New With The The Mobile Web, Or The Mobile Web Masochist's Guide To Gleeful Self-flagellation

  3. Chris Heilmann Stephen Hay Of Hamsters, Feature The Future State of Layout Creatures And Missed Opportunities

  4. John Resig Steve Souders Understanding Even Faster Web Sites JavaScript Testing

  5. Douglas Crockford Ajax Security

  6. Pete LePage Jonathan Snook Using HTML5 The Type We Want: Using Features In IE8 Fonts On The Web

  7. Thomas Fuchs Nicole Sullivan Roll Your Own Effects Object Oriented CSS Framework

  8. Dion Almaer & Ben Galbraith The Future Of Web Applications

  9. Christian Heilmann Of Hamsters, Feature Creatures And Missed Opportunities

  10. Мы перестали пытаться сделать все сами. Много вещей сделанных другими на основе которых мы можем строить свое.

  11. Информация!

  12. APIs

  13. Сложность системы возрастает с количеством используемых API. У разных API разные способы аутентификации, они принимают разные параметры и возвращают данные в разных форматах.

  14. Сотни APIs Изучить документацию Получить developer keys ...

  15. YQL! SQL-подобный язык запросов для получения, фильтрации и комбинирования данных из различных источников Превращает всю сеть в гигантскую базу данных

  16. Фотки из Flickr select * from flickr.photos.search where text="moscow"

  17. Заголовки New York Times select * from nyt.article.search where query="Putin"

  18. Заголовки New York Times на русском select * from google.translate where q in (select title from nyt.article.search where query="Putin") and target="ru"

  19. Поиск сразу в трех поисковиках: Bing, Google и Yahoo select * from query.multi where queries=' select * from microsoft.bing where query="Putin" and source in ("web"); select * from google.search where q="Putin"; select * from search.web where query="Putin" '

  20. Запостить в Twitter use 'http://www.yqlblog.net/samples/twitter.status.xml'; insert into twitter.status (status,username,password) values ( "Рассказываю в Яндексе про YQL", "stepanvr", "12345" )

  21. Обновить весь интернет delete from internet where user_agent="MSIE" and version < 8;

  22. Обновить весь интернет delete from internet where user_agent="MSIE" and version < 8; Not yet, sorry

  23. atom csv feed select * from html json microformats rss xml

  24. Заголовки новостей Яндекса select title from rss where url="http://company.yandex.ru/news/news.rss"

  25. Ду ю спик инглиш? Дую, но плохо :) select * from google.translate where q in ( select title from rss where url="http://company.yandex.ru/news/news.rss" ) and target="en"

  26. Scraping HTML with YQL Можно достать данные из любого HTML-документа. Фиксит документ, пропуская его через HTML Tidy. Позволяет достать любую часть документа с помощью Xpath!

  27. Вакансии Яндекса select content from html where url="http://company.yandex.ru/job/vacancies/" and xpath="//table[contains(@class,'b-vacancy-list')]//ul/li/a"

  28. Также можно добавить свои данные, описав их в простом XML. Open Data Table Community Open Data Tables for YQL datatables.org

  29. http://www.datatables.org/bitly/bit.ly.shorten.xml <table> <meta> <author>Nagesh Susarla</author> <documentationURL> http://code.google.com/p/bitly-api/wiki/ApiDocumentation </documentationURL> </meta> <bindings> <select itemPath="" produces="XML"> <urls> <url>http://api.bit.ly/shorten?version=2.0.1&format=xml</url> </urls> <inputs> <key id="login" type="xs:string" paramType="query" required="true"/> <key id="apiKey" type="xs:string" paramType="query" required="true"/> <key id="longUrl" type="xs:string" paramType="query" required="true"/> <key id="history" type="xs:string" paramType="query"/> </inputs> </select> </bindings> </table>

  30. Ограничения 10 тыс. хитов в час 100 тыс. хитов в день Данные кешируются на 15 минут (скоро можно будет настроить) Ограничение времени исполнения — 30 секунд

  31. YQL http://developer.yahoo.com/yql/

  32. Stephen Hay The Future State of Layout

  33. CSS3

  34. Потрясающе! Media queries More selectors Font stuff ... !

  35. Decoration backgrounds shadows rounded corners

  36. Все это нужно и важно, но нам очень нужна возможность описывать...

  37. Layout

  38. Одна из ключевых проблем веб- разработки — отсутствие хорошего механизма лейаутов.

  39. Почему это важно? Разделение представления и структуры Независимость от порядка в исходном коде Переносимость данных в другие среды

  40. Layout

  41. hasNoLayout

  42. Прошлое: Tables

  43. Настоящее: Floats & Positioning

  44. What is grid layout?

  45. A grid is not a table .

  46. This is a grid.

  47. And this is a table.

  48. A grid is the underlying geometrical framework which defines the visual structure of the canvas.

  49. Не явная сетка Создается не явно при добавлении элементов на страницу. Явная сетка Создается явно до добавления элементов на страницу.

  50. Три рабочих драфта

  51. CSS Grid Positioning Module (Microsoft) http://www.w3.org/TR/css3-grid/ Flexible Box Layout Module (Mozilla) http://www.w3.org/TR/css3-flexbox/ CSS Template Layout Module (W3C) http://www.w3.org/TR/css3-layout/

  52. Grid Positioning Module (Microsoft)

  53. Units

  54. Units vs. Columns

  55. Grid Positioning: свойства grid-columns grid-rows columns columns-width column-gap float float-offset

  56. Grid Positioning: синтаксис div { grid-columns: 69px (12px 69px)[11]; grid-rows: 170px *; }

  57. Grid Positioning: grid units

  58. Grid Positioning: columns div { grid-columns: 69px (12px 69px)[11]; grid-rows: 170px *; columns: 3; column-gap: 12px; }

  59. Grid Positioning: columns

  60. Единица измерения gr Для того, чтобы матчить grid units

  61. Grid Positioning: gr img { float: top left column; float-offset: 1gr 4gr; width: 7gr; }

  62. Grid Positioning: gr

  63. Grid Positioning простой синтаксис *-syntax gr unit явная сетка

  64. Grid Positioning Можно попробовать? Нет :( Пока нет известных имплементаций.

  65. Flexible Box Layout Module (Mozilla)

  66. A small part of XUL, ported to CSS.

  67. Flexible Box: свойства box-align box-direction box-flex box-flex-group box-lines box-ordinal-group box-orient box-pack

  68. Flexible Box: синтаксис <div id="parent"> <p id="child1">First</p> <p id="child2">Second</p> <p id="child3">Third</p> </div> #parent { display: box; box-orient: horizontal; width: 100%; }

  69. Свойство box-flex «заполнить доступное пространство» #child3 { box-flex: 1; }

  70. #child2 { box-flex: 2; } #child3 { box-flex: 1; }

  71. Flexible Box простой синтаксис независимость от порядка в исходном коде неявная сетка

  72. Flexible Box Можно попробовать? Да! В Firefox, используя префикс -moz (демонстрация)

  73. Template Layout Module (W3C)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend