Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

feat: add mixphp - #6724

Merged
NateBrady23 merged 40 commits into
TechEmpower:masterfrom
mix-php:master
Sep 6, 2021
Merged

NateBrady23 merged 40 commits into
TechEmpower:masterfrom
mix-php:master

Conversation

@onanying

Copy link
Copy Markdown
Contributor

No description provided.

$html .= "<tr><td>{$id}</td><td>{$message}</td></tr>";
}
$ctx->setHeader('Content-Type', 'text/html; charset=utf-8');
$ctx->string(200, '<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want the framework classified as fullstack, please use a template with the mix/view

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@judofyr It has been modified f64e284

@@ -0,0 +1,4 @@
<!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr>
<?php foreach ($rows as $row) : ?>
<tr><td><?= $row['id'] ?></td><td><?= htmlspecialchars($row['message']) ?></td></tr>

@joanhey joanhey Jul 23, 2021 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An ORM map rows to objects, you have classified the ORM as Micro.
But here you are using an array, no objects!!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modify the 4d5d3e4

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@judofyr Pecl install made an error during build Docker. It may be a network problem. Please kindly approve it again

@onanying

onanying commented Aug 4, 2021

Copy link
Copy Markdown
Contributor Author

Can anyone help me approve

@joanhey

joanhey commented Aug 10, 2021 •

Copy link
Copy Markdown
Contributor

@onanying update the dockerfiles to use Ubuntu 21.04.
With 20.10 it isn't working after EOL.

@onanying

Copy link
Copy Markdown
Contributor Author

@joanhey

joanhey commented Aug 22, 2021

Copy link
Copy Markdown
Contributor

@onanying actually exist a bug in Citrine config server, and Ubuntu 21.04 don't work.

Try to change to Ubuntu 20.04

@onanying

onanying commented Aug 23, 2021 •

Copy link
Copy Markdown
Contributor Author

@joanhey

joanhey commented Aug 23, 2021

Copy link
Copy Markdown
Contributor

Remove plaintext and json in one of the 2 versions of workerman.
The performance will be the same using mysql or postgre, for these tests.

@onanying

onanying commented Aug 23, 2021 •

Copy link
Copy Markdown
Contributor Author

Remove plaintext and json in one of the 2 versions of workerman.
The performance will be the same using mysql or postgre, for these tests.

Can remove json_url plaintext_url?

      "workerman-pgsql": {
        "json_url": "/json",
        "plaintext_url": "/plaintext",
        "db_url": "/db",
        "fortune_url": "/fortunes",
        "update_url": "/update?q=",
        "query_url": "/query?q=",
        "port": 2345,
        "approach": "Realistic",
        "classification": "Fullstack",
        "database": "Postgres",
        "framework": "MixPHP",
        "language": "PHP",
        "flavor": "PHP8",
        "orm": "micro",
        "platform": "workerman",
        "webserver": "None",
        "os": "Linux",
        "database_os": "Linux",
        "display_name": "mixphp-workerman-pgsql",
        "notes": "",
        "versus": "workerman"
      }

@onanying

onanying commented Aug 23, 2021 •

Copy link
Copy Markdown
Contributor Author

Remove plaintext and json in one of the 2 versions of workerman.
The performance will be the same using mysql or postgre, for these tests.

@joanhey Modified https://github.com/mix-php/FrameworkBenchmarks/actions/runs/1158074295

@onanying

onanying commented Sep 1, 2021

Copy link
Copy Markdown
Contributor Author

@joanhey All checks have passed

@NateBrady23
NateBrady23 merged commit 690486a into TechEmpower:master Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants