pyjamas Great... yet  another  web development framework
What is Pyjamas? <ul><li>A Python framework for writing web front end
You don't even need Javascript, write everything in Python
It will automatically convert your code to Javascript (and even take care of cross-browser issues) </li></ul>What?!
Why Python? <ul><li>Not that different from Javascript
Very clean syntax </li></ul>Javascript Python && and || or ! not { } ; var temp=a;a=b;b=temp; a, b = b, a if(1<a && a<5) {...
Why Python? (cont.) <ul><li>Only one way to do things (usually)
Already a very popular backend language
Upcoming SlideShare
Loading in …5
×

Pyjamas

628 views

Published on

A quick powerpoint talking about the benefits of using Pyjamas framework instead of Javascript for front-end development.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
628
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Pyjamas

  1. 1. pyjamas Great... yet another web development framework
  2. 2. What is Pyjamas? <ul><li>A Python framework for writing web front end
  3. 3. You don't even need Javascript, write everything in Python
  4. 4. It will automatically convert your code to Javascript (and even take care of cross-browser issues) </li></ul>What?!
  5. 5. Why Python? <ul><li>Not that different from Javascript
  6. 6. Very clean syntax </li></ul>Javascript Python && and || or ! not { } ; var temp=a;a=b;b=temp; a, b = b, a if(1<a && a<5) { if 1<a<5:
  7. 7. Why Python? (cont.) <ul><li>Only one way to do things (usually)
  8. 8. Already a very popular backend language
  9. 9. Makes JS debugging feel like FORTRAN </li></ul>Customary Hello World example: print ”Hello World”
  10. 10. Why Python? (cont.) Javascript Python function bubbleSort(items) { var x, y, holder; // The Bubble Sort method for (x = 0 ; x < items.length; x++) { for (y = 0 ; y < (items.length- 1 ); y++) { if (items[y] > items [ y + 1 ] ) { holder = items [ y + 1 ] ; items [ y + 1 ] = items [ y ] ; items [ y ] = holder; } } } def bubbleSort(items): # The Bubble Sort method for x in range ( len ( items )): for y in range ( len ( items )- 1 ): if items [ y ] > items [ y + 1 ]: items [ y ] , items [ y + 1 ] = items [ y + 1 ] , items [ y ] Sorting a list: Javascript Python items.sort() items.sort()
  11. 11. What can Pyjamas do? <ul><li>Anything JS or Python can (in theory)
  12. 12. Manipulate the DOM
  13. 13. Coexist with other JS on same page
  14. 14. It's a Python version of GWT </li></ul>
  15. 15. Who uses it? <ul><li>pyjs.org
  16. 16. grafpad.com
  17. 17. gbsware.com </li></ul>my web app pyjamas
  18. 18. Questions? Feel free to contact me (questions, support, web development): [email_address] @ATsepkov @Pyjeon Pyjeon Software LLC

×