-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex_.html
executable file
·335 lines (329 loc) · 13.7 KB
/
index_.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<!DOCTYPE HTML>
<html>
<head>
<!--[if lt IE 7]>
<script type="text/javascript">location.replace('/ie6/ie6.html');</script><noscript><meta http-equiv="refresh" content="0; url=/ie6/ie6.html"></noscript>
<![endif]-->
<meta charset="utf-8">
<meta name="keywords" content="phpDaemon, daemon.io, async, I/O, daemon, php" />
<meta name="description" content="Asynchronous server-side framework for Web and network applications implemented in PHP using libevent, phpDaemon can handle thousands of simultaneous connections" />
<title>phpDaemon</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<link rel="icon" href="/favicon.png" type="image/png" />
<!--[if lte IE 9]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link type="text/css" rel="stylesheet" href="/css/ie.css">
<![endif]-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<link type="text/css" rel="stylesheet" href="/css/ie8.css">
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40317559-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div id="template">
<header>
<div class="center">
<a href="/" id="logo" title="phpDaemon">phpDaemon</a>
<a href="/download.html" id="download" title="Download">DOWNLOAD</a>
<menu>
<li><span><a href="/examples.html" title="Examples">Examples</a></span></li>
<li><span><a href="/faq.html" title="FAQ">FAQ</a></span></li>
<li><span><a href="https://github.com/kakserpom/phpdaemon/wiki" title="Wiki" target="_blank">Wiki</a></span></li>
<li><span><a href="https://github.com/kakserpom/phpdaemon/issues" title="Tracker" target="_blank">Tracker</a></span></li>
<li><span><a href="/team.html" title="Team">Team</a></span></li>
<li><span><a href="/contribute.html" title="Contribute">Contribute</a></span></li>
<li><span><a href="/publications.html" title="Publications">Publications</a></span></li>
</menu>
</div>
</header>
<aside class="main_top">
<div class="saw"></div>
<div class="elephant">
<a href="/" title="phpDaemon">phpDaemon</a>
</div>
<div class="center">
<div class="caption">
<h1 class="main_caption">Unleash the Daemon</h1><span></span>
<p>
Asynchronous server-side framework for Web and network applications implemented in PHP using libevent. phpDaemon can handle thousands of simultaneous connections
</p>
</div>
</div>
</aside>
<div id="main" class="clearfix">
<section>
<div class="section">
<div class="center">
<a name="mainfeatures" href="#mainfeatures" class="headinglink"><h2>Main features</h2></a>
<ul class="columns clearfix">
<li>
<div class="img_perform"></div>
<div class="list">
<h4>High performance</h4>
<ul>
<li>
Cheap context switches,<br>
high concurrency
</li>
<li>
Low memory consumption<br>
for each connection/request
</li>
<li>
EIO support (asynchronous file<br>
system I/O)
</li>
</ul>
</div>
</li>
<li>
<div class="img_flex"></div>
<div class="list">
<h4>Flexibility</h4>
<ul>
<li>
Built-in SSL/TLS support (client/server)
</li>
<li>
TCP/UDP transparent support (client/server)
</li>
<li>
Extensible nature
</li>
<li>
Well configurable
</li>
<li>
Feature-rich
</li>
</ul>
</div>
</li>
<li>
<div class="img_feature"></div>
<div class="list">
<h4>Core features</h4>
<ul>
<li>
Dynamic Multi-Process Manager
</li>
<li>
Chroot, nice, jail for worker processes
</li>
<li>
Automatic graceful reloading user's<br>
scripts when it's updated
</li>
<li>
Graceful worker shutdown (and<br>
re-spawn if necessary) by the following<br>
limits: memory, query counter, idle time
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
</section>
<section class="odd">
<div class="supportandcomm section">
<div class="center support clearfix">
<div class="twit_box">
<a class="twitter-timeline" href="https://twitter.com/daemon_io" data-widget-id="322745574602440704">@daemon_io</a>
<script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<a name="support" href="#support" class="headinglink"><h2 class="gray">Support and Community</h2></a>
<ul>
<li>
<span class="support_title">GitHub repository</span> <a href="https://github.com/kakserpom/phpdaemon" target="_blank" title="Go to GitHub">kakserpom/phpdaemon</a>
</li>
<li>
<span class="support_title">Mailing list</span> <a href="mailto:[email protected]">[email protected]</a> (<a href="http://groups.google.com/group/phpdaemon" target="_blank" title="View on Google Groups">view on Google</a>)
</li>
<li>
<span class="support_title">Twitter</span> <a href="https://twitter.com/daemon_io" target="_blank">daemon_io</a> (use @<a href="https://twitter.com/daemon_io" target="_blank">daemon_io</a> to tweet us)
</li>
<!--<li>
IRC: irc.freenode.org #phpdaemon
</li>-->
<li>
<span class="support_title">Maintainer</span> <a href="mailto:[email protected]" title="Mail to admin">[email protected]</a>
</li>
</ul>
<img class="lightbulb" src="/img/bulb.png" height="118" width="110" alt="" />
</div>
</div>
</section>
<section>
<div class="section">
<div class="center">
<a name="outofbox" href="#outofbox" class="headinglink"><h2>Out of the Box</h2></a>
<ul class="columns clearfix">
<li>
<div class="img_map"></div>
<div class="list">
<h4>Network servers</h4>
<ul>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/HTTPServer.php" target="_blank">HTTP</a><br>
<small>supports multipart, uploads, etc</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/WebSocketServer.php" target="_blank">WebSocket</a><br>
<small>supports latest protocol specification</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/FastCGIServer.php" target="_blank">FastCGI</a><br>
<small>supports X-Sendfile and Request-body-file</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/FlashPolicyServer.php" target="_blank">FlashPolicy</a><br>
<small>policy at port 843</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/IRCBouncer.php" target="_blank">IRCBouncer</a><br>
<small>simple extensible IRC bouncer</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/SocksServer.php" target="_blank">Socks server</a><br>
<small>high-performance Socks server</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/LockServer.php" target="_blank">Lock</a><br>
<small>simple lock server</small>
</li>
</ul>
</div>
</li>
<li>
<div class="img_net"></div>
<div class="list">
<h4>Network clients</h4>
<ul>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/MySQLClient.php" target="_blank">MySQL</a><br>
<small>robust, zero-copy client. Supports only latest protocol</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/PostgreSQLCLient.php" target="_blank">PostgreSQL</a><br>
<small>robust, zero-copy client</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/MongoClientAsync.php" target="_blank">MongoDB</a><br>
<small>reature-rich, with support of async. tailable cursors</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/MemcacheClient.php" target="_blank">Memcache</a><br>
<small>supports only text protocol yet</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/HTTPClient.php" target="_blank">HTTP</a><br>
<small>supports GET and POST queries</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/DNSClient.php" target="_blank">DNS</a><br>
<small>tiny DNS client</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/ICMPClient.php" target="_blank">ICMP</a><br>
<small>you can send ICMP echo-requests from your app</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/XMPPClient.php" target="_blank">XMPP</a> (jabber)<br>
<small>useful for building Jabber bots</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/IRCClient.php" target="_blank">IRC client</a><br>
<small>useful for building IRC bots</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/AsteriskCLient.php" target="_blank">Asterisk (PBX)</a><br>
<small>extensible PBX client</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/lib/RedisClient.php" target="_blank">Redis</a><br>
<small>supports all commands (incl. Pub/Sub)</small>
</li>
</ul>
</div>
</li>
<li>
<div class="img_app"></div>
<div class="list">
<h4>Web applications</h4>
<ul>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/app-web/ServerStatus.php" target="_blank">ServerStatus</a><br>
<small>shows uptime and some other information</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/app-web/WebSocketOverCOMET.php" target="_blank">WebSocketOverCOMET</a><br>
<small>allows to use WebSocketConnection in Javascript (COMET, long-polling)</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/app-web/FileReader.php" target="_blank">FileReader</a><br>
<small>allows to share static files</small>
</li>
<li>
<a href="https://github.com/kakserpom/phpdaemon/blob/master/app-web/CGI.php" target="_blank">CGI</a><br>
<small>allows to serve CGI scripts</small>
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
</section>
</div>
</div>
<footer>
<div class="center">
<a href="http://validator.w3.org/check?uri=http%3A%2F%2Fdaemon.io%2F" title="W3C HTML 5" target="_blank" class="w3chtml5"><img src="/img/w3chtml5.png" alt="W3C HTML 5" width="88" height="31"></a>
The project is alive and grows fast. Reported bugs will be corrected, suggestions will be incorporated
</div>
</footer>
<div class="scrollup"></div><div class="scrolldown"></div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/jquery.pjax.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript">
$(function() {
$('#template').pjax('a');
$(document).on('pjax:send', function() {
alert('send');
$('#loading').show();
});
$(document).on('pjax:complete', function() {
alert('completed');
$('#loading').hide();
})
});
</script>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_floating_style addthis_16x16_style" style="top:50px;background:none;opacity:0.70">
<a class="addthis_button_twitter" addthis:title="#Asynchronous server-side framework for Web and network applications implemented in #PHP using libevent, check out" addthis:url="http://daemon.io/"></a>
<a class="addthis_button_reddit"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_digg"></a>
<a class="addthis_button_compact"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#domready=1"></script>
<!-- AddThis Button END -->
<a href="https://github.com/kakserpom/phpdaemon" class="forkButton" target="_blank"><img src="/img/forkme.png" height="149" width="149" alt="Fork me on GitHub"></a>
</body>
</html>