<?php $json = trim(str_replace(PHP_EOL, '', View::read('slideshowData'))); ?> <div class="galleria galleria-theme-fullscreen"> </div> <script> var slideData = <?php echo "'", $json, "';"; ?> </script>
private $model; private $controller; public function __construct($controller, $model) { $this->model = $model; } public function read() { return '<p><a href="main.php?action=clicked">' . $this->model->string . '</a></p>'; } } class Controller { private $model; public function __construct($model) { $this->model = $model; } public function clicked() { $this->model->string = "Updated Data, thanks to MVC and PHP"; } } $model = new Model(); $controller = new Controller($model); $view = new View($controller, $model); if (isset($_GET['action']) && !empty($_GET['action'])) { $controller->{$_GET['action']}(); } echo $view->read();
<?php $jobs = View::read('jobList'); $tweetStrJob1 = urlencode('@highfidelityinc is working on building a new virtual world and they need a Graphics Engineer! Check out http://highfidelity.io/jobs #jobs #graphics'); $tweetStrJob2 = urlencode('@highfidelityinc is building a new virtual world and they need a Marketing Coordinator! Check out http://highfidelity.io/jobs #jobs #marketing'); ?> <section id="particle-system"></section> <h1>Jobs</h1> <nav id="joblist"> <a href="#physics-engineer"><span data-hover="Physics Engineer">Physics Engineer</span></a> <a href="#3d-graphics-engineer"><span data-hover="3D Graphics Engineer">3D Graphics Engineer</span></a> <a href="#cpp-generalist"><span data-hover="C++ Generalist">C++ Generalist</span></a> <a href="#character-animation-engineer"><span data-hover="Character Animation Engineer">Character Animation Engineer</span></a> <a href="#devops-engineer"><span data-hover="DevOps Engineer">DevOps Engineer</span></a> <a href="#technical-program-manager"><span data-hover="Technical Program Manager">Technical Program Manager</span></a> <a href="#technical-writer"><span data-hover="Technical Writer">Technical Writer</span></a> <br /> <a href="#raconteur"><span data-hover="Raconteur">Raconteur</span></a> </nav> <div role="main" id="main"> <article class="radius-border-top no-border-bottom"> <p class="lead"><a name="physics-engineer">Physics Engineer</a></p> <p> How do you simulate rigid body collisions in a VR environment containing too many objects to be simulated by any one CPU at one time, using multiple overlapping simulations running on many client machines? In a shared VR environment where two or more people are playing a game like ping pong or sword fighting, how do you minimize the latency between action and apparent reaction, while keeping the outcome very similar for all participants? If these questions are interesting and relevant for you, we'd love to talk.
<?php $docs_url = 'http://docs.highfidelity.io'; if (class_exists('View')) { $page = View::read('page'); $base_path = './'; } else { $page = 'blog'; $base_path = site_url('/') . '../'; } ?> <footer id="site-links" role="contentinfo"> <ul> <li class="<?php echo $page == 'subscribe' ? 'selected' : ''; ?> "> <a href="https://github.com/highfidelity" title="GitHub repository"> <i class="icon-github icon-2x"></i> <span>GitHub</span> </a> </li> <li> <a target="_blank" href="https://worklist.net" title="Worklist"> <svg viewBox="0 0 40 30"> <use xlink:href="<?php echo $base_path; ?> img/wl-logo.svg#logo"></use> </svg> <span>Worklist</span>
<?php $github_repos = View::read('github_repos'); ?> <canvas id="canvas" height="220" width="715"></canvas> <div role="main" id="main"> <?php foreach ($github_repos as $repo) { ?> <div class="cloud"> <h2><a href="//github.com/<?php echo $repo['github_repo']; ?> "> <i class="icon-github"></i><?php echo $repo['title']; ?> </a></h2> <h3><?php echo $repo['description']; ?> </h3> <?php if (!empty($repo['words'])) { ?> <ul> <?php foreach ($repo['words'] as $item) { ?> <li weight="<?php echo $item['weight'];
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="copyright" content="Copyright (c) 2013 High Fidelity Inc. http://www.highfidelity.io" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <?php View::includeStyles(); ?> <?php View::includeScripts(); ?> <script type="text/javascript"> $(function() { hifi.current_view = <?php echo View::read('page'); ?> ; hifi.init(); }); </script> <title><?php echo View::$title; ?> </title> </head> <body>
<?php $i = 0; ?> <section id="placenames"> <article> <h3>Open Source software for shared Virtual Reality</h3> <p class='online-domain-count'> <a href="https://metaverse.highfidelity.com/directory" target="_blank">There are <?php echo View::read('onlinedomains'); ?> domains online now.</a> </p> <ul> <?php foreach (View::read('places') as $place) { $i++; ?> <li> <a href="<?php echo htmlentities($place->address); ?> "> <img src="<?php echo htmlentities($place->previews->thumbnail); ?> " hdsrc="<?php echo htmlentities($place->previews->lobby); ?>