information to the user. A template is a text document, or a normal Python string, that is marked-up using the Django template language. A template can contain block tags or variables. A block tag is a symbol within a template that can output content, serve as a control statement or content from a database or enable structure (an “if” “for” loop), grab access to other template tags. Data Flow The flow of data in Django goes as follows: for a URL. ●Visitor’s browser requests the request against its urls.py files. ●Django matches a match is found, Django moves on to the view with the ●If that’s associated URL. Views are generally found inside each application in the views.py file. view generally handles all the database manipulation. It grabs data from the ●The the database using the classes in the models. model layer provides an abstraction for executing queries through Django ●The framework. the data is received from the models, the view constructs the response ●After object and passes it to the template. template (specified in the view) then displays that data. ●The Data Collection The data used in this project was the logged data captured by the OpenDSA research team. Using a working copy of the OpenDSA e-Book, they were able to use it in the DSA course of the Fall 2012 semester as a trial run. In the interaction with students’ the e-Book, many processes and states were captured. Using this data, our project created visualizations for the different people of interest. Each view uses different or different subsets of the data. Below is only a part of the database schema. Student Activity
information to the user. A template is a text document, or a normal Python string, that is marked-up using the Django template language. A template can contain block tags or variables. A block tag is a symbol within a template that can output content, serve as a control structure (an “if” statement or “for” loop), grab content from a database or enable access to other template tags. Data Flow The flow of data in Django goes as follows: ●Visitor’s browser requests for a URL. ●Django matches the request against its urls.py files. ●If a match is found, Django moves on to the view that’s associated with the URL. Views are generally found inside each application in the views.py file. ●The view generally handles all the database manipulation. It grabs data from the the database using the classes in the models. ●The model layer provides an abstraction for executing queries through Django framework. ●After the data is received from the models, the view constructs the response object and passes it to the template. ●The template (specified in the view) then displays that data. Data Collection The data used in this project was the logged data captured by the OpenDSA research team. Using a working copy of the OpenDSA e-Book, they were able to use it in the DSA course of the Fall 2012 semester as a trial run. In the students’ interaction with the e-Book, many processes and states were captured. Using this data, our project created visualizations for the different people of interest. Each view uses different or different subsets of the data. Below is only a part of the database schema. Student Activity
ProjOpenDSA%20Final%20Report.docx