You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/07/04 22:06:14 UTC

cvs commit: jakarta-turbine/docs/proposals bo-managers.html security-service.html

jvanzyl     01/07/04 13:06:13

  Added:       docs/proposals bo-managers.html security-service.html
  Log:
  - here are the files. keeping generated html is becoming a serious PITA,
    we have to figure something else out.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine/docs/proposals/bo-managers.html
  
  Index: bo-managers.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  
  <!-- Content Stylesheet for Site -->
  
          
  <!-- start the processing -->
      <!-- ====================================================================== -->
      <!-- Main Page Section -->
      <!-- ====================================================================== -->
      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
                                                      <meta name="author" value="Leandro Rodrigo Saad Cruz">
              <meta name="email" value="leandro@ibnetwork.com.br">
              
              <title>Turbine - Business Object Managers</title>
          </head>
  
          <body bgcolor="#ffffff" text="#000000" link="#525D76">        
              <table border="0" width="100%" cellspacing="0">
                  <!-- TOP IMAGE -->
                  <tr>
                      <td align="left">
  <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
  </td>
  <td align="right">
  <a href="http://jakarta.apache.org/turbine/"><img src="../images/logo.gif" alt="Turbine" border="0"/></a>
  </td>
                  </tr>
              </table>
              <table border="0" width="100%" cellspacing="4">
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  
                  <tr>
                      <!-- LEFT SIDE NAVIGATION -->
                      <td valign="top" nowrap="true">
                                  <p><strong>Essentials</strong></p>
          <ul>
                      <li>    <a href="../index.html">Overview</a>
  </li>
                      <li>    <a href="../features.html">Features</a>
  </li>
                      <li>    <a href="../fsd.html">Specification</a>
  </li>
                      <li>    <a href="../getting-started.html">Getting Started</a>
  </li>
                      <li>    <a href="../further-reading.html">Further Reading</a>
  </li>
                  </ul>
              <p><strong>Get Involved</strong></p>
          <ul>
                      <li>    <a href="../contributors.html">Contributors</a>
  </li>
                      <li>    <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repos</a>
  </li>
                      <li>    <a href="../faq.html">FAQ</a>
  </li>
                      <li>    <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
  </li>
                      <li>    <a href="../powered.html">Powered by Turbine</a>
  </li>
                      <li>    <a href="../license.html">License</a>
  </li>
                      <li>    <a href="../issue-tracking.html">Issue Tracking</a>
  </li>
                  </ul>
              <p><strong>Documentation</strong></p>
          <ul>
                      <li>    <a href="../turbine-documentation-project.html">Turbine Documentation</a>
  </li>
                      <li>    <a href="../turbine-schema.html">Core Schema</a>
  </li>
                      <li>    <a href="../j2ee-integration.html">J2EE Integration</a>
  </li>
                      <li>    <a href="../model2+1.html">Model 2+1</a>
  </li>
                      <li>    <a href="../pullmodel.html">Pull MVC Model</a>
  </li>
                      <li>    <a href="../comma-dot-slash.html">Comma Dot Slash</a>
  </li>
                      <li>    <a href="../services.html">Services</a>
  </li>
                  </ul>
              <p><strong>Howto Guides</strong></p>
          <ul>
                      <li>    <a href="../howto/action-event-howto.html">Action Events Howto</a>
  </li>
                      <li>    <a href="../howto/criteria-howto.html">Criteria Howto</a>
  </li>
                      <li>    <a href="../howto/jboss-howto.html">JBoss Howto</a>
  </li>
                      <li>    <a href="../howto/jsp-howto.html">JSP Howto</a>
  </li>
                      <li>    <a href="../howto/oracle-howto.html">Oracle 8i Howto</a>
  </li>
                      <li>    <a href="../howto/peers-howto.html">Peers Howto</a>
  </li>
                      <li>    <a href="../howto/postgres-howto.html">Postgres Howto</a>
  </li>
                      <li>    <a href="../howto/python-howto.html">Python Howto</a>
  </li>
                      <li>    <a href="../howto/security-howto.html">Security Howto</a>
  </li>
                      <li>    <a href="../howto/sybase-howto.html">Sybase Howto</a>
  </li>
                      <li>    <a href="../howto/tdk-howto.html">TDK Howto</a>
  </li>
                      <li>    <a href="../howto/torque-howto.html">Torque Howto</a>
  </li>
                      <li>    <a href="../howto/velocity-site-howto.html">Velocity Site Howto</a>
  </li>
                      <li>    <a href="../howto/context-howto.html">Velocity Context Howto</a>
  </li>
                      <li>    <a href="../howto/webmacro-site-howto.html">Webmacro Site Howto</a>
  </li>
                  </ul>
              <p><strong>Development</strong></p>
          <ul>
                      <li>    <a href="../active-developers.html">Active Developers</a>
  </li>
                      <li>    <a href="../changes.html">Changes</a>
  </li>
                      <li>    <a href="../code-standards.html">Coding Specification</a>
  </li>
                      <li>    <a href="../branches.html">CVS Branches</a>
  </li>
                      <li>    <a href="../db-adapters.html">DB Adapters</a>
  </li>
                      <li>    <a href="../deprecation.html">Deprecation Rules</a>
  </li>
                      <li>    <a href="../project-map.html">Project Map</a>
  </li>
                      <li>    <a href="../proposals.html">Proposals</a>
  </li>
                      <li>    <a href="../todo.html">Todo</a>
  </li>
                  </ul>
                          </td>
                      <td align="left" valign="top">
                                                                      <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Description"><strong>Description</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
      As it is today, torque is able to generate source files from xml schemas that 
      represent BO's of your project. Torque would be extended to generate one Manager, 
      implemented as a service, per BO. This manager would deal with
      inclusions, exclusions,updates,transactions,thread isolation, cache management, etc.
    </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                                  <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Rationale"><strong>Rationale</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
      <li>
        BO's should shrink to be application independent and improve code reuse instead 
        of agregate other functions like it does today.<br /> To aliviate the BO's of 
        the its actual functions , a service dedicated to all BO's of the same type 
        would have to be created and deal with inclusions, exclusions, associations, etc.
      </li>
      <li>
        Aditional advantages of having a Manager per BO would be : transaction
        control, thread isolation and cache managment.<br />
        - transations would occur in Manager level and update all related caches.<br />
        - the manager should be responsible to limit access to it's internal data 
          structures and BO's <br />
        - the manager should have a pluggable cache (LRU for example). Compare this to all 
          small caches that torque uses. <br />
      </li>
    </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                                  <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Requirements"><strong>Requirements</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
      Torque has to be modified to generate code using other templates. For example : 
      om/Control.vm has to be patched to add the following lines :<br />
      <blockquote>
      + #set ( $fname = "${basePrefix}${firstcap}Manager.java" )<br />
      + #set ( $path = "${strings.getPackageAsPath($pkbase)}$fname" )<br />
      + $generator.parse("manager/BaseManager.vm",$path,"table",$tbl)<br />
      </blockquote>
      <br />
      # This should follow the same code generation policy and create : Base___Manager.java and ___Manager.java ( empty )<br />
      # All BO's will be modified, but all functionality will be preserved to avoid breaking existing code.<br />
      # aditional code could be generated ( Facades, Tools ,Screens and Actions )
      
    </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                                  <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Scope"><strong>Scope</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
  </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                                  <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Initial Source"><strong>Initial Source</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
  </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                                  <table border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="Initial Committers"><strong>Initial Committers</strong></a>
          </font>
        </td></tr>
        <tr><td><br/></td></tr>
        <tr><td>
          <blockquote>
                                      <p>
      ??? - I don't commit
  </p>
                              </blockquote>
          </p>
        </td></tr>
        <tr><td><br/></td></tr>
      </table>
                                          </td>
                  </tr>
  
                  <!-- FOOTER -->
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  <tr><td colspan="2">
                      <div align="center"><font color="#525D76" size="-1"><em>
                      Copyright &#169; 1999-2001, Apache Software Foundation
                      </em></font></div>
                  </td></tr>
              </table>
          </body>
      </html>
  <!-- end the processing -->
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  1.13      +2 -0      jakarta-turbine/docs/proposals/security-service.html
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org