issue127:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue127:c_c [2017/12/03 08:13] – d52fr | issue127:c_c [2017/12/04 09:37] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | //**N.B., Bab, le titre du mois dernier devrait être remplacer par AMP, tout simplement !!**// | ||
+ | |||
**Earlier this month, I went to the AMP Roadshow as it arrived in my city. It took place at the local Google headquarters, | **Earlier this month, I went to the AMP Roadshow as it arrived in my city. It took place at the local Google headquarters, | ||
- | Plus tôt ce mois-ci, je suis allé à l'AMP Roadshow qui arrivait dans ma ville. Il s' | + | Plus tôt ce mois-ci, je suis allé à l'AMP Roadshow qui arrivait dans ma ville. Il s' |
**Learning by Example | **Learning by Example | ||
Ligne 17: | Ligne 19: | ||
• https:// | • https:// | ||
- | La meilleure façon d' | + | La meilleure façon d' |
Ligne 24: | Ligne 26: | ||
No. If you want to use a static site generator (such as Grow), you can embed the CSS directly into the page (required by AMP), and can set up predefined HTML structures to drop content into. If you’re instead looking for a plugin for a CMS, there are apparently plugins for Wordpress or Drupal. There’s also a project on GitHub called amp-library, | No. If you want to use a static site generator (such as Grow), you can embed the CSS directly into the page (required by AMP), and can set up predefined HTML structures to drop content into. If you’re instead looking for a plugin for a CMS, there are apparently plugins for Wordpress or Drupal. There’s also a project on GitHub called amp-library, | ||
- | Devez-vous écrire tout le HTML à la main ? | ||
- | Non. Si vous voulez utiliser un générateur de site statique (tel que Grow), vous pouvez incorporer le CSS directement dans la page (requis par AMP), et vous pouvez paramétrer les structures HTML pour y inclure le contenu. Si, au contraire, vous chercher un module intégré pour un CMS, il y a apparemment des plugins pour Wordpress et Drupal. Il y a aussi un projet sur Github, appelé amp-library, | + | Dois-je écrire tout le HTML à la main ? |
+ | |||
+ | Non. Si vous voulez utiliser un générateur de site statique (tel que Grow), vous pouvez incorporer le CSS directement dans la page (requis par AMP), et vous pouvez paramétrer les structures HTML pré-définies | ||
Ligne 32: | Ligne 35: | ||
Yes. As with any programming exercises, you learn more by doing it all by hand at first, before relying on tools to automate tasks. The more you have to write the HTML for an element, after all, the better you’ll remember it later. Naturally, if time is of the essence, do whatever you can to speed up the process. If you end up with some free time later, you can always return to manually writing it.** | Yes. As with any programming exercises, you learn more by doing it all by hand at first, before relying on tools to automate tasks. The more you have to write the HTML for an element, after all, the better you’ll remember it later. Naturally, if time is of the essence, do whatever you can to speed up the process. If you end up with some free time later, you can always return to manually writing it.** | ||
+ | |||
+ | Dois-je écrire à la main tout le HTML et incorporer le CSS ? | ||
+ | |||
+ | Oui. Comme pour tout exercice de programmation, | ||
**What about interactivity? | **What about interactivity? | ||
A relatively recent addition to AMP is amp-bind. It allows you to store state and interconnect elements within a page. A nice example of that is on AMP By Example: https:// | A relatively recent addition to AMP is amp-bind. It allows you to store state and interconnect elements within a page. A nice example of that is on AMP By Example: https:// | ||
+ | |||
+ | Et pour l' | ||
+ | |||
+ | amp-bind est un ajout relativement récent à AMP. Il vous permet de stocker l' | ||
**My Website is a Progressive Web App - can I use AMP? | **My Website is a Progressive Web App - can I use AMP? | ||
Ligne 44: | Ligne 55: | ||
A codelab to teach you this can be found here: https:// | A codelab to teach you this can be found here: https:// | ||
+ | |||
+ | Mon site Web est une appli Web évolutive - puis-je utiliser AMP ? | ||
+ | |||
+ | En fait, cela fut beaucoup traité lors de l'AMP Roadshow. La capacité d' | ||
+ | |||
+ | De plus, il est possible de créer un cadre pour PWA, qui charge ensuite du contenu à partir des pages d'AMP en utilisant un DOM fantôme. | ||
+ | |||
+ | Un codelab pour vous apprendre ceci peut être trouvé ici : https:// | ||
+ | |||
**Conclusion | **Conclusion | ||
Ligne 50: | Ligne 70: | ||
I hope this article was interesting to at least a few readers. And perhaps a few of you will be trying AMP in the future - will maybe even contribute to the project. If you have any questions about AMP, you’re welcome to contact the AMP team on GitHub or Twitter, or email me at lswest34+fcm@gmail.com. If you have requests for other articles, please send them to me as well.** | I hope this article was interesting to at least a few readers. And perhaps a few of you will be trying AMP in the future - will maybe even contribute to the project. If you have any questions about AMP, you’re welcome to contact the AMP team on GitHub or Twitter, or email me at lswest34+fcm@gmail.com. If you have requests for other articles, please send them to me as well.** | ||
+ | |||
+ | Conclusion | ||
+ | |||
+ | AMP est une merveilleuse bibliothèque à laquelle accéder. Elle offre un bon équilibre entre la facilité d' | ||
+ | |||
+ | J' |
issue127/c_c.1512285234.txt.gz · Dernière modification : 2017/12/03 08:13 de d52fr