четвъртък, 22 април 2010 г.

Better JavaScript Manification on A List Apart

Sometimes you need to make the size of your JavaScript file smaller on the production environment. In that way you will save a valuable time to your visitors since they will download the JavaScript faster. In order to transform your JavaScript, you use compressors. But sometimes you may write things that may prevent the compressor to transform your code. Read more in the Better JavaScript Manification.

вторник, 20 април 2010 г.

About applying progressive enhancement to html5

Progressive enhancement in modern web development is the process in which you rely on some basic technology, supported by all major browsers, for all the functionality, and add fancy technologies only to improve the experience for those users, who use the most advanced and up-to-date browsers. Unobtrusive JavaScript is closely related to progressive enhancement. You do not rely on JavaScript for important functionality (redirecting between pages, submitting forms, ajax without alternative), but instead use it only to make the application easier and more comfortable to use.
But can we apply progressive enhancement to html5? An interesting article on how we are forced to apply some fixes when building layouts with html5 and that is certainly not progressive enhancement.
More details on progressive enhancement can be found in the Understanding Progressive Enhancement on A List Apart.

вторник, 13 април 2010 г.

html5 input type values

Among other things, html5 provides many more values for the type attribute of the input type. While we're still using JavaScript to provide datepickers or to validate url or for some similar purpose, in the future we'll be able to just declare the type of the form control and the browser will handle the user experience.
Some of the possible values are email, url, date, time, search, etc.
See some example of how the new html5 input fields look like under browsers that supports them on Roger Johansson's article HTML5 input types.

събота, 10 април 2010 г.

html5 resources

Here are some resources and articles about html5:
html5 gallery - learn from ppl already using html5.
html5 spec - the complete specification of html5 on w3.org.
html5 on Radoslav Popov - I'm going to talk about html5 sooner or later.
youtube and html5 - you can switch from flash to html5 if you have a modern browser.
html5 doctor - a very helpful blog on html5.
Coding A HTML 5 Layout From Scratch - an article on Smashing Magazine.
I'm going to post another resources on html5 and css3 when I find them. Enjoy.

Hello World

Hey, that's my first post in my blogspot blog ever. I'm going to talk about me (Radoslav Popov), some web development, html5, and whatever come to my mind.