pyjamas

November 29th, 2008 § 0

pyjamas is a new way to create web applications. Unlike the traditional method of creating an HTML page, adding CSS to it, spicing things up with javascript, pyjamas has a different way of doing things. You build your HTML page, by using only javascript (expect in this case python which compiles into javascript). This is totally different and something that will take a bit of time to get used to it; seems promising though (assuming that performance doesn’t take a huge hit).

pyjamas diagram

pyjamas diagram

Programming with pyjamas needs a little bit of rethinking about the way that you do Web application development. Primarily, you need to forget virtually everything you’ve ever learned and come to expect Web development to be. The reason for this is very simple: Pyjamas is pure javascript. Although written in python, not javascript, it is essential to bear in mind that virtually 100% of your web application will be javascript – not HTML. The programming style you may be accustomed to for HTML programming involves placing as much HTML into one page as you can stand, and making the minimum number of exceptions and allowances for dynamic content that you can manage, without making the HTML page “too complicated” to be readable.

Pyjamas makes it possible for you to break pages down into concepts. classes. widgets. maybe some CSS styling is added, almost as an afterthought, on top of the “real” functionality. In other words, Pyjamas is actually more like Desktop application development than it is Web development.

That’s pretty exciting and I intend to try it, after I finish my current project.

  • Share/Bookmark

Where Am I?

You are currently browsing entries tagged with pyjamas at life of a gizmo.