Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

2024-11_pskov-again.md 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Title: Back to the development of "PSKOV"
  2. Date: 2024-11-14 00:00
  3. Category: News
  4. Slug: pskov-again
  5. Lang: en
  6. ![lha][lha]
  7. # "PSKOV" today
  8. Now, we have an old "PSKOV" version and we need an improved one.
  9. First, we should recall what "PSKOV" consists of:
  10. 1. The [generator][pskov-en] itself in the form of HTML page with JavaScript
  11. 1. Helper [Python script][lfsa-en] to save generated files to disk
  12. Helper script is used to bypass web page restriction to access
  13. local file system.
  14. The script itself is a tiny web server with the following commands:
  15. | № | Command | Details |
  16. |---|---|---|
  17. | 1 | `GET /path` | Get current working directory path |
  18. | 2 | `POST /list` | Get a list of files in the requested directory |
  19. | 3 | `POST /read` | Get file's contents |
  20. | 4 | `POST /write` | Write file's contents |
  21. # "PSKOV" tomorrow
  22. Thus, the simplest way to get back to "PSKOV" development is to rewrite the
  23. helper script. I decided to replace Python with Kotlin because:
  24. 1. Kotlin can be compiled for desktop, mobile, and web
  25. 1. Kotlin is strictly typed
  26. These two factors simplify future work with portable code.
  27. As of now, I have `GET /path` implemented for JVM, macOS, and Windows (image
  28. in the beginning).
  29. # November
  30. I plan to implement the following commands in November:
  31. * `POST /list`
  32. * `POST /read`
  33. [lha]: ../../images/2024_lha-path.gif
  34. [pskov-en]: https://opengamestudio.org/pskov/en/pskov_1.0.0.html
  35. [lfsa-en]: https://opengamestudio.org/lfsa/en/index.html