Changes

Jump to navigation Jump to search
no edit summary
Line 57: Line 57:     
'''For more details and source code of the application shown below, I would like you to take a look at my blog post. [http://bytestorm.in/new-projects/interactive-programmers-shell/ Link]'''
 
'''For more details and source code of the application shown below, I would like you to take a look at my blog post. [http://bytestorm.in/new-projects/interactive-programmers-shell/ Link]'''
 +
 +
'''THE ARCHITECTURE'''
 +
 
  THE NODE.JS SERVER
 
  THE NODE.JS SERVER
 
The main server will be Node.js based and would handle the requests sent from the client application. This server is built using the ExpressJS library and the same is used for handling all the requests. This server can also be started on the client device itself which makes it able to run the application even when it's not connected to internet or school LAN.
 
The main server will be Node.js based and would handle the requests sent from the client application. This server is built using the ExpressJS library and the same is used for handling all the requests. This server can also be started on the client device itself which makes it able to run the application even when it's not connected to internet or school LAN.
  THE USER INTERFACE:
+
 
 +
SETTING UP THE CLIENT(SUGAR)
 +
If we intend to make a standalone installation of the program i.e. no external server dependency then we would need the following packages to be installed.
 +
 
 +
Installable using yum: '''NodeJS'''
 +
 
 +
Only the required environment libraries e.g '''gcc''' for C tutorials, '''JS''' is taken care by NodeJS, '''octave''' for Matlab codes, '''python''' for python dev etc.
 +
 
 +
A new web-activity (right now the default template works). This is the interface the students will be using. The screenshots attached are of the same web activity. About the tutorial part this application will be able load a tutorial file. Each tutorial file will have some levels. Each level needs the student to input a code and gives the explanation about the syntax/use of that code. Student can save a level to continue later on.
 +
 
 +
Tutorial files will be in json/xml format.
 +
 
 +
Further internet access will be required if the student wants to download more tutorials that is not packaged in default installation.
 +
 
 +
  THE USER INTERFACE(AND THE TUTORIAL CREATOR):
    
The user interface would be implemented using HTML5 and JS. The GUI will mainly consists of two main parts namely the tutorial creator and the viewer.
 
The user interface would be implemented using HTML5 and JS. The GUI will mainly consists of two main parts namely the tutorial creator and the viewer.
 +
 +
The tutorial creator is for both teachers and students who have earned some knowledge about JS to help other fellow students. This would not require any further development skill. The teacher/student would have to enter only three things to make tutorial expected input code, expected output code and some explanation/hint/syntax about the input code which would help the student to understand the usage of that command. This application will be packaged with some tutorials during its installation only.
 
  INTERACTIVE TUTORIALS INTERFACE
 
  INTERACTIVE TUTORIALS INTERFACE
  
61

edits

Navigation menu