forked from csev/wa4e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
124 lines (121 loc) · 4.65 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
use \Tsugi\Util\Net;
use \Tsugi\Core\LTIX;
use \Tsugi\UI\Output;
// Help the installer through the setup process
require "check.php" ;
require "top.php";
require "nav.php";
// Help the installer through the setup process
require_once "tsugi/admin/sanity-db.php";
?>
<div id="container">
<div style="margin-left: 10px; float:right">
<iframe width="400" height="225" src="https://www.youtube.com/embed/tuXySrvw8TE?rel=0" frameborder="0" allowfullscreen></iframe>
</div>
<h1>Web Applications for Everybody</h1>
<?php if ( isset($_SESSION['id']) ) { ?>
<p>
Welcome to our Massive Open Online Course (MOOC). Now that you have logged in, you have access to
course-style features of this web site.
<ul>
<li>
As you go through the <a href="lessons">Lessons</a> in the course you now will see additional
links to the autograders in the class. You can attempt the autograders and get a score.</li>
<li>
You can track your progress through the course using the <a href="tsugi/assignments.php">Assignments</a>
tool and when you complete a group of assignments, you can earn a <a href="tsugi/badges.php">Badge</a>.
You can download these badges and host them on your web site or refer the badge URLs on this site.</li>
<li>
There is an
<a href="https://disqus.com/home/channel/webapplicationsforeverybody/" target="_blank">online disucsson forum</a>
hosted by Disqus.</li>
<li>
You can use these Creative Commons Licensed materials
such as the
<a href="lectures" target="_blank">lectures</a>
in your own classes.
You can also
<a href="tsugi/cc/export.php">export the course material</a> as an
IMS Common Cartridge®, or apply for
an IMS Learning Tools Interoperability® (LTI®)
<a href="tsugi/admin/key/index.php">key and secret</a>
to launch the autograders from your LMS.
</li>
</ul>
<?php } else { ?>
<p>
Hello and welcome to my site where you can learn to build database-backed
web sites using PHP, MySQL, JQuery, and Handlebars.
You can use this web site many different ways:
<ul>
<li>
You browse my videos and course materials under <a href="lessons">Lessons</a>. The materials
I have developed
for this class are all provided with a Creative Commons license so you can download or link to
them to incorporate them into your own teaching if you like.</li>
<li>
If you <a href="tsugi/login.php">log in</a> to this site
it is as if you have joined a free, global
open and online course. You have a grade book, autograded assignments, a discussion forum, and can earn
badges for your efforts.</li>
<li>
We take your privacy seriously on this site, you can review our
<a href="privacy">Privacy Policy</a> for more details.
</li>
<li>
If you want to use these Creative Commons Licensed materials
in your own classes you can download or link to the artifacts on this site,
<a href="tsugi/cc/export.php">export the course material</a> as an
IMS Common Cartridge®, or apply for
an IMS Learning Tools Interoperability® (LTI®)
<a href="tsugi/admin/key/index.php">key and secret</a>
to launch the autograders from your LMS.
</li>
<li>
The <a href="code" target="_blank">sample code</a> for this site including the autograders, slides, and course content is all available on
<a href="https://github.com/csev/wa4e" target="_blank">GitHub</a>. That means you could make your own
copy of the course site, publish it and remix it any way you like. Even more exciting, you could translate
the entire site (course) into your own language and publish it.</li>
</ul>
<?php } ?>
This site uses <a href="http://www.tsugi.org" target="_blank">Tsugi</a>
framework to embed a learning
management system into this site and handle the autograders.
If you are interested in collaborating
to build these kinds of sites for yourself, please see the
<a href="http://www.tsugi.org" target="_blank">tsugi.org</a> website.
</p>
<h3>TextBook</h3>
<p>
I am using an open textbook
<a href="http://textbooks.opensuny.org/the-missing-link-an-introduction-to-web-development-and-programming/"
target="_new">
The Missing Link: An Introduction to Web Development and Programming
</a>
written by Michael Mendez
and published by
<a href="http://textbooks.opensuny.org/" target="_blank">OpenSUNY</a>. All of the electronic copies
of the book are free. Print copies of the book are available on
<a href="http://www.amazon.com/The-Missing-Link-Introduction-Development/dp/1502447967/"
target="_blank">Amazon</a>.
</p>
<h3>Copyright</h3>
<p>
All this material produced by Charles Severance (including audio and video)
is Copyright Creative Commons Attribution 3.0
unless otherwise indicated.
</p>
<p>
-- Dr. Chuck
</p>
<!--
<?php
echo("IP Address: ".Net::getIP()."\n");
echo(Output::safe_var_dump($_SESSION));
var_dump($USER);
?>
-->
</div>
<?php
require "foot.php";