What could I write on Friday? What about offline websites, Hexagonal architecture and javascript testing

Categories: Featured

ipad-wallpaper-hexagon-glow

I muss say that today I was thinking to write about some code, but unfortunately I didn’t have time to upload it to Git, so I needed to shift the topic.

Yesterday I was watching a presentation from Israel Hilerio about Building Offline Access to Websites Using HTML5. Nothing amazing, but an interesting presentation, mainly if you are not aware of the opportunities of HTML5 for having local DBs; but I muss confess that the more interesting statement of the presentation was Israel saying that Microsoft is fully committed to push the IE in the direction of the community and the specification – that is a good new!

Anyway I was not sure to write about it, but today I was reading a article about unit testing javascripts (Hexagonal architecture in Javascript), and I found about Hexagonal architecture; to be sincere that was a completely new topic for me, and for my surprise look of what is the idea behind Hexagonal architecture:

“Create your application to work without either a UI or a database so you can run automated regression-tests against the application, work when the database becomes unavailable, and link applications together without any user involvement.”[1]

Cool, isn’t it? This kind of architecture fits the idea of having offline websites; as Israel stated doing such kind of websites is not so easy because you need to identify the areas that you can decouple the website, which is what the Hexagonal architecture tries to do.

Take a look, even if you are not going to use it now; keep the idea in the back of your mind and once you need use it!

Let’s finish the week with Blind Guardian, Imaginations from the Other Side.

[1] Cockbrun A., Hexagonal architecture – http://alistair.cockburn.us/Hexagonal+architecture.

«
»

    Leave a Reply

    Your email address will not be published. Required fields are marked *