You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by gr...@apache.org on 2012/11/23 11:48:34 UTC

svn commit: r1412817 - in /struts/site/branches/site2fluidomigration/src/site: resources/css/site.css site.xml xdoc/index.xml

Author: grobmeier
Date: Fri Nov 23 10:48:33 2012
New Revision: 1412817

URL: http://svn.apache.org/viewvc?rev=1412817&view=rev
Log:
use fludio 1.3, added hero unit, some text modifications

Modified:
    struts/site/branches/site2fluidomigration/src/site/resources/css/site.css
    struts/site/branches/site2fluidomigration/src/site/site.xml
    struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml

Modified: struts/site/branches/site2fluidomigration/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/resources/css/site.css?rev=1412817&r1=1412816&r2=1412817&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/resources/css/site.css (original)
+++ struts/site/branches/site2fluidomigration/src/site/resources/css/site.css Fri Nov 23 10:48:33 2012
@@ -28,6 +28,26 @@ img.poweredBy {
     margin-left:17px;
 }
 
+.hero-unit h1 {
+	font-size: 40px;
+	margin-top: 20px;
+}
+
+.hero-unit {
+	padding: 20px;
+}
+
+.right {
+	text-align: right;
+}
+
+.section img {
+	margin: 20px;
+}
+
+a:visited {color: #00438a;}
+
 .right {
     float: right;
 }
+

Modified: struts/site/branches/site2fluidomigration/src/site/site.xml
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/site.xml?rev=1412817&r1=1412816&r2=1412817&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/site.xml (original)
+++ struts/site/branches/site2fluidomigration/src/site/site.xml Fri Nov 23 10:48:33 2012
@@ -3,7 +3,19 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd
                              http://maven.apache.org/DECORATION/1.1.0 ">
-    <version position="none"/>
+     <skin>
+        <groupId>org.apache.maven.skins</groupId>
+        <artifactId>maven-fluido-skin</artifactId>
+        <version>1.3.0</version>
+     </skin>
+     <custom>
+        <fluidoSkin>
+        <topBarEnabled>false</topBarEnabled>
+        <sideBarEnabled>true</sideBarEnabled>
+        <searchEnabled>true</searchEnabled>
+        </fluidoSkin>
+     </custom>
+        <version position="none"/>
     <bannerLeft>
         <name>Apache Software Foundation</name>
         <src>http://www.apache.org/images/asf-logo.gif</src>

Modified: struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml?rev=1412817&r1=1412816&r2=1412817&view=diff
==============================================================================
--- struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml (original)
+++ struts/site/branches/site2fluidomigration/src/site/xdoc/index.xml Fri Nov 23 10:48:33 2012
@@ -24,231 +24,200 @@ limitations under the License.
     </properties>
 
     <body>
-        <a name="Releases"/>
-        <section name="Recent Releases">
-
+        <div class="hero-unit">
+            <h1>Apache Struts 2.3.7 GA</h1>
             <p>
-              Scroll down for more about <a href="#Welcome">Apache Struts</a>,
+                Released on 19 November 2012. The <a href="http://struts.apache.org/2.x/docs/version-notes-237.html">version notes</a>
+                are available online. Scroll down for more about <a href="#Welcome">Apache Struts</a>,
               the <a href="#Project">Apache Struts project</a>, and <a href="#Newbies">Struts for Newbies</a>
             </p>
-            
-            <a name="2.3.7"/>
-            <subsection name="19 November 2012 - Struts 2.3.7 General Availability Release">
-
-            <p>
-                The latest production release of Struts 2 is
-                <a href="http://struts.apache.org/download.cgi#struts237">Struts 2.3.7</a>,
-                which was promoted to "General Availability"
-                (or "Ready for Primetime") on 19 November 2012.
-                The <a href="http://struts.apache.org/2.x/docs/version-notes-237.html">version notes</a>
-                are available online.
-            </p>
-            <p>
-                Struts 2.3.7 is mainly maintenance release. Developers are recommended to update their Struts 2
-                applications to use Struts 2.3.7.
-            </p>
-            </subsection>
-
-            <a name="1.3.10"/>
-            <subsection name="04 Dec 2008 - Struts 1.3.10 General Availability Release">
-
+            <a href="http://struts.apache.org/download.cgi#struts2232" class="btn btn-primary">Download</a>
+            <a href="primer.html" class="btn btn-info">Read more</a>
+                
+            <h1>Apache Struts 1.3.10 GA</h1>               
             <p>
                 The latest production release of Struts 1 is
                 <a href="http://struts.apache.org/download.cgi#struts1310">Struts 1.3.10</a>,
                 which was promoted to "General Availability"
                 (or "Ready for Primetime") on 04 Dec 2008.
             </p>
-            </subsection>
-
-        </section>
-
-        <a name="Welcome"/>
-        <section name="Apache Struts">
-
-            <p>
-                The Apache Struts web framework is a free open-source solution for creating
-                Java web applications.
-            </p>
-
-            <p>
-                Web applications differ from conventional websites in that
-                web applications can create a dynamic response.
-                Many websites deliver only static pages.
-                A web application can interact with databases and
-                business logic engines to customize a response.
-            </p>
-
-            <p>
-                 Web applications based on JavaServer Pages sometimes
-                 commingle database code, page design code, and control
-                 flow code.
-                 In practice, we find that unless these concerns are
-                 separated,
-                 larger applications become difficult to maintain.
-            </p>
-
-            <p>
-                 One way to separate concerns in a software application is to
-                 use a Model-View-Controller (MVC) architecture.
-                 The <em>Model</em> represents the business or database code,
-                 the <em>View</em> represents the page design code,
-                 and the <em>Controller</em> represents the navigational code.
-                 The Struts framework is designed to help developers create
-                 web applications that utilize a MVC architecture.
-            </p>
-
-            <p>
-                  The framework provides three key components:
-           </p>
-
-                    <ul>
-                        <li>
-                          A "request" handler provided by the application developer
-                          that is mapped to a standard URI.
-                        </li>
-                        <li>
-                          A "response" handler that transfers control to another resource
-                          which completes the response.
-                        </li>
-                        <li>
-                          A tag library that helps developers create interactive
-                          form-based applications with server pages.
-                        </li>
-                    </ul>
-
-            <p>
-                The framework's architecture and tags are buzzword compliant.
-                Struts works well with conventional REST applications
-                and with nouveau technologies like SOAP and AJAX.
-            </p>
-
-       </section>
-
-        <a name="Project"/>
-        <section name="The Apache Struts Project">
-
-            <p>
-                The Apache Struts Project is the open source community
-                that creates and maintains the Apache Struts framework.
-                The project consists of a diverse group of volunteers who
-                share common values regarding collaborative, community-based
-                open source development.
-                The Apache Struts Project is proud to share these values with
-                our parent organization: The Apache Software Foundation.
-            </p>
-
-            <p>
-                The project is called "Struts" because the framework is meant to
-                furnish the "invisible underpinnings" that support professional
-                application development.
-                Struts provides the glue that joins the various elements
-                of the standard Java platform into a coherent whole.
-                Our goal is to leverage existing standards by producing the
-                missing pieces we need to create enterprise-grade applications
-                that are easy to maintain over time.
-            </p>
-
-            <p>
-                The Apache Struts Project offers two major versions of the
-                Struts framework.
-                Struts 1 is recognized as
-                <em>the</em> most popular web application framework for Java.
-                The 1.x framework is mature, well-documented, and widely
-                supported.
-                Struts 1 is the best choice for teams who value proven
-                solutions to common problems.
-            </p>
-
-            <p>
-                Struts 2 was originally known as
-                <a href="http://www.opensymphony.com/webwork">WebWork 2</a>.
-                After working independently for several years,
-                the WebWork and Struts communities
-                <a href="announce-2005.html#a20051214.3">joined forces</a>
-                to create Struts 2.
-                The 2.x framework is the best choice for teams who value
-                elegant solutions to difficult problems.
-            </p>
-
-       </section>
-
-       <a name="Newbies"/>
-       <section name="Struts for Newbies">
-
-       <p>
-          If you are new to development with Struts,
-          here are some pointers on how to get started.
-       </p>
-
-       <p>
-         The framework "stands on the shoulders of giants".
-         To use Struts well, it's important to have a good grasp of the
-         fundamentals.
-         Start by reviewing the
-         <a href="http://struts.apache.org/primer.html">Key Technologies primer</a>,
-         and studying any unfamiliar topics.
-       </p>
-
-       <p>
-         Next, branch to either the
-         <a href="http://struts.apache.org/2.x/index.html">Struts 2</a> or
-         <a href="http://struts.apache.org/1.x/index.html">Struts 1</a>
-         documentation
-       </p>
-
-       <p>
-         The Struts 2 documentation is maintained as a wiki, but don't let that
-         stop you from scrolling through. We have organized the wiki so that
-         it can be read like a book, cover to cover. Just keep following the
-         Next links.
-       </p>
-
-       <p>
-        <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-978-1-4303-2033-3"><img src="./images/starting-struts2.jpg" alt="[Starting Struts 2]" hspace="16" align="left"/></a>
-         Better yet, turn first to the
-         <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-978-1-4303-2033-3">
-         Starting with Struts2</a> book.
-         At 122 pages, it's a small book that doesn't try to replicate the
-         online Struts 2 Documentation. Instead, the book is a perfect complement
-         to the Struts 2 website. The "minibook" is available both as a free PDF
-         and in conventional printed form.
-       </p>
-
-       <p>
-         For Struts 1, the most up-to-date book would be
-         <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-0072231319">Struts: The Complete Reference</a>.
-         For newbies, <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-0764559575">Struts for Dummies</a>
-         is another good choice.
-       </p>
-
-       <p>
-         And don't hesitate to
-         <a href="http://struts.apache.org/helping.html">get involved</a>.
-         The best way to help with any open source project is to improve the
-         documentation!
-         There are mountains of Struts know-how posted to the
-         <a href="http://struts.apache.org/mail.html">user mailing list</a>
-         that could be sholved into the documentation.
-         (How do you think this section started?)
-       </p>
-
-       </section>
-
-        <section>
-            <p class="right">
-                <strong>Next:</strong>
-                <a href="downloads.html">Releases</a>
-            </p>
-        </section>
-
-        <section name="Google Site Search">
-            <form onsubmit="q.value = query.value + ' site:struts.apache.org'" action="http://www.google.com/search" method="get">
-                <table><tr><td>
-                    <input name="q" type="hidden" />
-                    <input id="query" type="text" />
-                    <input name="Search" value="Search" type="submit" />
-                </td></tr></table>
-             </form>
-        </section>
+            <a href="http://struts.apache.org/download.cgi#struts1310" class="btn btn-primary">Download</a>
+        </div>
+        
+        <div class="row">
+            <div class="span">
+                <h2>The Apache Struts web framework</h2>
+                <a name="Welcome"/>
+                <p>
+                    The Apache Struts web framework is a free open-source solution for creating
+                    Java web applications.
+                </p>
+                
+                <p>
+                    Web applications differ from conventional websites in that
+                    web applications can create a dynamic response.
+                    Many websites deliver only static pages.
+                    A web application can interact with databases and
+                    business logic engines to customize a response.
+                </p>
+                
+                <p>
+                    Web applications based on JavaServer Pages sometimes
+                    commingle database code, page design code, and control
+                    flow code.
+                    In practice, we find that unless these concerns are
+                    separated,
+                    larger applications become difficult to maintain.
+                </p>
+                
+                <p>
+                    One way to separate concerns in a software application is to
+                    use a Model-View-Controller (MVC) architecture.
+                    The <em>Model</em> represents the business or database code,
+                    the <em>View</em> represents the page design code,
+                    and the <em>Controller</em> represents the navigational code.
+                    The Struts framework is designed to help developers create
+                    web applications that utilize a MVC architecture.
+                </p>
+                
+                <p>
+                    The framework provides three key components:
+                </p>
+                
+                <ul>
+                    <li>
+                        A "request" handler provided by the application developer
+                        that is mapped to a standard URI.
+                    </li>
+                    <li>
+                        A "response" handler that transfers control to another resource
+                        which completes the response.
+                    </li>
+                    <li>
+                        A tag library that helps developers create interactive
+                        form-based applications with server pages.
+                    </li>
+                </ul>
+                
+                <p>
+                    The framework's architecture and tags are buzzword compliant.
+                    Struts works well with conventional REST applications
+                    and with nouveau technologies like SOAP and AJAX.
+                </p>
+                
+                <hr/>
+        
+                <a name="Project"/>        
+                <h2>The Apache Struts Project</h2>
+                <p>
+                    The Apache Struts Project is the open source community
+                    that creates and maintains the Apache Struts framework.
+                    The project consists of a diverse group of volunteers who
+                    share common values regarding collaborative, community-based
+                    open source development.
+                    The Apache Struts Project is proud to share these values with
+                    our parent organization: The Apache Software Foundation.
+                </p>
+                
+                <p>
+                    The project is called "Struts" because the framework is meant to
+                    furnish the "invisible underpinnings" that support professional
+                    application development.
+                    Struts provides the glue that joins the various elements
+                    of the standard Java platform into a coherent whole.
+                    Our goal is to leverage existing standards by producing the
+                    missing pieces we need to create enterprise-grade applications
+                    that are easy to maintain over time.
+                </p>
+                
+                <p>
+                    The Apache Struts Project offers two major versions of the
+                    Struts framework.
+                    Struts 1 is recognized as
+                    <em>the</em> most popular web application framework for Java.
+                    The 1.x framework is mature, well-documented, and widely
+                    supported.
+                    Struts 1 is the best choice for teams who value proven
+                    solutions to common problems.
+                </p>
+                
+                <p>
+                    Struts 2 was originally known as
+                    <a href="http://www.opensymphony.com/webwork">WebWork 2</a>.
+                    After working independently for several years,
+                    the WebWork and Struts communities
+                    <a href="announce-2005.html#a20051214.3">joined forces</a>
+                    to create Struts 2.
+                    The 2.x framework is the best choice for teams who value
+                    elegant solutions to difficult problems.
+                </p>
+                
+                <h2>Struts for Newbies</h2>
+                
+                <a name="Newbies"/>
+                <p>
+                    If you are new to development with Struts,
+                    here are some pointers on how to get started.
+                </p>
+                
+                <p>
+                    The framework "stands on the shoulders of giants".
+                    To use Struts well, it's important to have a good grasp of the
+                    fundamentals.
+                    Start by reviewing the
+                    <a href="http://struts.apache.org/primer.html">Key Technologies primer</a>,
+                    and studying any unfamiliar topics.
+                </p>
+                
+                <p>
+                    Next, branch to either the
+                    <a href="http://struts.apache.org/2.x/index.html">Struts 2</a> or
+                    <a href="http://struts.apache.org/1.x/index.html">Struts 1</a>
+                    documentation
+                </p>
+                
+                <p>
+                    The Struts 2 documentation is maintained as a wiki, but don't let that
+                    stop you from scrolling through. We have organized the wiki so that
+                    it can be read like a book, cover to cover. Just keep following the
+                    Next links.
+                </p>
+                
+                <p>
+                    <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-978-1-4303-2033-3"><img src="./images/starting-struts2.jpg" alt="[Starting Struts 2]" hspace="16" align="left"/></a>
+                    Better yet, turn first to the
+                    <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-978-1-4303-2033-3">
+                        Starting with Struts2</a> book.
+                    At 122 pages, it's a small book that doesn't try to replicate the
+                    online Struts 2 Documentation. Instead, the book is a perfect complement
+                    to the Struts 2 website. The "minibook" is available both as a free PDF
+                    and in conventional printed form.
+                </p>
+                
+                <p>
+                    For Struts 1, the most up-to-date book would be
+                    <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-0072231319">Struts: The Complete Reference</a>.
+                    For newbies, <a href="http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-0764559575">Struts for Dummies</a>
+                    is another good choice.
+                </p>
+                
+                <p>
+                    And don't hesitate to
+                    <a href="http://struts.apache.org/helping.html">get involved</a>.
+                    The best way to help with any open source project is to improve the
+                    documentation!
+                    There are mountains of Struts know-how posted to the
+                    <a href="http://struts.apache.org/mail.html">user mailing list</a>
+                    that could be sholved into the documentation.
+                    (How do you think this section started?)
+                </p>
+                
+                <p>
+                    <div class="right">
+                        <b>Next:</b> <a href="downloads.html" class="btn btn-primary">Download</a>
+                    </div>
+                </p>
+            </div>
+        </div>       
     </body>
 </document>