MOD cleanage de code
authorGreg Burri <greg.burri@gmail.com>
Mon, 28 Jul 2008 15:03:02 +0000 (15:03 +0000)
committerGreg Burri <greg.burri@gmail.com>
Mon, 28 Jul 2008 15:03:02 +0000 (15:03 +0000)
doc/architecture_serveur.svg
modules/erl/euphorik_bd.erl

index ccc0c42..67c1d55 100644 (file)
@@ -13,7 +13,7 @@
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.46"
-   sodipodi:docname="schema_serveur.svg"
+   sodipodi:docname="architecture_serveur.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <defs
      id="defs4">
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="1.4"
-     inkscape:cx="306.37446"
-     inkscape:cy="563.19133"
+     inkscape:cx="327.96873"
+     inkscape:cy="545.33419"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="false"
      inkscape:window-width="1280"
      inkscape:window-height="943"
-     inkscape:window-x="-4"
-     inkscape:window-y="-4" />
+     inkscape:window-x="0"
+     inkscape:window-y="52" />
   <metadata
      id="metadata7">
     <rdf:RDF>
        y="304.53879"
        ry="6.8493543" />
     <path
-       style="opacity:1;fill:#fbfacd;fill-opacity:1;stroke:#7a7a7a;stroke-width:1.82790184;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 50.101451,434.9092 L 50.101451,638.61269 L 644.21104,638.61269 L 644.21104,434.9092 L 50.101451,434.9092 z"
+       style="opacity:1;fill:#fbfacd;fill-opacity:1;stroke:#7a7a7a;stroke-width:1.75642157;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 50.065711,434.87346 L 50.065711,622.93414 L 644.24678,622.93414 L 644.24678,434.87346 L 50.065711,434.87346 z"
        id="rect2641" />
-    <text
-       xml:space="preserve"
-       style="font-size:14.65501022px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
-       x="-665.67365"
-       y="42.102493"
-       id="text3444"
-       sodipodi:linespacing="125%"
-       transform="matrix(0,-0.95659,1.0453799,0,0,0)"><tspan
-         sodipodi:role="line"
-         id="tspan3446"
-         x="-665.67365"
-         y="42.102493">Dépendances inter-modules</tspan></text>
     <path
-       style="fill:#cac3f8;fill-opacity:1;stroke:#7a7a7a;stroke-width:1.02962685;stroke-miterlimit:4;stroke-opacity:1"
-       d="M 353.20925,623.42812 L 367.50523,623.42812 L 367.50523,644.53984 L 378.34262,644.53984 L 359.66549,659.78717 L 342.37195,644.53984 L 353.20925,644.53984 L 353.20925,623.42812 z"
+       style="fill:#cac3f8;fill-opacity:1;stroke:#7a7a7a;stroke-width:0.83350915;stroke-miterlimit:4;stroke-opacity:1"
+       d="M 353.17028,623.33006 L 367.5442,623.33006 L 367.5442,637.09021 L 378.44067,637.09021 L 359.66172,647.02808 L 342.2739,637.09021 L 353.17028,637.09021 L 353.17028,623.33006 z"
        id="rect3442"
        sodipodi:nodetypes="cccccccc" />
     <g
        id="g3551"
-       transform="matrix(0.621787,0,0,0.621787,269.65243,535.38587)">
+       transform="matrix(0.621787,0,0,0.621787,279.65243,508.24303)">
       <rect
          ry="0"
          y="112.90382"
     </g>
     <path
        style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 299.2678,476.43884 L 356.3773,605.37612"
+       d="M 301.02214,476.43884 L 364.62295,578.23328"
        id="path4358"
        inkscape:connector-type="polyline"
        inkscape:connection-start="#g3521"
        inkscape:connection-end="#g3551" />
     <path
        style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 407.55234,476.43884 L 363.91439,605.37612"
+       d="M 407.61716,476.43884 L 373.84957,578.23328"
        id="path5406"
        inkscape:connector-type="polyline"
        inkscape:connection-start="#g3541"
        inkscape:connection-end="#g3551" />
     <path
        style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 241.61865,597.52534 L 318.48729,608.82454"
+       d="M 281.31683,587.87931 L 328.48729,587.87931"
        id="path5410"
        inkscape:connector-type="polyline"
        inkscape:connection-start="#g3536"
        inkscape:connection-end="#g3531" />
     <path
        style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 195.3198,533.23063 L 341.15168,605.37612"
+       d="M 205.05145,533.23063 L 341.42003,578.23328"
        id="path5935"
        inkscape:connector-type="polyline"
        sodipodi:nodetypes="ccc"
        sodipodi:nodetypes="cc" />
     <path
        style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="M 532.81886,476.43884 L 372.63352,605.37612"
+       d="M 530.92919,476.43884 L 384.52318,578.23328"
        id="path8027"
        inkscape:connector-type="polyline"
        inkscape:connection-end="#g3551"
        width="594.40283"
        height="37.834652"
        x="49.95509"
-       y="660.56885" />
+       y="647.71173" />
     <text
        xml:space="preserve"
        style="font-size:22px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
        xml:space="preserve"
        style="font-size:22px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
        x="66.961006"
-       y="687.68781"
+       y="674.83069"
        id="text3438"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan3440"
          x="66.961006"
-         y="687.68781">Mnesia</tspan></text>
+         y="674.83069">Mnesia</tspan></text>
     <path
        style="fill:#cac3f8;fill-opacity:1;stroke:#7a7a7a;stroke-width:1.02962685;stroke-miterlimit:4;stroke-opacity:1"
        d="M 168.61851,420.00991 L 182.91449,420.00991 L 182.91449,441.12163 L 193.75188,441.12163 L 175.07475,456.36896 L 157.78121,441.12163 L 168.61851,441.12163 L 168.61851,420.00991 z"
          id="tspan3451"
          x="202.80997"
          y="360.05765">JSON/HTTP</tspan></text>
+    <path
+       style="opacity:1;fill:none;fill-rule:evenodd;stroke:#7a7a7a;stroke-width:0.62199998;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="M 562.48873,612.17925 L 627.51129,612.17925"
+       id="path2565"
+       inkscape:connector-type="polyline"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       style="font-size:10.92474079px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
+       x="575.31531"
+       y="608.81085"
+       id="text2567"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2569"
+         x="575.31531"
+         y="608.81085">Utilise</tspan></text>
   </g>
 </svg>
index 80130d0..cad8183 100755 (executable)
@@ -39,7 +39,7 @@
    css_from_user_cookie/1,\r
    is_ek_master_from_cookie/1,\r
    \r
-   % messages :e\r
+   % messages :\r
    nouveau_message/3,\r
    nouveau_message_sys/1,\r
    nouveau_message_sys/2,\r
@@ -476,15 +476,6 @@ parents_id(M_id) ->
 % ordrés du plus petit au plus grand.\r
 % @spec enfants_id(integer()) -> [integer()]\r
 enfants_id(M_id) ->\r
-%   resultat_transaction(mnesia:transaction(fun() ->\r
-%      e(\r
-%         qlc:sort(\r
-%            q([E#reponse_minichat.repondant || E <- mnesia:table(reponse_minichat), E#reponse_minichat.cible =:= M]),\r
-%            [{order, ascending}]\r
-%         ),\r
-%         [{tmpdir, ?KEY_SORT_TEMP_DIR}]\r
-%      )\r
-%   end)).\r
    resultat_transaction(mnesia:transaction(fun() ->\r
       case mnesia:index_read(reponse_minichat, M_id, #reponse_minichat.cible) of\r
          Enfants when is_list(Enfants) ->\r