Wellcome and enjoy.

I would like to welcome you on my blog and thank for time you spend reading it I hope you will enjoy.It is personal creation of me, Lukas Tencer, and it will map my professional success as well as my personal interests.
Showing posts with label development. Show all posts
Showing posts with label development. Show all posts

Wednesday, September 15, 2010

Shipping code wins. How 'img' tag arise


First chapter of book HTML5: Up and Running is called "How Did We Get Here" and shortly tells story how HTML makes it to its current position. It was very exciting reading especially along with 17-years old mail conversation, which shows, how 'img' tag was created. The true is, there was 4 proposals, how images should be inlined to HTML, and some of them was perhaps even better than today used 'img', so what makes it to current form? It was just implementation of code in one of the that day's browsers. So in this case was true, that shipping code wins. Off course its not the golden rule, but it can help. Author in chapter 1 also introduces examples, when shipping the code just did not help. This was true for some of dead branches of HTML evolution tree.

Besides this examples author also gets over past evolution of HTML in W3C and WHAT working groups. As you can know, there was initiative from W3C to bury HTML and replace it with "better" and more strict XHTML. but unfortunately this initiative was not successful and even without support of W3C development of HTML continues. And then in 2007 W3C cancel its own initiative on really strict XHTML 2.0 and instead continues in development of HTML.

So where was the problem of XHTML? it was at most in lack of backwards compatibility and restrictions for developers. In version 1.0 XHTML has something called Apendix C, which said sth. like, obey these rules, but there is a way, how to make an exception. This Apendix C was removed in version 1.1 and did not make it to version 2.0, because work on this version was stopped. Without Appendix C all current sites would be needed to be rewritten to XHTML 1.1 and developers and users did not like it. Also there was an strict rule, which did not tolerate any errors in markups or parameters. So for example if you did not put " around parameter, the page just did not display, instead of tolerant browsers behaviour, which just can handle it somehow.

This "all or nothing" rule makes to to think little bit about broken and non-valid code on pages. Yes its true, that if we wont be strict on nice code, there will be more and more pages, but how to make some compromise? Because from developers point of view one has to optimize its site for different browsers in many cases, only because of browser dependant non-valid handling. So what about standardization of wrong code handling? Yes I know its very close to rendering engine and it will require big support from browsers site, but its kind of solution. Any other suggestions about this question is more than welcome.

HTML5: Up and Running


HTML5: Up and Running is a book about recent news in web development from Mark Pilgrim released by Google press. It is on of the resources which supports Google's initiative to push forward development and support for HTML5. I really appreciate this initiative, because it also allows me, to push some bony applications in IBM little bit further. So far I have some experience with HTML5 because I have implemented some of the features, which have google introduced in Gmail in some IBM product and I believe this book will help me to master my HTML5 skills and let me implement more features in this product.
Now little bit about the book. It`s price is pretty low (amazon $19), so I have decided to get it. I have obtain electronic version and in comparison to paper version is pretty more rich, you can use hyperlinks directly from text, what helps a lot especially, when you are not aware about some topics.
So far I have get to page 30, total number of pages is 222, so I hope I will make it through the book in most 2 weeks. I will bring you periodically updates about what I have learn and I hope I will help the community. For the moment I have learn how HTML5 arise and how to detect its features in different browsers. Updates about this 2 topics I will bring soon in my other posts.

HTML5 Learning Resources

Hi there,

I would like to share few resources, which I have gathered about HTML5 and also ask you, if you have any, to share it with rest of community. I hope this will help you.

First one close to IBM by Niklas Heidloff:

Usage of HTML5 Offline Functionality in XPages 8.5.2 :

Few talks from Google guys:

Introduction to HTML5:

HTML5: Features you want desperately but still can't use:

Learn About HTML5 and the Future of the Web:

Google I/O 2010 - Developing with HTML5:

Google I/O 2009 - HTML5 Database/Gears & Offline Web Apps

Book resources:

HTML5: Up and Running:

Introducing HTML5 (Voice That Matter):

Beginning with HTML5 and CSS3: Next Generation Web Standards

Friday, January 22, 2010

Let`s go Android!

Just hear it (and say) about million times: "Today is the first day of my new life". No, I would not claim this today, I will rather change it a little bit, to sound like this: "Today is the first day of my new experience." Oh yes it`s an Android day.

As it is clear from this little intro in beginning, I have today begin my journey for new knowledge, knowledge about mobile application programing. Long time ago I was playing with idea to begin with programming on mobile platform, especially iPhone. But let`s ask ourself, who wont think about it? While watching this "one day millionaire" stories, and how people get rich just by developing simple application on iPhone.

But the problem was ... a lot of things. First of all (and at all) you need MacBook 1500 €, next you need iPhone 400 €, because motion control could not be tested on emulator, and last is SDK $100. Summed up it is about 2000 € and this if too much for just only try and idea. Also when I was speaking to people, who take this way, they were complaining about Apple and their policies. Long time before accepting application, problems with micro-transactions and demo applications a so much others. Honestly, now I don`t know, if Google and android has not similar problems, but at least, you can develop applications on windows and SDK is free.

Now let`s go to the point. How I have begin. At first, I have found nice collection of video tutorials here. I will follow them and write additional text to every one tutorial. At first, you need to download Java JDK, Android SDK and if you have some nice environment, then I recommend Eclipse, be sure to download Eclipse for Java Developers (not Java EE). I have also found some useful books about Android development, but about them and installation and preparations for first project we will talk later.