SlideShare une entreprise Scribd logo
1  sur  2
Télécharger pour lire hors ligne
6/1/09



                                                                                                          Follow these steps to upload a finished tutorial onto the alice09 repository webpage  
                                                                                                          (h9p://www.cs.duke.edu/csed/alice09/). To transfer from the alice09 repository to the teacher 
                                                                                                          website (h9p://www.cs.duke.edu/csed/alice/aliceInSchools/workshop09/tutorials.php) skip 
                                                                                                          directly to step 7 

                                                                                                                                                       Step 1: Create a Folder 


                                                                                                          1.  Create
a
folder:

Name
it
“nameOfTutorial”
(shorten
the
name
as
needed,
try
to


       Repository/Site
Upload
Instruc5ons
                                                                    keep
“tutorial”
at
the
end
though)

                                                                                                          2.  Create
Documents:
Each
tutorial
folder
(*
if
applicable)
should
have

                                                                                                                     nameOfTutorial.ppt
(powerpoint
document)

                                                                                                                     nameOfTutorial.pdf
(one
slide
per
page)

                                                                                                                     nameOfTutorialHandout.pdf
(handout,
4
slides
to
a
page)

                                                                                                                     *nameOfTutorialStart.a2w
(star5ng
alice
world)

                                                                                                                     *nameOfTutorialFinished.a2w
(finished
alice
world)

                                            By
Elizabeth
Liang
                                                      *exercises.html
(webpage
to
put
exercises)

                                             ewl6@duke.edu
                                                          nameOfTutorialScreen.jpg
(screenshot
associated
with
tutorial)

                                       Duke
University,
May
2009

                                                                                                                     tutorial.php
(code
for
the
repository)

                                 Alice
Project
under
Prof.
Susan
Rodger

                                                                                                                     publicTutorial.php
(code
for
the
teacher
website)





                                          Step 2: Tutorial PHP Code                                                                                   Step 3: Public PHP Code 

1.  For
tutorial.php
create
a
new
document
in
a
html/text
editor
                                         1.  For
publicTutorial.php
create
a
new
document
in
a
html/text
editor

2.  Insert
the
following
code,
replacing/dele5ng
informa5on
as
needed:
(parent
                           2.  Insert
the
following
code,
replacing/dele5ng
informa5on
as
needed:
(parent

    folder
means
either
ge^ngStartedTutorials
or
advancedTutorials
depending
on
                              folder
means
either
ge^ngStartedTutorials
or
advancedTutorials
depending
on

    the
tutorial)
                                                                                            the
tutorial)


         <p
class="tutorial">

                                                                                 <p
class="tutorial">


         <img
src="tutorials/parentFolder/nameOfTutorial/nameOfTutorialScreen.jpg"
alt="">
                     <img
src=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialScreen.jpg"
alt="">

         <b>Name:</b>
NameOfTutorial<br>
                                                                       <b>Name:</b>
NameOfTutorial<br>

         <b>Level:</b>
Beginner/Intermediate/Expert<br>
                                                        <b>Level:</b>
Beginner/Intermediate/Expert<br>

         <b>Time:</b>
Approx.
5me
it
takes
to
do
the
tutorial<br><br>
                                          <b>Time:</b>
Approx.
5me
it
takes
to
do
the
tutorial<br><br>


         <b>Descrip5on:</b>
Descrip5on
of
tutorial
and
the
concepts
it
covers
(2‐3
sentences).<br><br>
         <b>Descrip5on:</b>
Descrip5on
of
tutorial
and
the
concepts
it
covers
(2‐3
sentences).<br><br>

         <b>Worlds:</b>
                                                                                        <b>Worlds:</b>

         <a
href=“tutorials/parentFolder/nameOfTutorial/nameOfTutorialStart.a2w”>Start</a>,

                   <a
href=“workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialStart.a2w”>Start</a>,


         <a
href=“tutorials/parentFolder/nameOfTutorial/nameOfTutorialFinished.a2w”>Finished</a><br>
           <a
href=“workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialFinished.a2w”>Finished</a><br>

         <b>Links:</b>

                                                                                        <b>Links:</b>


         <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorial.ppt">Powerpoint</a>,

                   <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorial.ppt">Powerpoint</a>,


         <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorial.pdf">Slides
(.pdf)</a>,

                <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorial.pdf">Slides
(.pdf)</a>,


         <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorialHandout.pdf">Handout</a>,

               <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialHandout.pdf">Handout</a>,


         <a
href="tutorials/parentFolder/nameOfTutorial/exercises.html"
target="_blank">Exercises</a>
          <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/exercises.html"
target="_blank">Exercises</a>

         </p>
                                                                                                  </p>





                                                                                                                                                                                                                               1
6/1/09




                                              Step 4: Exercises Code                                                                                                 Step 5: Uploading 

1.  For
exercises.html
create
a
new
document
in
a
html/text
editor
                                               1.  Connect
to
the
CS
server.
(If
you
do
not
have
a
FTP/SSH
program
download
one
from

                                                                                                                      hip://www.oit.duke.edu/comp‐print/sonware/list.html,
go
down
to
“Security,
SSH/
2.  Insert
the
following
code,
replacing
informa5on
as
needed:

                                                                                                                      SFTP
and
firewalls.”
I
use
fileZilla
but
any
of
those
should
work.)
The
server
name
is

                                                                                                                      login.cs.duke.edu,
use
your
cs
username
and
password,
the
port
is
22.

     <!DOCTYPE
HTML
PUBLIC
"‐//W3C//DTD
HTML
4.01//EN"

     "hip://www.w3.org/TR/html4/strict.dtd">
                                                                     2.  Once
you
have
successfully
connected
it
will
automa5cally
go
to
your
cs
space.
Go
to

     <html>
                                                                                                          the
root
folder
by
clicking
the
folder
with
just
a
“/”
aner
it.

     <head>

     <meta
hip‐equiv="Content‐type"
content="text/html;charset=UTF‐8”>
                                           3.  Enter
in
the
address
“/usr/project/csed/web/alice09/tutorials/parentFolder”

     <5tle>NameOfTutorial
Exercises</5tle>

     </head>
                                                                                                     4.  Drag
the
nameOfTutorial
folder
from
your
computer
into
that
space.

     <body>

                                                                                                                  5.  Open
the
tutorial.php
document
in
the
parentFolder
and
download
it
onto
your

     <h2>NameOfTutorial
Exercises</h2>
                                                                               computer
(drag
it
somewhere
where
you
can
find
it).


     <p>

     Text
for
the
exercises
go
here,
just
a
few
sugges5ons
that
can
be
used
as
follow
up/homework.
               6.  Open
it
in
a
html/text
editor
and
where
you
want
to
add
the
tutorial
(for
example
at

     </p>

                                                                                                                      the
end
or
aner
a
certain
tutorial
that
is
already
there)
on
the
page
insert
the

     <p>
                                                                                                             following
code,
replacing
informa5on
as
needed.
Reupload
when
done.

     <a
href="hip://cs.duke.edu/~rodger">Susan
Rodger</a>
//
Duke
University
Department
of
Computer
Science
//

     Summer
2009

     </p>

                                                                                                                        <?php

     </body>

     </html>
                                                                                                           include
(”nameOfTutorial/tutorial.php");

                                                                                                                        ?>





                                                                                                                                                               Step 7: Directory Transfer 
                                    Step 6: TesAng and TroubleshooAng 

                                                                                                                  1.  Transfer
the
nameOfTutorial
folder
from
“/usr/project/csed/web/alice09/
1.  Open
a
web
browser
and
go
to
the
repository
page


                                                                                                                      tutorials/parentFolder”
into
“/usr/project/csed/web/alice/aliceInSchools/
    (hip://www.cs.duke.edu/csed/alice09/).
Your
tutorial
should
now
be
on
the
                                        workshop09/tutorials/parentFolder”

    page,
if
a
warning
shows
go
back
and
double
check
your
php
code,
making
sure

    the
syntax
and
spelling
is
correct.
                                                                          2.  Update
(download,
change,
reupload)
parentFolder’s
publicTutorial.php
with
the

                                                                                                                      following
code
placed
where
you
want
the
tutorial
to
display
(for
example
at
the

2.  If
the
picture
and
text
do
not
line
up
correctly
(the
picture
aner
it
seems

                                                                                                                      end
or
aner
a
certain
tutorial),
replacing
informa5on
as
necessary:

    indented
into
the
page)
go
back
to
the
php
code
and
add
<br><br>
tags
right

    before
the
</p>
tag.
You
will
need
to
change
both
tutorial.php
and

    publicTutorial.php.
Upload
the
modified
documents
into
the
appropriate
folder.
                                      <?php

                                                                                                                        include
(”nameOfTutorial/publicTutorial.php");

    You
do
not
need
to
modify
tutorial.php
in
the
parent
folder
again.
                                                 ?>


3.  If
something
s5ll
doesn’t
work,
let
Liz
know
and
we’ll
try
to
figure
it
out.


4.  If
everything
looks
ok,
then
congratula5ons
you’re
done
with
another
tutorial!
                               3.  Open
a
web
browser
and
go
to

    Cross
it
off
the
whiteboard
and
update
your
blog.


                                                              hip://www.cs.duke.edu/csed/alice/aliceInSchools/workshop09/tutorials.php
to

5.  If
you
also
need
to
upload
it
onto
the
teacher
website
(check
with
Professor
                                     check
that
the
tutorial
displays
properly,
if
it
doesn’t
check
the
spelling
and

    Rodger
first)
then
con5nue
onto
step
7.
                                                                           syntax
in
the
php
code
that
you
inserted
earlier.





                                                                                                                                                                                                                  2

Contenu connexe

Similaire à uploadInstructionsHandout

01 web-apps
01 web-apps01 web-apps
01 web-apps
snopteck
 
Creating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without SwearingCreating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without Swearing
martinwolak
 
oop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.comoop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.com
tutorialsruby
 
oop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.comoop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.com
tutorialsruby
 
Oop in php_tutorial_for_killerphp.com
Oop in php_tutorial_for_killerphp.comOop in php_tutorial_for_killerphp.com
Oop in php_tutorial_for_killerphp.com
ayandoesnotemail
 
Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009
Emma Jane Hogbin Westby
 

Similaire à uploadInstructionsHandout (20)

01 web-apps
01 web-apps01 web-apps
01 web-apps
 
01 web-apps
01 web-apps01 web-apps
01 web-apps
 
Jsf2 composite-components
Jsf2 composite-componentsJsf2 composite-components
Jsf2 composite-components
 
WordPress Structure and Best Practices
WordPress Structure and Best PracticesWordPress Structure and Best Practices
WordPress Structure and Best Practices
 
Oop in php_tutorial
Oop in php_tutorialOop in php_tutorial
Oop in php_tutorial
 
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
Selenium & PHPUnit made easy with Steward (Berlin, April 2017)
 
Drupal Front End PHP
Drupal Front End PHPDrupal Front End PHP
Drupal Front End PHP
 
Creating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without SwearingCreating WordPress Theme Faster, Smarter & Without Swearing
Creating WordPress Theme Faster, Smarter & Without Swearing
 
Oops in PHP
Oops in PHPOops in PHP
Oops in PHP
 
Webpack DevTalk
Webpack DevTalkWebpack DevTalk
Webpack DevTalk
 
FLOW3, Extbase & Fluid cook book
FLOW3, Extbase & Fluid cook bookFLOW3, Extbase & Fluid cook book
FLOW3, Extbase & Fluid cook book
 
oop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.comoop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.com
 
oop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.comoop_in_php_tutorial_for_killerphp.com
oop_in_php_tutorial_for_killerphp.com
 
Oop in php_tutorial_for_killerphp.com
Oop in php_tutorial_for_killerphp.comOop in php_tutorial_for_killerphp.com
Oop in php_tutorial_for_killerphp.com
 
Oop in php tutorial
Oop in php tutorialOop in php tutorial
Oop in php tutorial
 
Optaros Surf Code Camp Walkthrough 2
Optaros Surf Code Camp Walkthrough 2Optaros Surf Code Camp Walkthrough 2
Optaros Surf Code Camp Walkthrough 2
 
Webinar - Windows Application Management with Puppet
Webinar - Windows Application Management with PuppetWebinar - Windows Application Management with Puppet
Webinar - Windows Application Management with Puppet
 
Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009Learning PHP for Drupal Theming, DC Chicago 2009
Learning PHP for Drupal Theming, DC Chicago 2009
 
Modern JavaScript Programming
Modern JavaScript Programming Modern JavaScript Programming
Modern JavaScript Programming
 
WordPress Theme Development for Designers
WordPress Theme Development for DesignersWordPress Theme Development for Designers
WordPress Theme Development for Designers
 

Plus de tutorialsruby

&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
tutorialsruby
 
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
tutorialsruby
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
tutorialsruby
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
tutorialsruby
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
tutorialsruby
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0
tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
tutorialsruby
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
tutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
tutorialsruby
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
tutorialsruby
 

Plus de tutorialsruby (20)

&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
 
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
TopStyle Help &amp; &lt;b>Tutorial&lt;/b>
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting &lt;b>...&lt;/b>
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
 
&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />&lt;img src="../i/r_14.png" />
&lt;img src="../i/r_14.png" />
 
Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0Standardization and Knowledge Transfer – INS0
Standardization and Knowledge Transfer – INS0
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
xhtml-documentation
xhtml-documentationxhtml-documentation
xhtml-documentation
 
CSS
CSSCSS
CSS
 
CSS
CSSCSS
CSS
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa0602690047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
BloggingWithStyle_2008
BloggingWithStyle_2008BloggingWithStyle_2008
BloggingWithStyle_2008
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 
cascadingstylesheets
cascadingstylesheetscascadingstylesheets
cascadingstylesheets
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

uploadInstructionsHandout

  • 1. 6/1/09 Follow these steps to upload a finished tutorial onto the alice09 repository webpage   (h9p://www.cs.duke.edu/csed/alice09/). To transfer from the alice09 repository to the teacher  website (h9p://www.cs.duke.edu/csed/alice/aliceInSchools/workshop09/tutorials.php) skip  directly to step 7  Step 1: Create a Folder  1.  Create
a
folder:

Name
it
“nameOfTutorial”
(shorten
the
name
as
needed,
try
to
 Repository/Site
Upload
Instruc5ons
 keep
“tutorial”
at
the
end
though)
 2.  Create
Documents:
Each
tutorial
folder
(*
if
applicable)
should
have
 nameOfTutorial.ppt
(powerpoint
document)
 nameOfTutorial.pdf
(one
slide
per
page)
 nameOfTutorialHandout.pdf
(handout,
4
slides
to
a
page)
 *nameOfTutorialStart.a2w
(star5ng
alice
world)
 *nameOfTutorialFinished.a2w
(finished
alice
world)
 By
Elizabeth
Liang
 *exercises.html
(webpage
to
put
exercises)
 ewl6@duke.edu
 nameOfTutorialScreen.jpg
(screenshot
associated
with
tutorial)
 Duke
University,
May
2009
 tutorial.php
(code
for
the
repository)
 Alice
Project
under
Prof.
Susan
Rodger
 publicTutorial.php
(code
for
the
teacher
website)
 Step 2: Tutorial PHP Code  Step 3: Public PHP Code  1.  For
tutorial.php
create
a
new
document
in
a
html/text
editor
 1.  For
publicTutorial.php
create
a
new
document
in
a
html/text
editor
 2.  Insert
the
following
code,
replacing/dele5ng
informa5on
as
needed:
(parent
 2.  Insert
the
following
code,
replacing/dele5ng
informa5on
as
needed:
(parent
 folder
means
either
ge^ngStartedTutorials
or
advancedTutorials
depending
on
 folder
means
either
ge^ngStartedTutorials
or
advancedTutorials
depending
on
 the
tutorial)
 the
tutorial)
 <p
class="tutorial">

 <p
class="tutorial">

 <img
src="tutorials/parentFolder/nameOfTutorial/nameOfTutorialScreen.jpg"
alt="">
 <img
src=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialScreen.jpg"
alt="">
 <b>Name:</b>
NameOfTutorial<br>
 <b>Name:</b>
NameOfTutorial<br>
 <b>Level:</b>
Beginner/Intermediate/Expert<br>
 <b>Level:</b>
Beginner/Intermediate/Expert<br>
 <b>Time:</b>
Approx.
5me
it
takes
to
do
the
tutorial<br><br>
 <b>Time:</b>
Approx.
5me
it
takes
to
do
the
tutorial<br><br>
 <b>Descrip5on:</b>
Descrip5on
of
tutorial
and
the
concepts
it
covers
(2‐3
sentences).<br><br>
 <b>Descrip5on:</b>
Descrip5on
of
tutorial
and
the
concepts
it
covers
(2‐3
sentences).<br><br>
 <b>Worlds:</b>
 <b>Worlds:</b>
 <a
href=“tutorials/parentFolder/nameOfTutorial/nameOfTutorialStart.a2w”>Start</a>,

 <a
href=“workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialStart.a2w”>Start</a>,

 <a
href=“tutorials/parentFolder/nameOfTutorial/nameOfTutorialFinished.a2w”>Finished</a><br>
 <a
href=“workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialFinished.a2w”>Finished</a><br>
 <b>Links:</b>

 <b>Links:</b>

 <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorial.ppt">Powerpoint</a>,

 <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorial.ppt">Powerpoint</a>,

 <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorial.pdf">Slides
(.pdf)</a>,

 <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorial.pdf">Slides
(.pdf)</a>,

 <a
href="tutorials/parentFolder/nameOfTutorial/nameOfTutorialHandout.pdf">Handout</a>,

 <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/nameOfTutorialHandout.pdf">Handout</a>,

 <a
href="tutorials/parentFolder/nameOfTutorial/exercises.html"
target="_blank">Exercises</a>
 <a
href=”workshop09/tutorials/parentFolder/nameOfTutorial/exercises.html"
target="_blank">Exercises</a>
 </p>
 </p>
 1
  • 2. 6/1/09 Step 4: Exercises Code  Step 5: Uploading  1.  For
exercises.html
create
a
new
document
in
a
html/text
editor
 1.  Connect
to
the
CS
server.
(If
you
do
not
have
a
FTP/SSH
program
download
one
from
 hip://www.oit.duke.edu/comp‐print/sonware/list.html,
go
down
to
“Security,
SSH/ 2.  Insert
the
following
code,
replacing
informa5on
as
needed:
 SFTP
and
firewalls.”
I
use
fileZilla
but
any
of
those
should
work.)
The
server
name
is
 login.cs.duke.edu,
use
your
cs
username
and
password,
the
port
is
22.
 <!DOCTYPE
HTML
PUBLIC
"‐//W3C//DTD
HTML
4.01//EN"
 "hip://www.w3.org/TR/html4/strict.dtd">
 2.  Once
you
have
successfully
connected
it
will
automa5cally
go
to
your
cs
space.
Go
to
 <html>
 the
root
folder
by
clicking
the
folder
with
just
a
“/”
aner
it.
 <head>
 <meta
hip‐equiv="Content‐type"
content="text/html;charset=UTF‐8”>
 3.  Enter
in
the
address
“/usr/project/csed/web/alice09/tutorials/parentFolder”
 <5tle>NameOfTutorial
Exercises</5tle>
 </head>
 4.  Drag
the
nameOfTutorial
folder
from
your
computer
into
that
space.
 <body>
 5.  Open
the
tutorial.php
document
in
the
parentFolder
and
download
it
onto
your
 <h2>NameOfTutorial
Exercises</h2>
 computer
(drag
it
somewhere
where
you
can
find
it).

 <p>
 Text
for
the
exercises
go
here,
just
a
few
sugges5ons
that
can
be
used
as
follow
up/homework.
 6.  Open
it
in
a
html/text
editor
and
where
you
want
to
add
the
tutorial
(for
example
at
 </p>
 the
end
or
aner
a
certain
tutorial
that
is
already
there)
on
the
page
insert
the
 <p>
 following
code,
replacing
informa5on
as
needed.
Reupload
when
done.
 <a
href="hip://cs.duke.edu/~rodger">Susan
Rodger</a>
//
Duke
University
Department
of
Computer
Science
//
 Summer
2009
 </p>
 <?php
 </body>
 </html>
 include
(”nameOfTutorial/tutorial.php");
 ?>
 Step 7: Directory Transfer  Step 6: TesAng and TroubleshooAng  1.  Transfer
the
nameOfTutorial
folder
from
“/usr/project/csed/web/alice09/ 1.  Open
a
web
browser
and
go
to
the
repository
page

 tutorials/parentFolder”
into
“/usr/project/csed/web/alice/aliceInSchools/ (hip://www.cs.duke.edu/csed/alice09/).
Your
tutorial
should
now
be
on
the
 workshop09/tutorials/parentFolder”
 page,
if
a
warning
shows
go
back
and
double
check
your
php
code,
making
sure
 the
syntax
and
spelling
is
correct.
 2.  Update
(download,
change,
reupload)
parentFolder’s
publicTutorial.php
with
the
 following
code
placed
where
you
want
the
tutorial
to
display
(for
example
at
the
 2.  If
the
picture
and
text
do
not
line
up
correctly
(the
picture
aner
it
seems
 end
or
aner
a
certain
tutorial),
replacing
informa5on
as
necessary:
 indented
into
the
page)
go
back
to
the
php
code
and
add
<br><br>
tags
right
 before
the
</p>
tag.
You
will
need
to
change
both
tutorial.php
and
 publicTutorial.php.
Upload
the
modified
documents
into
the
appropriate
folder.
 <?php
 include
(”nameOfTutorial/publicTutorial.php");
 You
do
not
need
to
modify
tutorial.php
in
the
parent
folder
again.
 ?>
 3.  If
something
s5ll
doesn’t
work,
let
Liz
know
and
we’ll
try
to
figure
it
out.

 4.  If
everything
looks
ok,
then
congratula5ons
you’re
done
with
another
tutorial!
 3.  Open
a
web
browser
and
go
to
 Cross
it
off
the
whiteboard
and
update
your
blog.


 hip://www.cs.duke.edu/csed/alice/aliceInSchools/workshop09/tutorials.php
to
 5.  If
you
also
need
to
upload
it
onto
the
teacher
website
(check
with
Professor
 check
that
the
tutorial
displays
properly,
if
it
doesn’t
check
the
spelling
and
 Rodger
first)
then
con5nue
onto
step
7.
 syntax
in
the
php
code
that
you
inserted
earlier.
 2