17 lines
493 B
Markdown
17 lines
493 B
Markdown
# 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
|
|
|
|
- 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/
|
|
|
|
## Step 3: Remove fnam Parameter |