PageRenderTime 58ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/doc/index.php

https://github.com/hhkaos/GeoRemindMe_Web
PHP | 196 lines | 158 code | 37 blank | 1 comment | 3 complexity | 7ee7bc98021c494458e2e3679748f800 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Documentation - GeoRemindMe Web App</title>
  7. <link rel="stylesheet" href="http://www.georemindme.com/static/webapp/style/screen.css" type="text/css" media="screen, projection" />
  8. <link rel="stylesheet" href="http://www.georemindme.com/static/webapp/style/style.css" type="text/css" media="screen, projection" />
  9. <link rel="stylesheet" href="http://www.georemindme.com/static/webapp/style/print.css" type="text/css" media="print" />
  10. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
  11. <script type="text/javascript" src="http://www.georemindme.com/static/webapp/js/jquery.preload-1.0.8-min.js"></script>
  12. <script type="text/javascript" src="http://www.georemindme.com/webapp/static/webapp/js/static.js"></script>
  13. <!-- Loading lightbox plugin-->
  14. <script type="text/javascript" src="http://www.georemindme.com/webapp/static/webapp/js/jquery.lightbox-0.5.js"></script>
  15. <link rel="stylesheet" type="text/css" href="http://www.georemindme.com/webapp/static/webapp/style/jquery.lightbox-0.5.css" media="screen" />
  16. <script type="text/javascript">
  17. $(function() {
  18. $('.screenshots a').lightBox();
  19. $('input[type=submit]').click(function(e){
  20. e.preventDefault();
  21. if (!echeck($('#user-email').val()))
  22. {
  23. $("#wait-mask").hide();
  24. $('#sentMsg').removeClass("msgOK").addClass("msgNoOK");$('#sentMsg span').text("Email incorrecto");
  25. return;
  26. }
  27. $("#wait-mask").show();
  28. $.ajax({
  29. url: AJAX_URL+"keep-up-to-date/",
  30. type: "post",
  31. data: $("#form-keep-up-to-date").serialize(),
  32. async:true,
  33. success: function(){ $("#wait-mask").hide(); $('#sentMsg').removeClass("msgNoOK").addClass("msgOK");$('#sentMsg span').text("¡El mensaje se ha enviado correctamente!");$('#msg,#userEmail').val('');},
  34. error: function(){ $("#wait-mask").hide(); $('#sentMsg').removeClass("msgOK").addClass("msgNoOK");$('#sentMsg span').text("Se ha producido un error al enviar el mensaje");}
  35. });
  36. });
  37. });
  38. </script>
  39. <!--
  40. <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
  41. -->
  42. <script type="text/javascript" src="../src/webapp/static/webapp/js/base.js"></script>
  43. <!--[if IE]>
  44. <link rel="stylesheet" href="../src/webapp/static/webapp/style/ie.css" type="text/css"
  45. media="screen, projection" />
  46. <![endif]-->
  47. <!--[if lt IE 9]>
  48. <script src="https://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
  49. <![endif]-->
  50. <style type="text/css">
  51. .content-box blockquote{
  52. color: #222222;
  53. font-style: normal;
  54. font-weight: normal;
  55. margin-bottom: 0;
  56. margin-top: 0;
  57. }
  58. .content-box div{
  59. font-weight: normal;
  60. }
  61. #main-container p {
  62. 1.5em
  63. }
  64. .content-box ul li{
  65. display: list-item;
  66. list-style: disc outside none;
  67. margin-left: 30px;
  68. }
  69. td{
  70. border:0;
  71. }
  72. .tab1{
  73. padding-left:0px;
  74. }
  75. .tab2{
  76. padding-left:15px;
  77. }
  78. .tab3{
  79. padding-left:30px;
  80. }
  81. article h3{
  82. margin-top: 10px;
  83. }
  84. </style>
  85. </head>
  86. <body>
  87. <div id="wait-mask"></div>
  88. <div class="container" id="documentation">
  89. <header>
  90. <span id="logo"><a href="/" title="Ir volando a la página de inicio. Pio! Pio!"><img src="http://www.georemindme.com/static/webapp/img/logoHeader.png" alt="GeoRemindMe"></a></span>
  91. <nav>
  92. <h1>Webapp Developers center</h1>
  93. (<em>Last update on <?php echo date("d/m/Y H:i:s", filectime('index.php')); ?></em>)
  94. </nav>
  95. </header>
  96. <div id="main-container">
  97. <div id="col-left">
  98. <!-- Content index with animated scroll-->
  99. <ul id="content-index">
  100. <li><a href="#documentation" class="anchor separator" id="back-to-top">Back to top</a></li>
  101. <li><a href="#introduction" class="anchor separator">Introduction</a></li>
  102. <li><a href="#serverarchitecture" class="anchor separator">Server architecture</a></li>
  103. <li><a href="#androidapp" class="anchor separator">Android application</a></li>
  104. </ul>
  105. <!-- En content index-->
  106. </div>
  107. <section id="col-right">
  108. <article class="content-box" id="introduction">
  109. <div>
  110. <h2>Introduction</h2>
  111. <p>This documentation aims to help new developers to understand how the project has been built in order to be able to help you to contribute with the project.</p>
  112. <p>It has multiple versions, not just a web client and a mobile app as you can see in this graphic:</p>
  113. <p style="text-align:center"><a href="common/First dia.png"><img src="common/First dia.png" style="width:250px;float:none"/></a></p>
  114. <p>There are also a commertial site, a web client for mobile devices, and in the future will be much more.<br>All of those applications are sincronized, so the way we are using to communicate and sincronize them is something like this:</p>
  115. <p style="text-align:center"><a href="common/Client-Server interaction.png"><img src="common/Client-Server interaction.png" style="width:250px;float:none"/></a></p>
  116. <p><a href="#documentation" class="back-to-top">Back to top</a></p>
  117. </div>
  118. </article>
  119. <article class="content-box" id="serverarchitecture">
  120. <div>
  121. <h2>Web application</h2>
  122. <p>Responsable: Ruben (ruben@georemindme.com)</p>
  123. <p>If you want to contribute with the web application first of all you should understand how it works.</p>
  124. <p>As you maybe have read, the are several web applications, all of them almost independent, but despite that, they share some things, here you can read some tutorials:</p>
  125. <ul>
  126. <li><a href="webapp/install_and_deploy.txt">Learn how to run the local application on you local machine here.</a></li>
  127. <li><a href="webapp/generate_update_languages.txt">Learn how create new language files and set translations.</a> </li>
  128. <li><a href="webapp/AJAX use.txt">Learn how create to use the AJAX to sincronize with the application. </a> (Spanish)</li>
  129. </ul>
  130. <h3>Server side</h3>
  131. <p style="text-align:center"><img src="webapp/Estructura de clases.png" style="width:250px;float:none" /></p>
  132. <p style="text-align:center"><img src="webapp/Models.png" style="width:250px;float:none" /></p>
  133. <p style="text-align:center"><img src="webapp/Modulos aplicacion.png" style="width:250px;float:none" /></p>
  134. <h3>Dashboard application (Client side)</h3>
  135. <p>It is the one that handles all the reminders on a big screen, its built on Django and you can see it here</p>
  136. <p style="text-align:center"><img src="webapp/Aplicaciones.png" style="width:250px;float:none" /></p>
  137. <h3>Mobile application</h3>
  138. <h3>Promotional site</h3>
  139. <p><a href="#documentation" class="back-to-top">Back to top</a></p>
  140. </div>
  141. </article>
  142. <article class="content-box" id="androidapp">
  143. <div>
  144. <h2>Android application</h2>
  145. <p>Responsable: Fran (fran@georemindme.com)</p>
  146. <p>If you want to contribute with the Android application the first thing you should read are those documents:</p>
  147. <ul>
  148. <li><a href="android/style_guide_android.pdf">The style guide for the Android developers</a> (Spanish)</li>
  149. <li><a href="android/system_architecture.pdf">Which is the architecture of the Android App</a> (Spanish)</li>
  150. </ul>
  151. <p>Another diagram that shows the logic of the application.</p>
  152. <p style="text-align:center"><img src="android/logica-android.png" style="width:250px;float:none"/></p>
  153. <p><a href="#documentation" class="back-to-top">Back to top</a></p>
  154. </div>
  155. </article>
  156. </section>
  157. </div>
  158. </body>
  159. </html>