index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Jtalk Smalltalk</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="author" content="Nicolas Petton" />
  7. <link rel="stylesheet" type="text/css" href='css/style.css' />
  8. <link rel="stylesheet" type="text/css" href='css/syntax.css' />
  9. <script type='text/javascript' src='js/jquery-1.4.4.min.js'></script>
  10. <script type='text/javascript' src='js/jquery-ui-1.8.9.custom.min.js'></script>
  11. <script type='text/javascript' src='js/jquery.textarea.js'></script>
  12. <script type='text/javascript' src='js/jtalk.js'></script>
  13. <link rel="stylesheet" type="text/css" href="css/jtalk.css"/>
  14. <script type="text/javascript">
  15. var _gaq = _gaq || [];
  16. _gaq.push(['_setAccount', 'UA-2246313-6']);
  17. _gaq.push(['_trackPageview']);
  18. (function() {
  19. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  20. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  21. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  22. })();
  23. </script>
  24. </head>
  25. <body>
  26. <script type="text/javascript">
  27. jQuery(window).scroll(function() {
  28. if(jQuery(window).scrollTop() > 210) {
  29. jQuery('#menu')
  30. .css('position', 'fixed')
  31. .css('top', '0px')
  32. } else {
  33. jQuery('#menu')
  34. .css('position', 'absolute')
  35. .css('top', '210px')
  36. }
  37. });
  38. </script>
  39. <a href="http://github.com/NicolasPetton/jtalk"><img style="position: absolute; top: 0; lef
  40. t: 0; border: 0;" src="https://assets.github.com/img/bec6c51521dcc8148146135149fe06a9cc737577?repo=&url=http%3A%2F%2Fs3.amazonaws.com%2Fgithub%2Fribbons%2Fforkme_left_darkblue_121621.png&path=" alt="Fork me on GitHub"></a>
  41. <div id="wrapper">
  42. <div id="header">
  43. <div class="main">
  44. <img alt="Jtalk, the Smalltalk for web developers" src="images/text_header.png"/>
  45. </div>
  46. </div>
  47. <div id="menu">
  48. <ul>
  49. <li><a href="index.html">Overview</a></li> ·
  50. <li><a href="index.html#download">Download</a></li> ·
  51. <li><a href="documentation.html">Documentation</a></li> ·
  52. <li><a target="_blank" href="https://github.com/NicolasPetton/jtalk">Source</a></li>
  53. </ul>
  54. </div>
  55. <div id="content">
  56. <div class="main">
  57. <div class="box first">
  58. <div class="content">
  59. <h1><img alt="Jtalk is an implementation of the Smalltalk language that runs on the JavaScript runtime." src="images/title_container1.png"/></h1>
  60. <div class="left">
  61. <p>Jtalk is an implementation of the <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a> language that runs on top of the <a href="http://en.wikipedia.org/wiki/Javascript">JavaScript</a> runtime. It is designed to make client-side development faster and easier.</p>
  62. <p>Jtalk is written in itself, including the parser and compiler. Jtalk compiles into efficient JavaScript, mapping one-to-one with the equivalent JavaScript. There is no interpretation at runtime.</p>
  63. <p>Try a <button onClick="smalltalk.Browser._open()"> Class browser</button> right now!</p>
  64. </div>
  65. <div class="right"><img src="images/screen2.png"/></div>
  66. <div class="clear"></div>
  67. </div>
  68. </div>
  69. <div class="box">
  70. <h2>Client-side usage</h2>
  71. <div class="content">
  72. <p>Load the full Jtalk Smalltalk environment with the IDE in your page:</p>
  73. <div class="highlight"><pre><code class="html"><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">&quot;js/jtalk.js&quot;</span> <span class="na">type=</span><span class="s">&quot;text/javascript&quot;</span><span class="nt">&gt;&lt;/script&gt;</span>
  74. <span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">&quot;stylesheet&quot;</span> <span class="na">type=</span><span class="s">&quot;text/css&quot;</span> <span class="na">href=</span><span class="s">&quot;css/jtalk.css&quot;</span><span class="nt">/&gt;</span>
  75. </code></pre>
  76. </div>
  77. <p>Or the deployment JavaScript file only (without the Smalltalk parser or compiler):</p>
  78. <div class="highlight"><pre><code class="html"><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">&quot;js/jtalk.deploy.js&quot;</span> <span class="na">type=</span><span class="s">&quot;text/javascript&quot;</span><span class="nt">&gt;&lt;/script&gt;</span>
  79. </code></pre>
  80. </div>
  81. <p>Read the <a href="#documentation">documentation</a> to learn more about writing applications in Jtalk.</p>
  82. </div>
  83. </div>
  84. <div class="box last">
  85. <h2 id="download">Download</h2>
  86. <div class="content">
  87. <p>You can get a copy of Jtalk from github or clone the <a href="http://github.com/NicolasPetton/jtalk">git repository</a>.</p>
  88. <a href="http://github.com/NicolasPetton/jtalk/zipball/master">
  89. <img border="0" width="90" src="http://github.com/images/modules/download/zip.png"></a>
  90. <a href="http://github.com/NicolasPetton/jtalk/tarball/master">
  91. <img border="0" width="90" src="http://github.com/images/modules/download/tar.png"></a>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. <div id="footer">
  97. <div class="main">
  98. <p>Copyright © 2011 <a href="https://github.com/NicolasPetton">Nicolas Petton</a>.</p>
  99. <p>Jtalk is an opensource project sponsored by <a href="http://www.objectfusion.fr">objectfusion</a>.</p>
  100. <p>The design of this website was kindly provided by <a href="mailto:neomie.thirion@gmail.com">Noémie Thirion</a>.</p>
  101. </div>
  102. </div>
  103. </body>
  104. </html>