Header Image

CN1ML

Shortly after introducing

Mirah support for Codename One

, Steve is back with something that is arguably even more impressive. Over the weekend Steve released a tool called

CN1ML

which is an HTML subset markup language that allows you to effectively build Codename One UI’s with HTML. This isn’t another embedded webbrowser or HTMLComponent, this is a tool that statically translates HTML syntax into Codename One components. The benefit here is that you can keep all the advantages of using Codename One widgets (portability, performance, customizability etc.) with the HTML like syntax.

When we were at Sun, our manager Yoav Barel was heavily on our case for building exactly that and we effectively convinced him that its not feasible to do this since its too much work. I guess we should have known about Steve back then!

I think this is a very interesting idea and direction, one of the things I’d really like to see here is proper box model spanning behavior (float etc.) which is very tricky to do in Codename One today. Amazingly this is also very tricky to do natively in iOS/Android so we are all on the same boat…


Java One

We are here in the lovely city of San Francisco and having a blast, we have a pretty amazing announcement to make but until the contract is signed we’ll keep that low key.

I’ll do a more detailed report on the complete trip, the parties and the booth but for now I’ll leave you with a few pictures I grabbed and some tags.


NetBeans party, small room crowded like a phone booth with great guys, food and beer


NetBeans party left to right: Geertjan Wielenga, Shai Almog (me), Sean Phillips & Jens Deters


Our booth just after buildup on Sunday


Crowd at our session UGF8907: James Gosling, Robots, the Raspberry Pi and Small Devices


The stage our session UGF8907: James Gosling, Robots, the Raspberry Pi and Small Devices. Left to right Chen Fishbein, Shai Almog, James Gosling, José Pereda & Jens Deters


Me and James Gosling on stage taken by Chen Fishbein


The selfi with James queue stretches down the stage


Typical San Francisco: spinning class in the middle of a busy street with loud yelling and pedaling


Highlight of the keynote, the kids of devoxxx4kids nailed it

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended…. If that is the case please let us know via the comments section below.

Archived Comments

This post was automatically migrated from the legacy Codename One blog. The original comments are preserved below for historical context. New discussion happens in the Discussion section.

Anonymous says:

This is really cool Steve, congratz ! 🙂

Anonymous says:

I was wondering if someone would do something like that specially because I’ve seen some apps that converts html5+css+javascript into smartphones apps.

I’m really glad I found codenameone, specially because everything I found generated apps for Android, and I was searching form something cross plataform oriented. Gladly I found codenameone – I’m still suffering to learn, but I just need to write the app once.

As a matter of fact I want to thank Shei, Chen and Eric for this great work, and now, thank Steve for this implementation that will help me a great deal because I’m very used to HTML.

Regards.

Anonymous says:

wow steve you are a god. im getting started immediately.


Discussion

Join the conversation via GitHub Discussions.