10 Things Steve Jobs Can Teach Us About javascript course london

As we are all aware, there are always two sides of every website Get more info design. The visual side that all users see with all the graphic elements, buttons, pictures and the side behind it, which is the code that is responsible for the functionality of the website. How to achieve the balance?

The enabling side does not contain only one type of code, but it encompasses different ones. First off all it is HTML code, which creates a framework in which to embed CSS (Cascading Style Sheets) or programming languages such as PHP. In other words HTML is used to structure the content on the page, while CSS allows treating your website content and its style separately and programming languages communicate instructions to the computer.

HTML itself does not power such effects as drop down menus or carousels. There is a code which is expressively dedicated to the user interface while other code is used to process data and connect to database. The 'presentation layer' refers to graphical interface as well as to the code that powers it, including the code that controls interactive elements such as drop down menus.

Presentation code includes:

Usually all those languages are skilfully weaved together in order to create a visually attractive and highly functional website design.

1. Creating multimedia interface

Animated and immersive design is achieved through the use of either Adobe Flash or combination of HTML, CSS and other scripting languages mixed together.

For many years Adobe Flash was in the lead, but it started to change. Nowadays with the development of HTML 5 and CSS we are able to increasingly replicate much of the interactive and animation effects.

HTML 5, the most recent edition of HTML has made a huge step forward in terms of presentation layer design capabilities. It provides an improved toolkit of elements and properties and acknowledges the way designers work and use particular elements. For example it allows designers to define a navigation group with the new 'nav' instead of the previously used 'div' element. The animation and interaction design support features of HTML5 have also improved impressively, and the fact that HTML5 is supported on mobile browsers such as Apple's Safari has opened up the web design possibilities.

A few words about Adobe Flash

Flash is an animation and interactive technology that enables to create highly immersive interface. As for implementation of Flash element in website design the process is quite simple. The component developed in Adobe Flash is exported as a self- contained .swf file and in exactly the same way as an image, the .swf file is embedded within a HTML page. The .swf file can either be a small portion of the page or it can literally be the entire interface. It must be noticed that users must have the Flash player installed in their browser in order to view a page featuring a .swf component.

Despite the capability of creating impressive user experience using Flash has some disadvantages. The most significant one is the fact that the Apple mobile platform simply does not support Flash files. Therefore, the website created in Flash must offer an alternative version of the site for (Apple) mobile viewers (of course only if the market is important enough to them). The invitation for the user to download the latest version of the Flash player on the iPhone is an irrelevant button, since even if they did download Flash the site would still not be accessible.

HTML5 - Flash alternative

As mentioned earlier, combination of HTML 5, CSS and jQuery code now make it possible to reproduce animated websites that were only possible in Flash. Using 'canvas' element it is now much easier than ever to design rich and animated user interface. Most modern desktop and mobile browsers support the HTML5 standard which makes it possible to create design that works across a multitude of platforms.

1.1 DHTML, JavaScript, jQuery, and Ajax

Bear in mind that HTML just forms a structure for a content. Scripting languages such as JavaScript, Ajax, and jQuery which control the behaviour of user interface elements and content displayed on a page are woven into that structure.

JavaScript is a dynamic scripting language that is capable of complex animation and interaction effects, such as creating a drop-down menu or an expanding window layer. It allows to interact with the user, control the browser and alter the web page content that is displayed. When JavaScript is implemented into HTML, the HTML is then referred to as 'DHTML'. Dynamic HTML (DHTML) allows to create interesting interactive components and animations.

jQuery is a simplified form of JavaScript that focuses on the commonly-used interactions between JavaScript and HTML. It is designed to make it easier to navigate a web page. jQuery is a free, open-source software and is available online. You can copy and paste ready scripts into your web pages and customize them to serve your purposes. Using jQuery, you can create animation and interaction design effects with much less code than would be required with JavaScript.

Examples of jQuery effects:

Ajax (Asynchronous JavaScript and XML) allows data processing such as sending or retrieving data to occur in the background (asynchronously) without interfering with display or behaviour of the web page. Therefore reloading the page or clicking an "update" button is not required and data on the page can be refreshed/updated automatically.

1.2 Advanced CSS Graphic Effects

In the past, in order to create a graphic element, a button for example, we used to rely on bitmap graphics such as jpeg or gif. Not only do they increase the load time of the web page but also they have to be created by designers familiar with software such as Photoshop, and then they have to be hand-changed every time you wish to change the look of the site.

Nowadays CSS is offering increasing levels of stylistic control over the appearance of elements. It's now possible to add gradations, rounded corners, reflections, and soft drop shadows to text and elements simply through code.

There are quite a few useful CSS graphical style controls that we can be implemented to avoid the use of bitmap graphics in building user interface.

The advantages of using CSS for our user interface include:

1.3 Responsive design

The most recent trend in website design is 'responsive design'. It is an approached aimed at creating websites in a way that provides an optimal viewing experience, easy to read and navigate across the wide range of devices. When the user changes the size of their browser window, the web page updates immediately in order to optimally display in the 'view port' size. View port is a new term designers use to refer to not only different desktop browser sizes, but also mobile devices which all have different fixed screen sizes.

Responsive design is possible thanks to the 'media queries portion of the CSS3 specification. It recognizes the browser's size and tells the page to load the appropriate style sheet, for example 'widescreen.css' or 'mobilescreen.css'. It is possible because different style sheets contain different layout systems, font sizes, and image optimization settings.

The last but not least is getting a creative ideas for user interface. There are plenty of inspirations online. It would be advised to analyse good design practices, break them down to essentials, and see how some of them can be adapted for application in our own field.

HTML or Hypertext Markup Language is the basic language used in the creation of web pages. Hypertext refers to text stored in electronic format that can be cross-linked, and markup language refers to a set of instructions for displaying information. When HTML was initially developed in the early 1990s, web pages consisted primarily of text and the first version of HTML was primarily concerned with displaying text. However, HTML has evolved over the years and now HTML can instruct the browser not only how to display text information but such component parts of a web page as: graphics, multimedia, scripts, etc.

In the early days of web design there were no standardized rules for HTML, and different browsers would display web pages differently. In addition, Netscape and Explorer, the two most popular web browsers at the time, started creating their own versions of HTML, meaning that a web page designed for Netscape might not display properly in Explorer, and visa versa. To resolve these problems, the World Wide Web Consortium was founded in 1994. Its goal is to set standards that all those involved in web site creation could follow, and that would be displayed similarly no matter which browser was used. The World Wide Web Consortium was instrumental in creating and updating HTML versions, as web pages grew more sophisticated. HTML versions have changed with the times, starting with HTML 2.0 in 1995 (there was no HTML 1.0 designation even though HTML had been in use for several years before HTML 2.0) to the most current version in production: HTML 5.0

Another key development that impacted HTML was the creation of XML, or Extensible Markup Language, which is basically a standard for the creation of Markup Languages, stricter than the standards followed by HTML. To create a version of HMTL to conform to XML standards, the World Wide Web Consortium developed XHTML, which is basically HTML with stricter guidelines.

HTML is a series of text instructions that instruct a web browser how to display a web page, as mentioned above, and therefore a web page can theoretically be designed with a text editor, such as Notepad or Word. However, in practice it is common to use software designed specifically for web page

Weergaven: 1

Opmerking

Je moet lid zijn van Beter HBO om reacties te kunnen toevoegen!

Wordt lid van Beter HBO

© 2024   Gemaakt door Beter HBO.   Verzorgd door

Banners  |  Een probleem rapporteren?  |  Algemene voorwaarden