home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (index.ftl)

This example Java source code file (index.ftl) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

doctype, eee, f55, html-looking, react's, roboto, since, todomvc

The index.ftl Java example source code

<!DOCTYPE html>
<html lang="en" data-framework="react">
		<meta charset="utf-8">
		<link rel="stylesheet" href="node_modules/todomvc-common/base.css">
		<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">

        <!-- jQuery -->
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
        <script src="/assets/d3.min.js">
        <script src="/assets/render.js">
        <link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>

            body {
                font-family: 'Roboto', sans-serif;
                color: #333;
                font-weight: 300;
                font-size: 16px;
            svg {
                border: 1px solid #333;
            #wrap {
                width: 800px;
                margin-left: auto;
                margin-right: auto;
            #embed {
                margin-top: 10px;
            h1 {
                text-align: center;
                font-weight: normal;
            .tt {
                margin-top: 10px;
                background-color: #EEE;
                border-bottom: 1px solid #333;
                padding: 5px;
            .txth {
                color: #F55;
            .cit {
                font-family: courier;
                padding-left: 20px;
                font-size: 14px;



		<section id="todoapp">
		<footer id="info">
			<p>Double-click to edit a todo

<p>Created by petehunt

<p>Part of TodoMVC

</footer> <script src="node_modules/todomvc-common/base.js"> <script src="node_modules/react/dist/react-with-addons.js"> <script src="node_modules/react/dist/JSXTransformer.js"> <script src="node_modules/director/build/director.js"> <script src="js/utils.js"> <script src="js/todoModel.js"> <!-- jsx is an optional syntactic sugar that transforms methods in React's `render` into an HTML-looking format. Since the two models above are unrelated to React, we didn't need those transforms. --> <script type="text/jsx" src="js/todoItem.jsx"> <script type="text/jsx" src="js/footer.jsx"> <script type="text/jsx" src="js/app.jsx"> </body> </html>

Other Java examples (source code examples)

Here is a short list of links related to this Java index.ftl source code file:

my book on functional programming


new blog posts


Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.