FEATURED VIDEO

Sponsored By:


SLIDE SHOWS
Check out these hot products that keep workers connected, wherever they are.
Solution providers and vendors met up at this year's XChange Government Integrator '08 conference in Washington, D.C. this year to honor the companies that prove that they understand the IT requirements of the public sector.
ChannelWeb picked 15 common beliefs about Microsoft and gave channel partners the opportunity to explain why they're more fiction than fact.
INSIDE CHANNELWEB
techcareers logo Search Jobs:


  

Post Resume|Employers

Recent Post:


Sr Staff Test Engineer
Broadcom seeking Sr Staff Test Engineer in Santa Clara, CA
spacer

Analysis: Sun's Lively Kernel Threatens HTML, CSS Dominance


By Mario Morejon, ChannelWeb
9:00 AM EDT Mon. May. 05, 2008
A little-known project called Lively Kernel at Sun's research labs simplifies the way Web programming is created. Lively is a JavaScript engine that uses scalable vector graphics (SVG) to render images, animation and text on a Web browser. What's most exciting about the Lively stack is that eliminates the need for HTML, document object model (DOM) and style sheet (CSS) programming.

The team leader is Dan Ingalls, who was the co-inventor of Smalltalk and Squeak languages. Lively is similar to Squeak in the way it manipulate objects. Since Squeak has never been all that popular, there's certainly the chance that Lively will not take off either. Among many things, to achieve general adoption the team needs to develop a layer of code that separates the OS and the components built on top of the Lively Kernel. This way, code written in Lively can be transfer between OSes and browsers.

With Lively, the rendering effects of CSS is all done by JavaScript widgets that use the SVG library. At about 10K lines of code, Lively Kernel is simple to program and quick to load on a browser. Since it runs on JavaScript, new versions of the kernel never need to be installed.

Lively uses simple effects to manage the behavior of SVG objects. By highlighting surfaces around an image or an animation, the Sun team built a set of behaviors that are transferable to new objects or copies of original objects. In the Lively paradigm, links between pages behave like passing through portals. The link effect is more in line with moving between desktops on an OS than with opening new HTML pages. Programmers will find it more aligned with desktop programming.

In addition to SVG, the Lively library extends the graphics engine that browsers use. The team built simple MVC style widgets to help developers understand how to add behaviors to objects. To reproduce CSS effects, the Sun group developed a hierarchical structure between components that inherit properties. Developers can create themes that affect all of the controls that are running.

Lively isn't going to replace Flash or Silverlight any time soon. Because the engine runs in JavaScript and uses SVG, the graphics are slow. However, the programming model is simple and highly portable. The team is working on the slow rendering. At this time, development is still in the early stages but the group has been able to build debugging components for developers.

Like all portable code, JavaScript is hacker friendly, so Lively inherits all of its flaws. The Sun team is promoting a Google project that is working to secure JavaScript communication.

To find out more about the Lively Kernel go to http://research.sun.com/projects/lively/


RATE THIS ARTICLE Worse 1 2 3 4 5 Better
CHANNELWEB MARKETSPACE >> (Sponsored Links)
RELATED BLOG >>
Photo
Microsoft Chairman Bill Gates showed how a wall can become a touch screen computing interface this week at the company's annual CEO Summit in Seattle.
ADVERTISEMENT




CHANNEL SERVICES >>