Skip to content

Instantly share code, notes, and snippets.

Christian Lück clue

Block or report user

Report or block clue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@clue
clue / 2018-11-07 introducing-reactphp-soap.md
Last active Sep 11, 2019
Introducing async SOAP requests with ReactPHP
View 2018-11-07 introducing-reactphp-soap.md

Today, I'm happy to announce the v1.0.0 release of clue/reactphp-soap 🎉

Simple, async SOAP web service client library, built on top of ReactPHP.

To answer the first thing you may be wondering: Yes, it is 2018 and indeed, this project has been used in production in a number of projects for a few of years already. So I guess it's about time to write an introductory blog post about this project, how SOAP requests can be used and why I think @ReactPHP's design makes it a perfect fit. Warning, terrible puns ahead.

SOAP shouldn't make you feel dirty

Most notably, SOAP is often used for invoking Remote procedure calls (RPCs) in distributed systems. Internally, SOAP messages are encoded as XML and usually sent via HTTP POST requests. Each SOAP web service may offer any number of RPC functions. These are usually defined in a public [WSDL](https://en

@clue
clue / 2019-08-23 new-domain.md
Last active Sep 10, 2019
Brief note: New domain
View 2019-08-23 new-domain.md

As of today, https://clue.engineering is the new domain for this site. This includes all past and upcoming blog posts, articles, project information, downloads etc.

All links to the legacy domain (lueck.tv) should automatically redirect to the updated location, so all incoming links should continue to function as usual. I've also updated any incoming links from public projects and profiles to point to the correct destination. If you find any broken links, please drop me a line and I'll take a look!

Additionally, I've taken this opportunity to perform some minor layout updates, thanks to some fabulous help and design reviews by @brob. This site will continue to receive some more significant updates in the nearer future, but I figured it makes sense to get the first batch of updates out as soon as possible with the updated domain. Stay tuned for more updates and blog posts to be released soon, cheers! 🥂

Brief note: As of tod

@clue
clue / 2019-08-28 introducing-reactphp-stdio.md
Last active Aug 29, 2019
Introducing event-driven console I/O with ReactPHP
View 2019-08-28 introducing-reactphp-stdio.md

Today, I'm happy to announce the stable v2.3.0 release of clue/reactphp-stdio, the event-driven and UTF-8 aware console input & output (STDIN, STDOUT) library for truly interactive CLI applications, built on top of ReactPHP 🎉

Once again, the version number and its release history suggests this is not exactly a new project. In fact, this has been used in production for some projects for a few years already. So I guess it's about time to write an introductory blog post about this project and why I think @ReactPHP's design makes it a perfect fit.

PHP is not only for the web

Traditionally, PHP is most frequently used to build web pages. Additionally, more and more people are getting accustomed to using PHP to build interactive CLI (command line interface) applications that run from the terminal instead of being accessed from a web browser. This often makes sense for maintenance commands th

@clue
clue / 2018-04-13 getting-started-with-reactphp-workshop-phpyorkshire.md
Last active Aug 24, 2019
Getting started with ReactPHP – Pushing real-time data to the browser (PHPYorkshire)
View 2018-04-13 getting-started-with-reactphp-workshop-phpyorkshire.md

Think about "PHP" for a few seconds… What came to mind? It’s very likely you thought about your average product catalog, a blogging platform or how the platform is inferior to things like Node.js. But wait, it’s 2018! What if I told you PHP’s huge ecosystem has way more to offer and PHP is not inferior at all to its evil cousin Node.js?

Hands-on workshop given at PHPYorkshire (2018-04-13)

Getting started with ReactPHP – Pushing real-time data to the browser

In this hands-on tutorial you will learn about the core concepts of async PHP and why you too should care about ReactPHP being a real thing. The workshop has a strong focus on sparking the idea that PHP can be way faster and more versatile than you probably thought. Bring along an open mind and through lots of interesting examples and live demos learn why what sounds crazy at first might soon be a valuable addition in your toolbox.

You’re already familiar with PHP and want to learn what ReactPHP is all about? Then this tutorial is for you! We will

@clue
clue / 2018-05-25 introducing-reactphp-flux.md
Last active Aug 23, 2019
Introducing concurrent stream processing with ReactPHP and Flux
View 2018-05-25 introducing-reactphp-flux.md

I'm happy to announce the very first stable release of clue/reactphp-flux 🎉

Flux, the lightweight stream processor to concurrently do many (but not too many) things at once, built on top of ReactPHP.

Now that v1.0.0 has been tagged and released today, let's look into why streaming processing is useful, how this compares to keeping many operations in memory and how this can be used to process a large number of operations with @ReactPHP.

Concurrency with ReactPHP

In one of the previous posts, we've looked into doing many (but not too many) things concurrently with ReactPHP. If you're new to the concept of concurrently processing multipe things at once with ReactPHP, go check out that post, I'll wait.

@clue
clue / 2018-08-14 introducing-reactphp-csv.md
Last active Aug 23, 2019
Introducing streaming CSV with ReactPHP
View 2018-08-14 introducing-reactphp-csv.md

I'm happy to announce the very first stable release of clue/reactphp-csv 🎉

Streaming CSV (Comma-Separated Values or Character-Separated Values) parser and encoder for ReactPHP.

Now that v1.0.0 has been tagged and released today, let's look into what CSV is, how it compares to other formats such as NDJSON and how CSV can be used in PHP and @ReactPHP.

CSV format

CSV (Comma-Separated Values or less commonly Character-Separated Values) is a very simple text-based format for storing a large number of (uniform) records, such as a list of user records or log entries.

@clue
clue / 2018-09-21 introducing-reactphp-mysql.md
Last active Aug 23, 2019
Introducing MySQL streaming with ReactPHP
View 2018-09-21 introducing-reactphp-mysql.md

Today, we're very happy to announce the immediate availability of the next major beta release of friends-of-reactphp/mysql, the async MySQL database client for ReactPHP. 🎉

Now that v0.4.0 has been tagged and released today, let's look into why I think this is not only a major milestone for this project, but could also possibly be a game changer in how people use databases with ReactPHP and eventually maybe with PHP in general.

This post aims more for the "why" instead of "what" has changed. If you're upgrading from a previous version of this project, you may want to take a look at the changelog describing all the changes in greater detail. Alright, so let's dive right in.

Promise all the things!

Originally, this project was maintained by Jin Hu who did an excellent job figuring out all the protocol details and building an API that can be cons

@clue
clue / 2018-10-24 introducing-reactphp-buzz.md
Last active Aug 23, 2019
Introducing async HTTP requests with ReactPHP
View 2018-10-24 introducing-reactphp-buzz.md

Today, I'm happy to announce the v2.5.0 release of clue/reactphp-buzz 🎉

Simple, async PSR-7 HTTP client for concurrently processing any number of HTTP requests, built on top of ReactPHP.

As the version number suggests, this is not exactly a new project. In fact, this has been used in production in a larger number of projects for a few years already. So I guess it's about time to write an introductory blog post about this project, why async HTTP requests are such a powerful feature and also a bit about the motivation for this project and why I think @ReactPHP is a perfect fit for sending HTTP requests.

HTTP all the things!

I'm probably not telling you something new when I say the web is built on top of HTTP. This blog post is served over HTTP. Your YouTube videos are served over HTTP. Your downloads are served over HTTP. RESTful backend APIs are served over HTTP. GraphQL APIs are served over HTTP. SOAP APIs are served over HTTP. Yes,

@clue
clue / 2018-10-30 introducing-reactphp-http-proxy.md
Last active Aug 23, 2019
Introducing HTTP CONNECT proxy connector for ReactPHP
View 2018-10-30 introducing-reactphp-http-proxy.md

Today, I'm happy to announce the v1.4.0 release of clue/reactphp-http-proxy 🎉

Async HTTP proxy connector, use any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP.

Once again, the version number and its release history suggests this is not exactly a new project. In fact, this has been used in production in a number of projects for a couple of years already. So I guess it's about time to write an introductory blog post about this project, what HTTP CONNECT proxy servers can be used for and why I think @ReactPHP's design makes it a perfect fit.

HTTP CONNECT

HTTP CONNECT proxy servers (also commonly known as "HTTPS proxy" or "SSL proxy") are commonly used to tunnel HTTPS traffic through an intermediary ("proxy"), to conceal the origin address (anonymity) or to circumvent address blocking (geoblocking). While many (public) HTTP CONNECT proxy

You can’t perform that action at this time.