2021-04-14 14:42:25 +02:00
|
|
|
# Project: Rewrite CSVXML with Rust
|
|
|
|
|
|
|
|
## Step 1: Rewriting classes/CsvxmlAvailableFields.php
|
|
|
|
|
|
|
|
- New class for fieldentries
|
|
|
|
- use tlloader: $eventname[1] -> $tlLoader->tl("eventtype-name", "eventname", "1")
|
|
|
|
- __toArray(){}
|
|
|
|
|
|
|
|
## Step 2: Rewrite Validationprocess in index3.php
|
|
|
|
|
|
|
|
### FFI with Rust
|
|
|
|
|
2021-04-20 12:24:49 +02:00
|
|
|
- https://www.php.net/manual/en/class.ffi.php
|
|
|
|
- https://www.php.net/manual/en/ffi.examples-basic.php
|
|
|
|
- https://platform.sh/blog/2020/php-fun-with-ffi-getting-rust-ic/
|
2021-04-14 14:42:25 +02:00
|
|
|
|
|
|
|
## Step 3: Remove fnam Parameter
|