Introduction to part 1: Input/output processing

https://github.com/heig-vd-dai-course

Web · PDF

L. Delafontaine and H. Louis, with the help of GitHub Copilot.

This work is licensed under the CC BY-SA 4.0 license.

HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

Do you know what happens when you browse the Web? How do you think it works?

HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

What happens when you browse the Web

  1. You request a resource (e.g. a file) from a web server
  2. The web server opens the file
  3. The web server reads the file
  4. The web server sends the file to you
  5. Your web browser receives the file
  6. Your web browser displays the file

The whole process uses input/output (IO) operations!

HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

For network programming, you need to know how to do IOs.

But for this, you will need some tools and some knowledge.

HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

What will you learn?

  • How to use Git, GitHub and Markdown (professionally)
  • How to create a Java project with Maven and external dependencies
  • How to use the Java IO API to read/write files with different formats and encodings
  • How to run your Java application in a Docker container
HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

What will you accomplish?

  • Have a presence on GitHub
  • Use a professional Git workflow
  • Collaborate with your team on GitHub
  • Create a CLI to process files
  • Display your work and skills on GitHub
HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0

Sources

HEIG-VD - DAI Course 2024-2025 - CC BY-SA 4.0