Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 772 Bytes

kornel-lesinski.md

File metadata and controls

12 lines (9 loc) · 772 Bytes
Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an anchor at line 1 column 8
---
title: &lt;?php $babel = json_encode(['presets' => ['php']]); ?>
duration: PT30M
speaker: Kornel Lesiński
contact: [email protected]
---

If you prefer coding in PHP, but you're jelous of JavaScript's elaborate build process tooling, then I've got something for you! Now, with just one line of config (and 30,000-line JavaScript compiler toolkit), you can write your front-end applications in PHP. Run run and debug PHP code in the browser or in Node.js.

I can't explain why, but I can explain how I've built babel-preset-php that transpiles PHP synatx to JavaScript. What are the difficulties in writing compilers. Quirks of PHP and JS syntax. What font is used in the PHP logo.

JS