Graduate School of Computer and Information Sciences

Back to List

COT500K1(計算基盤 / Computing technologies 500)
Object Oriented Web Programming
オブジェクト指向Web設計

Ikuo KOBAYASHI

Class code etc
Faculty/Graduate school Graduate School of Computer and Information Sciences
Attached documents
Year 2022
Class code TZ036
Previous Class code
Previous Class title
Term 春学期授業/Spring
Day/Period 月3/Mon.3
Class Type
Campus 小金井
Classroom name 各学部・研究科等の時間割等で確認
Grade
Credit(s) 2
Notes
Class taught by instructors with practical experience
Category

Show all

Hide All

Outline and objectives

This course aims to introduce the perspective of the so-called web application and to acquire the basic knowledge about the languages for expressing the web system, Python, HTML, CSS, SQL, YAML, and Javascripts. The primary intention is to read the programs and understand the behavior of the system. The secondary intention is to design a simple application system that runs on Django framework.

Goal

By understand web system design using Python/Django, when a student watches a web page, our goal is that he/she can imagine how to create the similar web system.

Which item of the diploma policy will be obtained by taking this class?

Among diploma policies, "DP1" and "DP2" are related.

Default language used in class

英語 / English

Method(s)(学期の途中で変更になる場合には、別途提示します。 /If the Method(s) is changed, we will announce the details of any changes. )

This subject is practical training. First experience variety of Python / Django installation and learn the behavior of the system by week 6.
Then after week 7, the students' original design of the web system will be assigned, and required to have a brief presentation in the class. Trouble shootings, discussion and/or comments will be held on the presentation.

Active learning in class (Group discussion, Debate.etc.)

あり / Yes

Fieldwork in class

なし / No

Schedule

授業形態/methods of teaching:対面/face to face

※各回の授業形態は予定です。教員の指示に従ってください。

Week 1[対面/face to face]:Introduction of Python / Django Environment

Install Python/Django environment. Understand Django operations and commands.

Week 2[対面/face to face]:Model, View and Templates (MVC Architecture)

Read the simple Django application, and understand the directory structure. Read routing file(urls.py) to understand the process of handling web request.

Week 3[対面/face to face]:Python IDE and Git
Django admin and Access Control

Getting accustomed to IDE, and start using git version management. Understand what Django admin user can do.

Week 4[対面/face to face]:Model, Filter, Form and Validator

Define database schema, and generate initial records of database. Use filters to extract target data from database. Control input fields using the form.

Week 5[対面/face to face]:Django Template Language

Using Django template language to arrange the HTML layouts. Learn how to hand some variables from view controller to templates.

Week 6[対面/face to face]:HTML, DOM, CSS and Javascripts

Arrange HTML page layout and styles on the client side using DOM.

Week 7[対面/face to face]:Various Django Views and settings

Introduce several Django View superclasses. Override some default core methods to customize the operations.

Week 8[対面/face to face]:Design of Database Application

Design a simple business application. Here we design Web Shopping application.

Week 9[対面/face to face]:Development of Database Application

Based on the design, write program codes for the sample business DB application.

Week 10[対面/face to face]:WSGI and ASGI

Introduce ASGI technology.
Try and experience dynamical web site update using ASGI.

Week 11[対面/face to face]:Camera Image Distribution application

Try and experience Camera Image Distribution application using ASGI.

Week 12[対面/face to face]:Design Practice of own Web Application

Each student plan and design own Web Application. Review the plan and discuss on the plan.

Week 13[対面/face to face]:Development Practice of own Web Application

Each students starts writing codes, and explains the detailed plan of development. Discuss on the system elements those are necessary for its plan.

Week 14[対面/face to face]:Presentation

Demonstrate your web system to class.

Work to be done outside of class (preparation, etc.)

The first step is to operate and trace the sample programs as instructed, and literally create a replica. Next, the second step is to appeal your originality.
Now, the third step is to build what somebody wants. In order to achieve the third step, you need to have as many knowledge as possible. You are encouraged to imagine how to create the web system each time when you visit a website. Standard study time outside of class for preparation and review: 4 hours.

Textbooks

There are lecture materials on the course web site of Hosei University course management system.

References

A variety of web pages on Python/Django programming are provided by many programmers.These practical pages are useful as learning materials, also.

Grading criteria

Students are expected to make several presentations on the topics given during the lectures. Discussion on topics will be held in the class. At least two presentations and the voluntary participation in discussion are required(20% each). Also the evaluation of the final presentation of your own web application will be added(60%).

Changes following student comments

The reports on web application design was very easy for graduate students. Therefore, the grade evaluation criteria of the course focuses on the discussion and presentation about computer topics and design.

Equipment student needs to prepare

Your own personal computer should be the main course computer system.