Back to NSDesign Blog Homepage NSDesign Web Design and Hosting
NSDesign Blog
interesting thoughts on web design, social media, hosting, seo and other stuff...

Posts Tagged ‘Javascript’

94% of mobile developers will be using HTML5 by next year

Monday, November 12th, 2012

New research from mobile app development software company Kendo has revealed the overwhelming popularity of HTML5 technology. Their recent HTML5 2012 Adoption Survey, which reported the opinions of more than 4,000 developers in September this year, showed that a staggering 94% of developers were already using HTML5, or intended to do so by the end of 2012. Opinion also remained positive when the survey questioned possibilities for the future, with more than 90% stating their belief that their ability to work with HTML5 will be an important career skill over the next two years.

HTML5 is essentially a web design mark-up language, used for structuring and presenting content for the internet. As the name suggests, it is the 5th version of the software, and in fact, Kendo’s survey revealed that much of the popularity of HTML5 seems to stem from the fact that it is already familiar territory. 72% of those surveyed said that they favoured the software because of the ‘familiarity of languages (HTML, JavaScript, CSS)’, although ‘cross platform support’ and ‘performance’ were also frequented cited reasons. However, whatever the cause, the importance of HTML5 is set to continue to increase over the coming months and years. Are you already using HTML5 for your business’ web design needs?

Custom Font Replacement Techniques, Sifr and Cufon

Tuesday, March 17th, 2009

I have come across quite a lot of articles recently discussing including custom fonts in web pages. With typography playing such a key role in design, it continues to be one of the major restrictions designers face when designing for the web. When the web world wide web first began the focus was on hyperlinking and allowing access to other documents but considering how far the web has come today and all that is possible, font embedding seems like a basic idea. The biggest underlying issue seems to be managing the distribution of copyrighted fonts. Sifr offers a very useful solution to the issue for the time being, allowing font replacement through the use of Flash. It is accessible across browsers and the text can be selected on the page though some minor drawbacks have been highlighted. Some of these are:

- The inability to alter kerning of the characters.

- Flash has often been criticised for its poor anti-aliasing and this can sometimes show on the rendered text.

- Sifr can be tricky to setup and get working correctly.

- Sifr fonts cannot be scaled when you change the size of font in the browser. It only changes when the page is reloaded. Some consider this quite a serious usability problem, though because Sifr is mostly used on headers and large areas of text that probably wont require scaling, this is debatable.

- It requires the user to have Flash though nowadays almost 95% of web users have this.

A convincing alternative to Sifr which I came across recently is Cufon developed by Simo Kinnunen . The aim of Cufon was to achieve the same effect as Sifr without the need for additional software. Some specific requirements were set out when it was being developed. These were:

- No plug-ins required – The font should be able to be displayed without flash and using only the users standard browser. Cufon uses javascript to render the font.

- Compatibility – It had to work on all browsers. This has been achieved with Cufon displaying correctly on IE6, IE7, IE8, Firefox and Safari.

- Ease of use – configuration and setup for Cufon is minimal compared to Sifr.

- Cufon loads faster than Sifr with no flickering, even for larger areas of type.

Cufon works as an interface to Fontforge so it creates an SVG font based on the source font, converts it to VML(as IE only supports this), then is rendered using an engine written in javascript. The rendering engine outputs two versions of the font, one in VML shapes and one using the new HTML5 canvas tag. The font can be loaded into the file easily using the normal <script> tag. The font compresses well also for a minimal file size. The advantages are convincing, however little study has yet been done on accessibility of Cufon and scaling etc yet. Also until the issue of distributing copyrighted fonts is resolved it could be a while till custom fonts become common practice.

http://cufon.shoqolate.com/generate/

Google hosts Javascript frameworks

Wednesday, May 28th, 2008

When AJAX started to become popular, more and more people started to provide great usable websites improving the user experience, and even applications based on the web started to appear.   Javascript frameworks allow developers to create great applications providing them with complete libraries, unfortunately these frameworks are a quite heavy component of the website.  And here comes the news of today.

Google has just launched a new service, Google Ajax Libraries API, basically some of the main frameworks are hosted on Google servers and available with the intention to reduce the amount of data that the users browser has to download every time it is visiting a different website that uses an AJAX framework.

Clearly the advantages are not only for the users but also for those who own a website using this service, by saving the server bandwidth, offering visitors a faster website, and not having to worry about staying up to date with the framework updates.

The frameworks available at the moment are jQuery, prototype, script.aculo.us, MooTools and dojo.

Sometimes I ask myself what Google still hasn’t invented yet?