blob: 5e77e9c942740358cbae6b40d6126b4507c1f4e3 [file] [log] [blame]
require_once($_SERVER['DOCUMENT_ROOT'] . "/");
require_once($_SERVER['DOCUMENT_ROOT'] . "/");
require_once($_SERVER['DOCUMENT_ROOT'] . "/");
if (is_file($_SERVER['DOCUMENT_ROOT'] . "/projects/common/project-info.class.php"))
require_once($_SERVER['DOCUMENT_ROOT'] . "/projects/common/project-info.class.php");
$App = new App(); $Nav = new Nav(); $Menu = new Menu();
if (class_exists("ProjectInfo"))
$projectInfo = new ProjectInfo("modeling");
$projectInfo->generate_common_nav( $Nav );
include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
# index.php
# Author: Richard Gronback (with edits by Nick Boldt)
# Date: 2006-05-11
# Description: Modeling project homepage
# Begin: page-specific settings. Change these.
$pageTitle = "Modeling in the web";
$pageKeywords = "emf, UI, forms, modeling, UML, UML2, model-driven, web, html, javascript, json, angular, react";
$pageAuthor = "Richard Gronback";
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<div id="maincontent">
<div id="midcolumn">
<td><p>Slowly but steadily, selected modeling tools are being migrated to web technology using emerging technologies such as Atom, Eclipse Che, Monaco, Thea, or LSP. The following technologies allow you to develop modeling tools and model-based application in the web.</p>
<td align="right"><img src="">
<div class="container-fluid">
<div id="content"></div>
<script type="text/javascript" src="ejs_production.js"></script>
(function () {
// Render the template using the specified data.
var html = new EJS({url: "projects.ejs"}).render({projects: [
{Title:'JSON Forms',
Description:'JSON Forms is alternative renderer engine for EMF Forms. It allows to efficiently build form-based web UIs. JSON Forms eliminates the need to write HTML templates and Javascript for data binding by hand in order to create customizable forms. It does so by leveraging the capabilities of JSON and JSON schema and providing a simple and declarative way of describing forms. Forms are then rendered with a UI framework, currently one that is based on Angular. If you already use EMF Forms, there is an exporter to transfer data models and view models to the JSON Forms format.',
document.getElementById("content").innerHTML = html;
<div id="rightcolumn">
<div class="sideitem">
<h6>News on Twitter</h6>
<a class="twitter-timeline" href="" data-widget-id="503883842478809088">#eclipsemf Tweets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);