juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject incubator-juneau-website git commit: Website updates. Fix main page contents. Add Javadocs.
Date Sun, 24 Jul 2016 21:25:31 GMT
Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site fb61993ae -> ed9a88688


Website updates.  Fix main page contents.  Add Javadocs.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/ed9a8868
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/ed9a8868
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/ed9a8868

Branch: refs/heads/asf-site
Commit: ed9a886883e7fa0ffa775661629f5da075ec8c4f
Parents: fb61993
Author: jamesbognar <jamesbognar@gmail.com>
Authored: Sun Jul 24 17:24:59 2016 -0400
Committer: jamesbognar <jamesbognar@gmail.com>
Committed: Sun Jul 24 17:24:59 2016 -0400

----------------------------------------------------------------------
 content/api-documentation/index.html | 210 ++++++++++--------------------
 content/index.html                   | 131 ++++++++-----------
 content/styles/main.css              |  22 +++-
 3 files changed, 146 insertions(+), 217 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ed9a8868/content/api-documentation/index.html
----------------------------------------------------------------------
diff --git a/content/api-documentation/index.html b/content/api-documentation/index.html
index edfae84..1699f87 100644
--- a/content/api-documentation/index.html
+++ b/content/api-documentation/index.html
@@ -1,140 +1,74 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-    <head>
-    <link rel="stylesheet" href="/styles/main.css">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/>
-    <meta charset="UTF-8"/>
-    <title>Apache Juneau (incubating): API Documentation</title>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<title>Juneau</title>
+<script type="text/javascript">
+    targetPage = "" + window.location.search;
+    if (targetPage != "" && targetPage != "undefined")
+        targetPage = targetPage.substring(1);
+    if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
+        targetPage = "undefined";
+    function validURL(url) {
+        try {
+            url = decodeURIComponent(url);
+        }
+        catch (error) {
+            return false;
+        }
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_' ||
+                    ch.charCodeAt(0) > 127) {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
+    function loadFrames() {
+        if (targetPage != "" && targetPage != "undefined")
+             top.classFrame.location = top.targetPage;
+    }
+</script>
 </head>
-
-
-    <body>
-
-        <!-- Header -->
-<div id="header">
-    <h1><a href="/">Apache Juneau (incubating)</a></h1>
-    <ul id="navigation" class="menu">
-        
-        
-        
-        
-            
-        
-            
-        
-            
-                <li><a
-                    
-                        href="/downloads/"
-                    
-                    
-                        class="download"
-                    >Downloads</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="/source-code"
-                    
-                    
-                        class="sourcecode"
-                    >Source Code</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="/api-documentation/"
-                    
-                    >API Documentation</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="https://issues.apache.org/jira/browse/PROJECT/"
-                    
-                    >JIRA</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="/userguide/"
-                    
-                    >User Guide</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="/open-source/"
-                    
-                    >Contributing</a></li>
-            
-        
-            
-                <li><a
-                    
-                        href="/community/"
-                    
-                    >Community</a></li>
-            
-        
-    </ul>
-</div>
-
-
-        <!-- Content -->
-        <div id="page">
-            <div id="content">
-                <h1>API Documentation</h1>
-
-<p>Provide API Documentation Here</p>
-
-
-
-            </div>
-        </div>
-
-        <!-- Footer -->
-<div id="footer">
-
-    <!-- Copyrights -->
-    <p class="copyright">
-        Copyright &copy; 2016 <a href="http://www.apache.org/">The Apache
-            Software Foundation</a>, Licensed under the <a
-        href="http://www.apache.org/licenses/LICENSE-2.0">Apache License,
-        Version 2.0</a>.
-    </p>
-
-    <!-- Trademarks -->
-    <p class="trademarks">
-        Apache and the Apache feather logo are trademarks of The Apache
-        Software Foundation.
-    </p>
-
-    <!-- Incubation disclaimer -->
-    <p class="incubator-logo">
-        <a href="http://incubator.apache.org/" target="_blank">
-            <img src="http://incubator.apache.org/images/egg-logo2.png"/>
-        </a>
-    </p>
-    <p class="disclaimer">
-        Apache Juneau is an effort undergoing Incubation at The Apache
-        Software Foundation (ASF), sponsored by the Incubator. Incubation is
-        required of all newly accepted projects until a further review
-        indicates that the infrastructure, communications, and decision making
-        process have stabilized in a manner consistent with other successful
-        ASF projects. While incubation status is not necessarily a reflection
-        of the completeness or stability of the code, it does indicate that the
-        project has yet to be fully endorsed by the ASF.
-    </p>
-
-</div>
-
-
-    </body>
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
+<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()">
+<frame src="overview-frame.html" name="packageListFrame" title="All Packages">
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces
(except non-static nested types)">
+</frameset>
+<frame src="overview-summary.html" name="classFrame" title="Package, class and interface
descriptions" scrolling="yes">
+<noframes>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<h2>Frame Alert</h2>
+<p>This document is designed to be viewed using the frames feature. If you see this
message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame
version</a>.</p>
+</noframes>
+</frameset>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ed9a8868/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index 070edee..098b861 100644
--- a/content/index.html
+++ b/content/index.html
@@ -1,95 +1,78 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<link rel="stylesheet" href="/styles/main.css">
-<meta name="viewport"
-	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no,
target-densitydpi=device-dpi" />
-<meta charset="UTF-8" />
-<title>Apache Juneau (incubating)</title>
+	<link rel="stylesheet" href="styles/main.css">
+	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi" />
+	<meta charset="UTF-8" />
+	<title>Apache Juneau (incubating)</title>
 </head>
 <body>
 
 	<!-- Header -->
 	<div id="header">
 		<h1>
-			<a href="/">Apache Juneau (incubating)</a>
+			<a href="index.html">Apache Juneau (incubating)</a>
 		</h1>
 		<ul id="navigation" class="menu">
-			<li><a href="/downloads/" class="download">Downloads</a></li>
-			<li><a href="/source-code" class="sourcecode">Source Code</a></li>
-			<li><a href="/api-documentation/">API Documentation</a></li>
-			<li><a href="https://issues.apache.org/jira/browse/PROJECT/">JIRA</a></li>
-			<li><a href="/userguide/">User Guide</a></li>
-			<li><a href="/open-source/">Contributing</a></li>
-			<li><a href="/community/">Community</a></li>
+			<li><a href="index.html"><b>About</b></a></li>
+			<li><a href="api-documentation/overview-summary.html">Overview</a></li>
+			<li><a href="api-documentation/index.html">Javadocs</a></li>
+			<li><a href="downloads.html">Downloads</a></li>
+			<li><a href="https://git-wip-us.apache.org/repos/asf/incubator-juneau.git">Source
Code</a></li>
+			<li><a href="https://issues.apache.org/jira/browse/JUNEAU">Bugs</a></li>
+			<li><a href="community.html">Community</a></li>
 		</ul>
 	</div>
 
 	<!-- Content -->
 	<div id="page">
-		<div id="content">
-			<div class="hook">
-				<p>
-					Juneau is a toolkit for marshalling POJOs to a wide variety of content types using a
common framework, and for creating sophisticated self-documenting REST interfaces and microservices
using VERY little code. 
-				</p>
-				<p>
-					Juneau has been in use for years on over 50 projects throughout IBM.  Recently it was
hosted as a component of Jazz Foundation where it was used by several projects that make up
Rational Collaborative Lifecycle Management.  Many projects use only the marshalling framework,
while others use the entire API to create sophisticated REST server/client interfaces. 
-				</p>
-				<p>
-					The goals of Juneau include:
-				</p>
+		<h3 style="color:rgb(44, 69, 87);">About Apache Juneau</h3>
+		<p>
+			Juneau is a toolkit for marshalling POJOs to a wide variety of content types using a common
framework, and for creating sophisticated self-documenting REST interfaces and microservices
using VERY little code. 
+		</p>
+		<p>
+			Juneau has been in use for years on over 50 projects throughout IBM.  Recently it was
hosted as a component of Jazz Foundation where it was used by several projects that make up
Rational Collaborative Lifecycle Management.  Many projects use only the marshalling framework,
while others use the entire API to create sophisticated REST server/client interfaces. 
+		</p>
+		<p>
+			Juneau consists of 4 components:  <b>Core</b>, <b>Server</b>,
<b>Client</b>, and <b>Microservice</b>.
+		</p>
+		<ul>
+			<li><b>Core</b>
+				<ul>
+					<li>Simple, flexible, all-in-one API for serializing/parsing Java POJOs to JSON,
XML, HTML, URL-Encoding, UON, MessagePack, RDF/XML, RDF/XML-ABBREV, N3, Turtle, N-Tuple, XML-Schema,
JSON-schema, and Cognos-XML.
+					<li>Serialize/parse structured documents using beans, or unstructured free-form
documents using generic Maps and Collections.
+					<li>DTO objects for creating ATOM feeds, Cognos, and JSON-schema in any supported
languages (e.g ATOM in JSON or RDF).
+					<li>Serializers have many options for tweaking output (e.g. whitespace options,
XML namespace options, strict/non-strict syntax, etc...)
+					<li>Sophisticated JSON parsing support.  Supports ALL valid JSON.  It also supports
Javascript-style comments, single or double quoting, quoted (strict) or unquoted (non-strict)
attributes, JSON fragments (e.g JSON string, numeric, boolean values), and concatenated strings.
+					<li>Sophisticated API for reading and manipulating configuration INI files using
POJOs. 
+				</ul>
+			</li>
+			<li><b>Server</b>
 				<ul>
-					<li>Simplicity!  The ability to create complex REST interfaces in as little code
as possible.  Let the developers deal with POJOs and let the framework handle the details
of marshalling those POJOs.  
-					<li>Discoverability!  Users should be able to navigate through and figure out
how to use a REST interface through the use of auto-generated OPTIONs pages.
-					<li>Customizability!  Lots of easy-to-understand configurable options throughout
the framework.
-					<li>Performance!  Lots of work has been done to optimize the marshalling framework
for use in high-concurrency environments.  POJOs are marshalled directly without the use of
intermediate DOM objects.
-					<li>No code generation or code scanning.  Code generators are great until they
break and nobody knows how to fix them.
-					<li>No configuration or setup for using.  Simply include the library in your existing
code and start using.  Packaged as either an all-in-one jar or as OSGi bundles.
-					<li>Mimimal dependence on any 3rd party libraries.  See prereqs below.
-					<li>Always up-to-date information by using Javadocs for documentation.  The Javadoc
overview document provides an overview of the toolkit with links to detailed package-level
topics.			
+					<li>Build complex REST interfaces using annotations and servlets.
+					<li>Automatic parsing of POJOs from HTTP bodies, form posts, query parameters,
URL variables, request attributes, headers, etc...
+					<li>Automatic serializing of POJOs to HTTP responses.
+					<li>Automatic error handling.
+					<li>Automatic self-documenting OPTIONs pages.
+					<li>Support for guards, filters, etc...
+					<li>Simple internationalization support.
+					<li>JAX-RS integration support.
 				</ul>
-			</div>
-			<div>
-				Juneau consists of 4 components:  <b>Core</b>, <b>Server</b>,
<b>Client</b>, and <b>Microservice</b>.
-			</div>
-			<ul class="features">
-				<li><b>Core</b>
-					<ul>
-						<li>Simple, flexible, all-in-one API for serializing/parsing Java POJOs to JSON,
XML, HTML, URL-Encoding, UON, RDF/XML, RDF/XML-ABBREV, N3, Turtle, N-Tuple, XML-Schema, JSON-schema,
and Cognos-XML.
-						<li>Serialize/parse structured documents using beans, or unstructured free-form
documents using generic Maps and Collections.
-						<li>DTO objects for creating ATOM feeds, Cognos, and JSON-schema in any supported
languages (e.g ATOM in JSON or RDF).
-						<li>Serializers have many options for tweaking output (e.g. whitespace options,
XML namespace options, strict/non-strict syntax, etc...)
-						<li>Sophisticated JSON parsing support.  Supports ALL valid JSON.  It also supports
Javascript-style comments, single or double quoting, quoted (strict) or unquoted (non-strict)
attributes, JSON fragments (e.g JSON string, numeric, boolean values), and concatenated strings.
-						<li>Sophisticated API for reading and manipulating configuration INI files using
POJOs. 
-					</ul>
-				</li>
-				<li><b>Server</b>
-					<ul>
-						<li>Build complex REST interfaces using annotations and servlets.
-						<li>Automatic parsing of POJOs from HTTP bodies, form posts, query parameters,
URL variables, request attributes, headers, etc...
-						<li>Automatic serializing of POJOs to HTTP responses.
-						<li>Automatic error handling.
-						<li>Automatic self-documenting OPTIONs pages.
-						<li>Support for guards, filters, etc...
-						<li>Simple internationalization support.
-						<li>JAX-RS integration support.
-					</ul>
-				</li>
-				<li><b>Client</b>
-					<ul>
-						<li>Simple REST Client API for interacting with REST services using POJOs.  Built
on top of Apache HTTP Client.
-						<li>Ability to retrieve POJO proxies that use REST as the communications protocol.
-					</ul>
-				</li>
-				<li><b>Microservice</b>
-					<ul>
-						<li>Build self-contained REST interfaces as executable jars.
-						<li>Built on top of embedded Jetty and configured through either external INI
config files or manifest files.
-						<li>A single compact library of less than 1MB.
-					</ul>
-				</li>
-			</ul>
-		</div>
+			</li>
+			<li><b>Client</b>
+				<ul>
+					<li>Simple REST Client API for interacting with REST services using POJOs.  Built
on top of Apache HTTP Client.
+					<li>Ability to retrieve POJO proxies that use REST as the communications protocol.
+				</ul>
+			</li>
+			<li><b>Microservice</b>
+				<ul>
+					<li>Build self-contained REST interfaces as executable jars.
+					<li>Built on top of embedded Jetty and configured through either external INI
config files or manifest files.
+					<li>A single compact library of less than 1MB.
+				</ul>
+			</li>
+		</ul>
 	</div>
 	
 	<!-- Footer -->

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/ed9a8868/content/styles/main.css
----------------------------------------------------------------------
diff --git a/content/styles/main.css b/content/styles/main.css
index e980c39..0e4fae3 100644
--- a/content/styles/main.css
+++ b/content/styles/main.css
@@ -4,13 +4,10 @@
 }
 
 body {
-
     color: black;
     background: white;
-
     font-family: 'Carlito', 'FreeSans', 'Liberation Sans', 'Arial', 'Helvetica', sans-serif;
     text-rendering: optimizeLegibility;
-
     margin: 0;
     padding: 0;
 
@@ -18,10 +15,12 @@ body {
 
 div#header {
     color: white;
-    background: #c0c0c0;
     display: table;
     width: 100%;
     padding: 1em;
+    background-image: url('header.jpg');
+	background-color: #9bc5db;
+	border-bottom: 1px;
 }
 
 
@@ -35,6 +34,7 @@ div#header > * {
     font-size: 1.75em;
     margin: 0.25em 0;
     white-space: nowrap;
+    color: #6d9bb0;
 }
 
 #header h1 a[href] {
@@ -261,7 +261,7 @@ p {
 div#footer {
     font-size: 0.9em;
     border-top: 1px solid silver;
-    margin-top: 3em;
+   /* margin-top: 3em; */
     padding: 1em;
     background: #EEE;
 }
@@ -633,3 +633,15 @@ table.releases td {
 
 }
 
+div#page {
+    color: white;
+    display: table;
+    width: 100%;
+    padding: 1em;
+	background-color: white;
+	border-bottom: 1px;
+	border-top: 1px solid silver;
+	font-size: 0.9em;
+	color: #2E4053;
+	font-weight: normal;
+}


Mime
View raw message