我穿越到了1994年,最后发掘了此刻80%的网站都用PHP的原由
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">昨天<span style="color: black;">夜晚</span>写代码到深夜,一头扎到床上,沉沉睡去。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">次日</span>睁开眼镜,我<span style="color: black;">发掘</span>自己居然坐在一个咖啡馆里,旁边的墙上贴着最新的英文电影海报《阿甘正传》、《肖申克的救赎》</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/3e88b61607f04620934d3e63741a63cd~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728276680&x-signature=a0UYTNIleP5yuDaXuiWMJ1O7LIo%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这都是1994年的经典电影,我<span style="color: black;">认识</span>到,自己穿越到了1994年的美国!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">对面坐着一个帅哥,一边操作电脑,一边在<span style="color: black;">一直</span>地赞叹。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我探过头去,<span style="color: black;">发掘</span>他正在看这个东西:</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/041d57aaebf148539c0ed286a4a93574~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728276680&x-signature=WYkWS3QGpg2F9Ju8r4ysJcxrcK4%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我说:“哥们儿,这不是安德森<span style="color: black;">研发</span>的Mosaic浏览器吗?这么丑,你怎么<span style="color: black;">不消</span>网景?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“网景?那是什么东西?<span style="color: black;">不外</span>兄弟不简单啊,我在咖啡馆喝了这么多天的咖啡,你是<span style="color: black;">第1</span>个识货的,还<span style="color: black;">晓得</span>安德森,肯定<span style="color: black;">亦</span>是个程序员吧,要不<span style="color: black;">一块</span>干吧!”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“干什么啊?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“浏览器绝对是互联网的<span style="color: black;">将来</span>,<span style="color: black;">此刻</span><span style="color: black;">非常多</span><span style="color: black;">机构</span>都在狂热地拥抱它, <span style="color: black;">她们</span>就<span style="color: black;">运用</span> Microsoft Word写文档,<span style="color: black;">而后</span>将文档<span style="color: black;">保留</span>为 HTML,<span style="color: black;">经过</span> FTP 将它们放到网上,<span style="color: black;">这儿</span>边有<span style="color: black;">商场</span>机会啊。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“写个HTML会有什么<span style="color: black;">商场</span>机会?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“静态的网站是和枯燥的,这些<span style="color: black;">机构</span><span style="color: black;">火速</span>就会<span style="color: black;">发掘</span>,<span style="color: black;">能够</span>和用户交互的、动态的网站才有<span style="color: black;">商场</span>价值。我准备专门<span style="color: black;">供给</span><span style="color: black;">这般</span>的咨询服务,为<span style="color: black;">她们</span><span style="color: black;">研发</span><span style="color: black;">各样</span>动态的Web应用程序。对了,忘了自我介绍了,我叫Rasmus Lerdorf。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这个人名怎么这么<span style="color: black;">熟练</span>?</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我想既然穿越而来,那就<span style="color: black;">瞧瞧</span>1994年的动态网站是怎么<span style="color: black;">研发</span>的吧。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我说:“我叫张大胖,<span style="color: black;">重点</span>用Java编程。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“Java?那是什么语言?” 他两眼立刻放光了!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我<span style="color: black;">认识</span>到说漏嘴了,Java<span style="color: black;">此时</span>候还没诞生呢!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“其实叫C++--,一个小众语言。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“和C语言<span style="color: black;">关联</span>,那就好,<span style="color: black;">咱们</span>得用C语言写CGI脚本。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我和他合伙开了个咨询<span style="color: black;">机构</span>,专门接<span style="color: black;">研发</span>动态网站的活儿。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">然则</span><span style="color: black;">研发</span>一<span style="color: black;">起始</span>,我就崩溃了:<span style="color: black;">无</span>前后端分离,<span style="color: black;">无</span>Java,<span style="color: black;">无</span>JSP,ASP, 真的全靠在C语言!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">给<span style="color: black;">大众</span><span style="color: black;">瞧瞧</span>:</span></span></p><span style="color: black;"><span style="color: black;">void</span> <span style="color: black;">main</span><span style="color: black;">(<span style="color: black;">int</span> argc, <span style="color: black;">char</span>*argv[])</span> </span>{
<span style="color: black;">char</span> *params, *data, *dest, *s, *tmp;
<span style="color: black;">char</span> *name, *age;
<span style="color: black;">puts</span>(<span style="color: black;">"Content-type: text/html\r\n"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"<HTML><HEAD><TITLE>Form Example</TITLE></HEAD>"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"<BODY><H1>My Example Form</H1>"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"<FORM action=\"form.cgi\" method=\"GET\">"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"Name: <INPUT type=\"text\" name=\"name\">"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"Age: <INPUT type=\"text\" name=\"age\">"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"<BR><INPUT type=\"submit\">"</span>);
<span style="color: black;">puts</span>(<span style="color: black;">"</FORM>"</span>);
data = getenv(<span style="color: black;">"QUERY_STRING"</span>);
<span style="color: black;">if</span>(data && *data) {
params = data; dest = data;<span style="color: black;">while</span>(*data) {
<span style="color: black;">if</span>(*data==<span style="color: black;">+</span>) *dest=;
<span style="color: black;">else</span> <span style="color: black;">if</span>(*data == <span style="color: black;">%</span> && ishex(*(data+<span style="color: black;">1</span>))&&ishex(*(data+<span style="color: black;">2</span>))) {
*dest = (<span style="color: black;">char</span>) htoi(data + <span style="color: black;">1</span>);
data+=<span style="color: black;">2</span>;
} <span style="color: black;">else</span> *dest = *data;
data++;
dest++;
}
*dest = <span style="color: black;">\0</span>;
s = strtok(params,<span style="color: black;">"&"</span>);
<span style="color: black;">do</span> {
tmp = <span style="color: black;">strchr</span>(s,<span style="color: black;">=</span>);
<span style="color: black;">if</span>(tmp) {
*tmp =<span style="color: black;">\0</span>;
<span style="color: black;">if</span>(!<span style="color: black;">strcmp</span>(s,<span style="color: black;">"name"</span>)) name = tmp+<span style="color: black;">1</span>;
<span style="color: black;">else</span> <span style="color: black;">if</span>(!<span style="color: black;">strcmp</span>(s,<span style="color: black;">"age"</span>)) age = tmp+<span style="color: black;">1</span>;
}
} <span style="color: black;">while</span>(s=strtok(<span style="color: black;">NULL</span>,<span style="color: black;">"&"</span>));
<span style="color: black;">printf</span>(<span style="color: black;">"Hi %s, you are %s years old\n"</span>,name,age);
}
<span style="color: black;">puts</span>(<span style="color: black;">"</BODY></HTML>"</span>);
}<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">用一句话<span style="color: black;">来讲</span>那<span style="color: black;">便是</span>:</span><span style="color: black;">在C语言<span style="color: black;">其中</span>输出HTML代码。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这是人干的活吗?我都快写吐了!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus:“没办法啊,C语言编写CGI脚本,实现动态网页,可不就得<span style="color: black;">这般</span><span style="color: black;">吗</span>?对了,你会用Perl吗?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“<span style="color: black;">便是</span>那个写出来以后代码谁都不认识的语言?我不想用!”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">时间长了,Rasmus <span style="color: black;">亦</span>受不了了:“这些CGI 脚本无外乎<span style="color: black;">便是</span>处理表单, Post数据,过滤等,重复代码太多了,怎么样<span style="color: black;">才可</span>提<span style="color: black;">有效</span>率呢?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">他有空就琢磨这件事情,有一天,他想到了一招,把这些常用的功能都包装到一个C语言库中,它“<span style="color: black;">移植</span>”NCSA Web 服务器中(这是Apache之前最流行的服务器),<span style="color: black;">而后</span>在上面添加了一个模板系统,<span style="color: black;">能够</span><span style="color: black;">容易</span>地调用<span style="color: black;">她们</span>。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">于是代码<span style="color: black;">便是</span>变成这个样子:</span></span></p><span style="color: black;"><<span style="color: black;">html</span>></span><span style="color: black;"><<span style="color: black;">head</span>></span><span style="color: black;"><<span style="color: black;">title</span>></span>Form Example<span style="color: black;"></<span style="color: black;">title</span>></span><span style="color: black;"></<span style="color: black;">head</span>></span>
<span style="color: black;"><<span style="color: black;">body</span>></span><span style="color: black;"><<span style="color: black;">h1</span>></span>My Example Form<span style="color: black;"></<span style="color: black;">h1</span>></span>
<span style="color: black;"><<span style="color: black;">form</span> <span style="color: black;">action</span>=<span style="color: black;">"form.phtml"</span> <span style="color: black;">method</span>=<span style="color: black;">"POST"</span>></span>
Name: <span style="color: black;"><<span style="color: black;">input</span> <span style="color: black;">type</span>=<span style="color: black;">"text"</span> <span style="color: black;">name</span>=<span style="color: black;">"name"</span>></span>
Age: <span style="color: black;"><<span style="color: black;">input</span> <span style="color: black;">type</span>=<span style="color: black;">"text"</span> <span style="color: black;">name</span>=<span style="color: black;">"age"</span>></span>
<span style="color: black;"><<span style="color: black;">br</span>></span><span style="color: black;"><<span style="color: black;">input</span> <span style="color: black;">type</span>=<span style="color: black;">"submit"</span>></span>
<span style="color: black;"></<span style="color: black;">form</span>></span>
<span style="color: black;"><span style="color: black;"><?</span><span style="color: black;">if</span>($name):<span style="color: black;">?></span></span>
Hi <span style="color: black;"><span style="color: black;"><?</span><span style="color: black;">echo</span> $name<span style="color: black;">?></span></span>, you are<span style="color: black;"><span style="color: black;"><?</span><span style="color: black;">echo</span> $age<span style="color: black;">?></span></span> years old
<span style="color: black;"><span style="color: black;"><?</span><span style="color: black;">endif</span><span style="color: black;">?></span></span>
<span style="color: black;"></<span style="color: black;">body</span>></span><span style="color: black;"></<span style="color: black;">html</span>></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">换句话说:</span><span style="color: black;"><span style="color: black;">便是</span>在HTML中“混入”代码。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">和CGI对比,这种方式对程序员<span style="color: black;">来讲</span>非常友好,<span style="color: black;">咱们</span>的工作效率一下子<span style="color: black;">加强</span>了<span style="color: black;">非常多</span>。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">说实话,我早就<span style="color: black;">晓得</span>这种方式,<span style="color: black;">便是</span>ASP,JSP<span style="color: black;">吗</span>,<span style="color: black;">然则</span>自己没那技术实力,实现不了啊!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus <span style="color: black;">火速</span>就找到了一个新客户,用新工具为<span style="color: black;">她们</span><span style="color: black;">研发</span>Web程序,连接到数据库,满足<span style="color: black;">她们</span><span style="color: black;">各样</span>各样的<span style="color: black;">需要</span>。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">随着客户的<span style="color: black;">增加</span>, 客户的<span style="color: black;">需要</span><span style="color: black;">亦</span>略有<span style="color: black;">区别</span>,于是,Rasmus 就<span style="color: black;">持续</span>地扩展它的工具箱, 从简单的解析器慢慢发展为<span style="color: black;">包括</span><span style="color: black;">要求</span>标签,<span style="color: black;">而后</span>是循环标签、函数等<span style="color: black;">各样</span><span style="color: black;">繁杂</span>的东西,这<span style="color: black;">已然</span>是一门语言了。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus 把它们<span style="color: black;">叫作</span>为</span><span style="color: black;">Personal Home Page</span><span style="color: black;">,简<span style="color: black;">叫作</span>PHP。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我这才<span style="color: black;">认识</span>到,原来遇到了PHP之父!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">火速</span>就有其他程序员找上门来, 问<span style="color: black;">咱们</span>:Rasmus, 你们怎么<span style="color: black;">研发</span>得这么快!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus说:我有个人工具箱啊!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“那我能<span style="color: black;">不可</span>用?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus说:“<span style="color: black;">能够</span>啊,工具只是我的锤子,<span style="color: black;">每一个</span>人都<span style="color: black;">能够</span>用我的锤子。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我赶忙阻止他:“Rasmus, 你把锤子给别人, 那咱们靠什么<span style="color: black;">挣钱</span>?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“我不靠锤子<span style="color: black;">挣钱</span>,我卖的是<span style="color: black;">处理</span>问题的服务。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我心想他真是傻瓜,<span style="color: black;">为何</span>不靠卖他的工具来<span style="color: black;">挣钱</span>呢?学学Bill Gates,过几年上市!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">让我没想到的是,神奇的事情<span style="color: black;">出现</span>了。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">运用</span>PHP的人<span style="color: black;">起始</span>给Rasmus发送补丁了 ——<span style="color: black;">她们</span><span style="color: black;">发掘</span>了Rasmus都没有<span style="color: black;">发掘</span>的Bug!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">于是Rasmus到客户那里说:我又升级了一个新版本,改了这个,改了那个。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">客户非常满意,<span style="color: black;">她们</span>认为<span style="color: black;">咱们</span>的工作效率非常高,<span style="color: black;">不仅</span>能快速完成功能,还能快速修复Bug。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">我<span style="color: black;">忽然</span><span style="color: black;">认识</span>到:</span><span style="color: black;">这不<span style="color: black;">便是</span>开源吗?</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">当然,这是1994、1995年,开源这个词还<span style="color: black;">无</span><span style="color: black;">显现</span>,当时<span style="color: black;">仅有</span>RMS提倡的自由软件。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">随着越来越多的人提交补丁,PHP<span style="color: black;">逐步</span>完善,1995年,Rasmus看到<span style="color: black;">机会</span>成熟,正式宣布了 PHP 1.0的诞生。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/712a927be4d24ab9b98dc6b5d15744b7~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728276680&x-signature=2oMPs51ohLIpV6mXDovX%2FSYlcBI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">原来PHP<span style="color: black;">便是</span>这么起步的啊!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rasmus展示出了一个领袖的大度和风范,他放弃了对PHP的独家<span style="color: black;">掌控</span>权。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">经过</span>把项目的所有权分给其他人,<span style="color: black;">这般</span><span style="color: black;">大众</span>都<span style="color: black;">能够</span>投入,PHP<span style="color: black;">成为了</span><span style="color: black;">大众</span>的项目,而不是Rasmus一个人的项目。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">当时,PHP源码放在CVS中,我想让Rasmus把PHP源码放到GitHub, 可是那个时候连Git都<span style="color: black;">无</span>,哪而来的Hub?</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">在<span style="color: black;">这儿</span><span style="color: black;">无</span>管理,<span style="color: black;">大众</span>是自我组织的小群体,<span style="color: black;">能够</span>围绕自己感兴趣的东西,自我组织。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">任人唯贤, 代码说话。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这真正地改变了PHP的本质。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">有一个周末,我又和Rasmus来咖啡馆喝咖啡,我说:“我觉得你得给PHP添加<span style="color: black;">有些</span>高级的特性了!”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“<span style="color: black;">例如</span>泛型,注解,面向函数编程,Lambda之类。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“不不,我<span style="color: black;">期盼</span> </span><span style="color: black;">把进入PHP的门槛<span style="color: black;">掌控</span>在很低的水平,无论是<span style="color: black;">运用</span>它还是向他做贡献</span><span style="color: black;">。任何想<span style="color: black;">处理</span>Web问题的人<span style="color: black;">一般</span>会<span style="color: black;">经过</span>PHP找到非常直接的<span style="color: black;">处理</span><span style="color: black;">方法</span>,许多声<span style="color: black;">叫作</span><span style="color: black;">能够</span><span style="color: black;">处理</span> Web 问题的替代<span style="color: black;">方法</span>太<span style="color: black;">繁杂</span>了,想想看,你需要在周五之前完成工作,<span style="color: black;">然则</span>得翻阅800页的手册,这让人崩溃。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“你有<span style="color: black;">无</span>想过,将来PHP会统治Web?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“哈哈, 有这种可能吗?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">当年的Rasmus并不<span style="color: black;">晓得</span>,PHP将在互联网大潮中野蛮生长,和Linux, MySQL , Apache联姻, <span style="color: black;">持续</span>攻城略地。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">W3Tech的统计<span style="color: black;">表示</span>,PHP统治了Web, 接近80%的网站在<span style="color: black;">运用</span>PHP!</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/5d47e57d91e64ffd9880e62623d87fe2~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728276680&x-signature=hj5UausmqKMgXW2ttd0FHPq7rd0%3D" style="width: 50%; margin-bottom: 20px;"></div>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/bc5d8ef9e69147379901357a70ef88f5~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1728276680&x-signature=90PesLnNtnBYliunx4ydyu1Chug%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“<span style="color: black;">倘若</span>让你总结一下,<span style="color: black;">怎样</span><span style="color: black;">才可</span>创建一个成功的开源项目,你会怎么说?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">聊到这个<span style="color: black;">专题</span>,Rasmus<span style="color: black;">忽然</span>就滔滔<span style="color: black;">不停</span>起来,<span style="color: black;">由于</span>他从0到1发展起一个项目,简直太有发言权了!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“</span><span style="color: black;"><span style="color: black;">倘若</span>你<span style="color: black;">仅有</span>一个很酷的想法, <span style="color: black;">无</span>人会加入你的项目,<span style="color: black;">每一个</span>人都有很酷的想法。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">倘若</span>你创建的东西是半生不熟的,<span style="color: black;">那样</span>人们可能对你做的事情不屑一顾,<span style="color: black;">她们</span>会用自己的方式来<span style="color: black;">处理</span>问题。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">仅有</span>你构建了足够有用的东西,<span style="color: black;">大众</span>才会来到你的身边,<span style="color: black;">她们</span>会<span style="color: black;">更易</span>接受你的代码,<span style="color: black;">而后</span>稍微扩展来<span style="color: black;">处理</span><span style="color: black;">她们</span>自己的问题,<span style="color: black;">这般</span>雪球<span style="color: black;">才可</span>滚动起来。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">因此</span>,要<span style="color: black;">起始</span>一个开源项目,你必须<span style="color: black;">处理</span>一个<span style="color: black;">困惑</span>你一段时间的问题,这可能会花费数月的时间<span style="color: black;">才可</span>找到真正的问题并<span style="color: black;">处理</span>掉,<span style="color: black;">而后</span>你必须接受<span style="color: black;">初期</span>采用这的<span style="color: black;">意见</span>,尽最大<span style="color: black;">奋斗</span>让工具对更广泛的受众有用。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">最后<span style="color: black;">能够</span><span style="color: black;">思虑</span>放弃<span style="color: black;">掌控</span>权,让其他人和你<span style="color: black;">一块</span><span style="color: black;">奋斗</span>,当人们用你的代码做<span style="color: black;">她们</span>任何想做的事情的时候,你的开源项目就成功了!</span><span style="color: black;">”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“太棒了,我<span style="color: black;">期盼</span>我的读者们都能看到这段话。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“你的读者?”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">“是的,码农翻身头条号,我<span style="color: black;">不可</span>说太多了,天机不可泄露,我得走了。”</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">说完,我就消失了。</span></span></p>
感谢你的精彩评论,带给我新的思考角度。 楼主听话,多发外链好处多,快到碗里来!外链论坛 http://www.fok120.com/
页:
[1]