Saturday, March 22, 2008

Safari for iPhone leads to advancements in Safari for Mac


Recent developers in WebKit on which Safari is based, ended up in Safari browser for iPhone 2.0 as well as in newly released Safari 3.1.

Apple has implemented HTML 5, CSS 3 and SVG into it. HTML 5 provides a standard for embedded SQL statements into a script code. SVG (scalable vector graphics) brings motion into places where only static bitmap graphics worked before. SQL (through SQLite) and SVG are linked into Safari but not by plug-ins. CSS 3 sets up implicit and explicit animation, and manages both using renderer.

The advancements to Safari are not only the additions of new standards. Apple has also managed to speed up JavaScript performance.

apple_safari.jpg

Early on Apple decided not to include cookies and XML to Safari, and hence ported SQLite from iPhone OS to Safari. It allows JavaScript coders the ability to manage data using real SQL with transaction support.While SQLite is client-sized, it is very powerful for a database that links entirely into your code.

Since iPhone has space restrictions, using SQLite forces developers to use space carefully.

The advancements in Safari on iPhone 2.0 are great. In fact, Mac users will want it in their desktops! At least viewing for the developers’ perspective since it allows great stand-alone web apps, and that’s something you can’t do on other browsers.

Thanks: InfoWorld

No comments: