By Christopher Schmitt
Read Online or Download Adapting to Web standards : CSS and Ajax for big sites PDF
Best web programming books
Publication got here in first-class form precisely just like the vendor acknowledged it is going to. strong publication.
Flex four in motion is an easy-to-follow, hands-on Flex four educational. Revised and up-to-date from the former variation on Flex three, this e-book is brim-full of examples, is going past function insurance, and is helping readers positioned Flex to paintings in actual day by day initiatives. This booklet is helping Flex builders make their Flex purposes stick out from the gang.
In case you are an online programmer new to Drupal, this e-book indicates you which ones programming thoughts you should use - and that you should still steer clear of - whilst development customized internet functions with this content material administration framework. Drupal has its personal set of programming rules that require a unique process, and plenty of programmers make blunders while counting on talents they have used for different initiatives.
Additional info for Adapting to Web standards : CSS and Ajax for big sites
Org/QA/Tips/goodclassnames). This discussion also introduces the concept of semantics or meaning in markup.
There are two things wrong with this from a best practices standpoint. Both have to do with the naming of the classes on the
elements: rederror and bolduser both convey presentation information that implies what those elements look like. The standard practice is to avoid basing a name on a description of a “physical” or visual characteristic.
Ul id=”nav-main”> ...
Note that nav-main is inside nav and content-section is inside content. The naming convention strongly conveys this information. In larger teams, it may be a good idea to document the outline hierarchy of the each template’s structure as part of the template inventory: body div#nav div#nav-main ul#nav-sub div#content div#content-section div#content-main div#content-related Chapter Coding the Front End NOTE Where it can be done, the usage of meaningful elements is preferable such as with the usage of the
- elements above.
In all cases, there are tradeoffs between performance, modularity, and ease of maintenance. Linking a single CSS file will place all rules in a single location that is easy to manage, and you can use string searches to find appropriate rules and easily edit the files. At the same time, a single CSS file can be enormous and difficult to manage across an enterprise with a multitude of business channels, requirements of branding or functionality, or a growing team. 49 50 ADAPTING TO WEB STANDARDS An exceptionally flexible approach is using modular sets of CSS files that serve different purposes.