In Drupal, drupal_add_js() and drupal_add_css() are great functions for adding JS/CSS to the module or theme layer. However, if you do this inside of the ‘#markup’ call in Drupal 7, you are doing it wrong. This becomes obvious when you turn block caching or anonymous page caching on, because the JS/CSS won’t be included on the page.Details
Over the years I’ve built many different types of websites. These range from being a few pages, to being very customized with advanced features. I’ve learned there is no clear definition in the best way to create a website.Details
If you don’t already know, the hgroup element is obsolete in HTML5. Advice is now provided in the HTML spec on how to mark up subheadings, subtitles, alternative titles and taglines using existing and implemented HTML features. Russian Translation of this article: Разметка для подзаголовков by Frontender magazine Advice for marking up subheadings and the like The important question for developers is: How do I mark up these buggers???Details
In the first article in this series we looked at the history of HTML5 forms and many of the new attributes available to us. In this second and final part of the series, we’ll look at the new input types available in HTML5. As we’ll see, these new features will go a long way toward making your life easier while delivering a delightful user experience. The best thing about all this? You can start using them now.
This is article is an excerpt from Chapter 6 of Beginning HTML5 and CSS3: The Web Evolved by Christopher Murphy, Oli Studholme, Richard Clark and Divya Manian, published by Apress.Details
Since the release of Drupal 7, there has been much talk about what to expect for the next major release of Drupal. Drupal’s founder Dries Buytaert has outlined some of the goals for Drupal 8. These goals provide some insights into what we are likely to see in the next Drupal version.
A few of the goals Dries has outlined includes the following: to integrate web services, optimize for HTML5, improve configuration management, improve design and usability, and to become mobile and tablet friendly.Details
No doubt you interact with at least one form on the Web every day. Whether you’re searching for content or logging in to your e-mail account or Facebook page, using online forms is one of the most common tasks performed on the Web. As designers and developers, creating forms has a certain monotony about it, particularly writing validation scripts for them. HTML5 introduces a number of new attributes, input types, and other elements for your markup toolkit. In this article we’ll be focussing on the new attributes with a future article looking at the new input types.
As we’ll see, these new features will go a long way toward making your life easier while delivering a delightful user experience. The best thing about all this? You can start using them now. We’ll start with a (very) brief history of HTML5 forms though.Details
The popularity of iPhone has generated a substantial increase in the demand for iPhone Apps from millions of individuals and business users all over the world. Apple’s online store features literally thousands of applications designed to work with iPhone/iPad; however, the market for iPhone Apps is expected to witness further growth in the coming years. Apart from using Apple’s own store, many users are also jail breaking their devices to ensure that they have access to a wider selection of products including third party vendor apps not featured in Apple’s online store. The rising demand for iPhone/iOS apps has led many software development companies to develop apps using languages such as objective C, Java, Python and Ruby.Details