Using Web Frameworks for Scientific Applications¶
Contents:
- Using Web Frameworks for Scientific Applications
- Web frameworks
- Making a Flask application
- Making a Django application
- Handling multiple input variables in Flask
- Programming the Flask application
- Implementing error checking in the template
- Using style sheets
- Using LaTeX mathematics
- Rearranging the elements in the HTML template
- Bootstrap HTML style
- Custom validation
- Avoiding plot files
- Plotting with the Bokeh library
- Autogenerating the code
- User login and storage of computed results
- Uploading of files
- Handling multiple input variables in Django
- Exercises
- Exercise 1: Add two numbers
- Exercise 2: Upload data file and visualize curves
- Exercise 3: Plot a user-specified formula
- Exercise 4: Visualize Taylor polynomial approximations
- Exercise 5: Extend the
gen
app - Exercise 6: Make a web app with multiple apps
- Exercise 7: Equip the
gen
app with more data types - Exercise 8: Auto-generate code from function signature
- Project 9: Interactive function exploration
- Resources