Reference Library

files, bookmarks, contacts, notes, pictures, and more...

This is a public Reference Library  publicRSS

Book

    • Adapting To Web Standards Css and Ajax for Big...
      Book posted 11/11/08 by alejandro_maug
      226 Views, 0 Comments
      Title:
      Adapting To Web Standards Css and Ajax for Big Sites
      Author:
      Christopher Schmitt, Kimberly Blessing, Rob Cherny, Meryl K. Evans, Kevin Lawver, Mark Trammell
      Genre:
      web
      ISBN:
      ISBN-10: 0-321-50182-9 ISBN-13: 978-0-321-50182-0
      Cover Image:
      Purchase:
      Rating:
      Review:

      # Published Dec 14, 2007 by New Riders.
      # Copyright 2008
      # Dimensions 7 X 9
      # Pages: 288
      # Edition: 1st.

      Este libro desde su inicio empieza con una breve introducción de lo que es Hml y xHtml las diferencias de sintaxis entre ambos. Pero esta breve introducción dura nada y ya en sus primeras páginas comienza a mostrar ejemplos interesantes como el caso del apartado que trata el tema del "quirks mode" y como algunas páginas conocidas, como cssbeauty.com, si alguien le saca el DTD se desmonta todo.

      Se nos recuerda el tema del modelo de cajas donde en anteriores exploradores como IE4,IE5, IE5.5 el contenido tomaba los márgenes + el borde + el padding como medida de caja y no como ahora, en actuales navegadores, solo el contenido. Para este tema hay muchas formas de tratarlos (hacks) y parece que el preferido sigue siendo el de usar los comentarios condicionales.

      urls para profundizar:
      http://www.cs.tut.fi/~jkorpela/quirks-mode.html
      http://msdn2.microsoft.com/en-us/library/bb250395.aspx

      Al avanzar empieza a tratar el tema de hojas de estilo donde nos cuentan la forma de trabajar con los estilos para grandes sitios. También nos hace una introducción a los micro formatos como tener el famoso vcard

      En el mismo capítulo 2 he descubierto algo que es una de mis primeras señalizaciones lo de ver la solución en apache para obligar que muestre los archivos como text/css que es algo común cuando vemos alguna página que el estilo no se carga. Con una simple línea en el .htaccess podemos solucionarlo.


      Al pasar de capitulo nos vamos a trabajar con Ajax y Unobtrusive Scripting. Aquí hace unas breves referencias al trabajo con jQuery y se mencionan otros Frameworks donde se hace un gran planteo a pesar de que los Frameworks nos hacen el Ajax simple el uso de los mismos debe ser una decisión razonada previamente.

      Recuerdo que leyendo en el próximo capitulo también marcado por mi veo un ejemplo de la declaración de un estilo css

      input[type=submit] { }

      Donde se puede asignar solo a los botones pues en algunos casos definen los input afectando tanto a campos de texto como a botones. Es un buen apunte a tomar.

      Este libro en el capítulo 4 trata temas basándose en aplicaciones de software pero utilizando asp.net y por razones de que no es una plataforma con la que trabaje actualmente pues lo he dejado de lado.

      Ya en el capítulo 6 empezamos a ver caso de trabajos reales como en este caso EverythingTori.com donde muestran como empezaron y como crearon su prototipo ,el mapa del sitio, discutir con el cliente el mismo. Como siguieron mostrando sus prototipos y en este caso la decisión de usar un cms open source (ExpressionEngine´s). Aprovechan y nos muestran algo de textos sobre las reuniones que han tenido. La verdad muy interesante

      Este mismo planteo lo repiten en parte para el caso de AOL.com donde se centran en el tema de los tamaños de la pagina y aprovechan a mostrarnos un código JS para calcular el tamaño de una página. Se nos explica aquí cosas a tener en cuenta en desarrollo de sitios de gran tamaño.

      Este libro no es un libro muy extenso son 288 páginas y mis últimas anotaciones han sido en el apéndice c donde tenemos algunas urls para comprobar la optimización de carga de la página como ser:
      http://yuiblog.com/blog/2006/11/28/performance-research-part-1/
      http://developer.yahoo.net/blog/archives/2007/04/rule_1_make_few.html
      http://www.die.net/musings/page_load_time/
      Donde vemos referencias a Firebug y finalmente la referencia a una chuleta sobre CSS selectors hay algunos que conocemos y otros que quizás no teníamos en cuenta.

      Un libro finalmente que fue de lectura muy rápida y muy interesante al punto que en un día he podido capturar todo su contenido.

      más info en Peachpit.com.

      ****

      English Versión

      ****

      This book begins with a short introduction about Html and xHtml including differences between both syntaxs. But this is a very short introduction that shows interesting examples from its front pages, like the paragraph that deals about "quirks mode" or same famous web sites like cssbeauty.com. If someone takes away the DTD everything collapses.

      We are reminded the subject about the boxes model in previous browsers like IE4,IE5, IE5.5, where the content took the margins, + the edge, + the padding as a box measure, and not as current browsers that only takes the content. There are many ways to treat them (hacks), but the most common is the one that uses conditional comments.

      Urls to deepen:

      http://www.cs.tut.fi/~jkorpela/quirks-mode.html
      http://msdn2.microsoft.com/en-us/library/bb250395.aspx

       

      Later, it talks about style sheets. It explains how to work with styles for big sites. It also introduces us to microformats (http://www.microformats.org/wiki/what-are-microformats) and how to obtain the famous vcard.

      In the same chapter (chapter 2), I have discovered something important: the way to solve the problem about showing text/css files in apache, a common problem when stylesheets don´t load. We can fix it with a simple line in the. Htaccess.

      In chapter three we are going to work with Ajax and Unobtrusive Scripting. This chapter makes some brief references to how to work with jQuery. It also mentions other Frameworks “ where a great approach is done despiste of Frameworks is done by Ajax. Where the use of themselve has to be thought previously

      In the next chapter there is an example of a CSS style declaration.

      input[type=submit] { }

       

      Where it can be assigned only to buttons since in some cases inputs are defined affecting text and buttons. This is a point to consider

      Chapter 4 talks about software applications using asp.net. and because I am not currently working with it I have forgotten it a bit

      In chapter 6 we can see real work cases such as EverythingTori.com. We can see the way they began and how they created it own prototype, it site map and how to deal with clients. They decided to use a cms open source (ExpressionEngine´s) and they show us the texts they used in their meetings. Very interesting.

       

      The same approach is repeated in the AOL.com case: they focus on the webpage sizes and show us JS codes to calculate the size of a site. They also explain some advices for developing big sites.

       

      This is not a big book, there are only 288 pages and my last contribution can be found in the appendix to checking the optimizing page load:

      http://yuiblog.com/blog/2006/11/28/performance-research-part-1/
      http://developer.yahoo.net/blog/archives/2007/04/rule_1_make_few.html
      http://www.die.net/musings/page_load_time/

      There are some references to Firebug and finally references to CSS selectors. We knew about some of them and others we didn’t know.

      It is a very interesting book and quiet easy to read, because in a day you can grasp all its contents.

      Translate by: Apartments Barcelona

      Keywords:
      web,standards