News about CSS4

CSS 3 is still slowly making its way onto the web, but the World Wide Web Consortium (W3C), the governing body that oversees the development of web standards, is already plotting the future of CSS with CSS 4. The W3C recently released the first draft of CSS 4, adding dozens of new rules to make web developers’ lives easier.
The CSS 4 spec is brand new and no web browser actually supports any of these rules yet, but if you’re curious what the next few years will mean for CSS, the first draft offers a sneak peek at what’s in store for web developers.
The biggest news in the current draft of CSS 4 is support for the much-requested parent or “subject” selector. In CSS, rules are typically applied to the innermost selected element. That is, given the chain body header h1, the actual CSS rule will be applied to the h1 element at the end of the chain. CSS 3 offers no way to, say, style the header tag but only if it has an h1 child element. CSS 4 changes that.
CSS 4 includes a means of controlling which element in the selection chain is actually being styled. The easiest way to understand the “subject” selector is by example. Say you want to style a list (ul), but only when the user has clicked on an item in the list. You add a class “clicked” to the item (ul li.clicked) when the user clicks on it, but how do you style the whole list from that class?
Website designers welcome jQuery 2.0 release

jquery-logo1As announced on the Official jQuery Blog, JavaScript library jQuery 2.0 has arrived. The main change appeared to be ditching support for older versions of Internet Explorer: jQuery 2 runs only on IE9 and newer, leaving legacy support in the hands of the (still maintained) 1.x branch.The upshot of this change has been a reduction in file size. The jQuery team stated the final 2.0.0 file is 12 per cent smaller than the 1.9.1 file, mostly due to the “elimination of patches that were only needed for IE 6, 7 and 8”. Android 2.x support is reportedly now also in the firing line, with market-share being closely monitored, until Android 2.x can be crossed off the support list. “We don’t expect it to take very long,” remarked the blog post.

Developers .net spoke to seemed positive about the new release. “I was very pleased to see that jQuery 2.0 has made such significant improvements to the overall build size,” thought Addy Osmani, Developer Programs Engineer at Google. “A 12 per cent decrease is no small feat, and with so many developers focusing on shaving off bytes on network requests for mobile, the availability of a minimalist 10 KB (gzipped) build is fantastic.”

Osmani added that “dropping ‘oldIE’ support was also welcome,” and inline with the web community’s “march towards optimising for modern web browsers”. Developer and writer Jack Franklin agreed that the latest release was “great news for those developers lucky enough to not have to support older browsers,” but he wanted to emphasise jQuery’s consideration for those who aren’t so fortunate: “For those of us—like me—who still have to support those browsers, we won’t notice the difference, because the jQuery team will continue to support, maintain and develop 1.x in tandem with 2.x, with 1.x including the legacy browser support.”

On that basis, Franklin noted that developers should carefully examine their needs rather than immediately move to the new: “If you still need legacy IE support, stick to 1.x. If you don’t, move to 2.x. There are plenty of bug fixes and improvements along with the file-size saving, and the API will be identical across the two versions.” He added that the jQuery team also deserved credit from those making the leap: “Migrating is also really straightforward, with the migrate plug-in that will point out places in your code where you’re using deprecated methods.”

New technologies in website design with HTML5

html5With the introduction of HTML5 web developers and designers gained many new features and accessibility for more complex applications. Users on the other hand, still get a lot fixes, speed boosts, more options for applications and documents while improving the stability of HTML to be able to run low-powered devices such as tablets.

HTML5 markup features new elements and attributes to make video and audio to be able to added to a website a lot easier and faster. The new APIs are “Application Programming Interfaces” that are usable with Javascript which adds a lot of new interactive features that weren’t avaivable before.

The new HTML is used by 34 of world’s top 100 Websites in popularity. HTML5 is a lot more flexible than HTML4.01 in error handling. HTML is getting more and more poplar fast, even Steve Jobs said Apple products don’t need Flash as their devices support HTML5, and that is the future of the internet. HTML5.1 and 5.2 are currently in development by World Wide Web Consortium.

Leave a Reply

Your email address will not be published. Required fields are marked *