For this exercise, you will start to think about the technologies for your project.
As I said at the start of the course, for the final project, you will use either the Rails or Django framework. These use the Ruby and Python programming languages, respectively.
Give some thought to which one you plan to use for the project. I have relatively little advice on the choice: they are both mature, stable frameworks, designed by developers to solve real problems that real developers have. Both are good at getting things done. [If I was choosing, it would be more of a question of how much I like the underlying programming language than the framework.]
If you would like to choose another framework for the project, email Greg and ask. [I reserve the right to say no, but am willing to disuss it.]
Once you have picked a framework and language, we will use the next few homework exercises to get you started with it.
For this homework, you will work through a tutorial for the programming language your framework uses.
These seem like good tutorials, but if you have others, then that's okay too.
- python.org Python Tutorial (parts 1–9 are probably enough)
- LearnPython.org interactive tutorial
- tutorialspoint.com Ruby tutorial (the “Ruby Basics” on the left of the page)
Please don't just read the tutorials. Try some of the examples and get a feeling for how the language works.
Add something to your repository that convinces us you did the tutorial. Maybe create a
hw7
directory to keep things contained.No need to upload screenshots. Maybe just include any code files, and copy-and-paste parts of your interactive sessions.
Commit and push your work in the repository to the server.
Send an email to zju.webdev@gmail.com with the subject “Homework #7”. Include the path within your repository where we'll find your work. Be sure to include your student number in the body of the email so we find the right repository.